ITPub博客

首页 > 数据库 > 数据库开发技术 > dbca时遇到file etc oratab is not accessible

dbca时遇到file etc oratab is not accessible

原创 数据库开发技术 作者:msdnchina 时间:2011-04-18 21:36:05 0 删除 编辑

dbca时提示 file etc oratab is not accessible

原因是安装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.

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/161195/viewspace-1048838/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-07-30

  • 博文量
    498
  • 访问量
    1542046