打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
linux创建oracle时提示 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.

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
■■CentOS 5.4 への Oracle Database 11g の構築■■
RedHat5.2下Linux Oracle 10g ASM 安装详细实录-第三篇-利用dbca创建oracle数据库
主机os重装的节点加回RAC集群步骤示例(11gR2 RAC)
【12c】一文教你详细了解如何安装Oracle Enterprise Manager Cloud Control 12c
CentOS7安装Oracle11g超简单[视频]
Linux设置Oracle开机自启动
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服