Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1109350
  • 博文数量: 227
  • 博客积分: 6860
  • 博客等级: 准将
  • 技术积分: 2688
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-02 16:06
文章分类

全部博文(227)

文章存档

2015年(7)

2014年(8)

2012年(5)

2011年(62)

2010年(145)

分类: Oracle

2010-09-15 02:14:19

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

阅读(7076) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-09-15 14:55:01

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com