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文件瞅瞅。

你可能感兴趣的:(oracle)