exec(): 0509-036 Cannot load program $CRS_HOME/bin/ocrconfig.bin because


oracle 10.2.0.1 rac安装在AIX 6.1上,在安装cluster后,在第一个节点上跑root脚本,报以下错误

# ./root.sh
WARNING: directory '/opt/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/opt/app/oracle/product' is not owned by root
WARNING: directory '/opt/app/oracle' is not owned by root
WARNING: directory '/opt/app' is not owned by root
WARNING: directory '/opt' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.

Setting the permissions on OCR backup directory
Setting up NS directories
exec(): 0509-036 Cannot load program /opt/app/oracle/product/10.2.0/crs_1/bin/ocrconfig.bin because of the following errors:
        0509-150   Dependent module libttsh10.a(shr_ttsh10.o) could not be loaded.
        0509-022 Cannot load module libttsh10.a(shr_ttsh10.o).
        0509-026 System error: A file or directory in the path name does not exist.
Failed to upgrade Oracle Cluster Registry configuration

网上查询,MOS上查询,有说是AIX的CIO文件系统的问题,其实不然

$ find /opt -name libttsh\* -exec ls -l {} \;
-rwxrwxr-x    1 oracle   oinstall   32714587 Aug 05 2005  /u01/app/oracle/product/10.2.0/crs_1/oui/bin/libttsh10.a

$ cp /u01/app/oracle/product/10.2.0/crs_1/oui/bin/libttsh10.a $ORA_CRS_HOME/lib/
执行以上命令后,再跑root脚本,就神奇的过去了。


最后忠告:再安装oracle 10G RAC 时oracle的环境变量里不要设置ORA_CRS_HOME的环境变量,容易出现以上等其他oracle 组件问题,oracle已经在各个组件中封装了ORA_CRS_HOME相关的环境变量,有兴趣可以打开root.sh文件瞅瞅。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值