加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

dbca时遇到file etc oratab is not accessible

发布时间:2020-12-12 15:17:44 所属栏目:百科 来源:网络整理
导读:原因是安装 oracle 的时候,忘记去执行 一个root.sh文件了,当然了,需要用root用户执行: 解决办法: [root@localhost 10.2.0]#cd /oracle/product/10.2.0/db_1 [root@localhost 10.2.0]# ./root.sh The following environment variables are set as: ORACL

原因是安装oracle的时候,忘记去执行 一个root.sh文件了,当然了,需要用root用户执行:
解决办法:
[root@localhost 10.2.0]#cd /oracle/product/10.2.0/db_1

[root@localhost 10.2.0]# ./root.sh

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /opt/oracle/product/10g

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /oracle/product/10.2.0/db_1/bin


./root.sh: line 155: [: too many arguments
./root.sh: line 175: [: too many arguments
Copying dbhome to Copying dbhome to /oracle/product/10.2.0/db_1/bin ...
./root.sh: line 175: [: too many arguments
Copying oraenv to Copying dbhome to /oracle/product/10.2.0/db_1/bin ...
./root.sh: line 175: [: too many arguments
Copying coraenv to Copying dbhome to /oracle/product/10.2.0/db_1/bin ...


Creating /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读