签到成功

知道了

CNDBA社区CNDBA社区

Oracle 12c R2 图形化升级时提示No databases detected

2017-08-25 23:41 2356 0 原创 Oracle 12c 故障处理
作者: leo
图像化12.1 升级12.2 时,页面提示No databases detected 如下图:

解决方法:
在/etc/oratab 文件中添加标红色的部分
[oracle@dg2 ~]$ cat /etc/oratab 
#


# This file is used by ORACLE utilities.  It is created by root.sh
# and updated by either Database Configuration Assistant while creating
# a database or ASM Configuration Assistant while creating ASM instance.

# A colon, ':', is used as the field terminator.  A new line terminates
# the entry.  Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
#   $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively.  The third field indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
cndba:/u01/app/oracle/product/12.2.0/db_1:N
再次执行可以看到source database 如下图:

http://www.cndba.cn/leo1990/article/2174
http://www.cndba.cn/leo1990/article/2174
http://www.cndba.cn/leo1990/article/2174
http://www.cndba.cn/leo1990/article/2174
http://www.cndba.cn/leo1990/article/2174 http://www.cndba.cn/leo1990/article/2174 http://www.cndba.cn/leo1990/article/2174 http://www.cndba.cn/leo1990/article/2174 http://www.cndba.cn/leo1990/article/2174
http://www.cndba.cn/leo1990/article/2174

版权声明:本文为博主原创文章,未经博主允许不得转载。

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
leo

leo

关注

坚持你的坚持

  • 202
    原创
  • 0
    翻译
  • 39
    转载
  • 16
    评论
  • 访问:766559次
  • 积分:1270
  • 等级:核心会员
  • 排名:第8名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ