ITPub博客

首页 > Linux操作系统 > Linux操作系统 > DBCA创建oracle时提示 file etc oratab is not accessible

DBCA创建oracle时提示 file etc oratab is not accessible

原创 Linux操作系统 作者:jasoname 时间:2011-01-17 09:13:39 0 删除 编辑

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

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

上一篇: 数据库创建规范
请登录后发表评论 登录
全部评论

注册时间:2010-01-22

  • 博文量
    146
  • 访问量
    260084