執行srvctl命令報錯

football2006發表於2008-07-03
執行srvctl命令總是報錯!!

環境是 RHEL 5.2 (32bit)+10G R2 RAC+ASMrac裝好後
只要一執行 srvctl ,不管後面跟的是什麼引數,都會報錯:
[oracle@node1 ~]$ srvctl
/opt/ora10g/product/10.2.0/db_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

[oracle@node1 ~]$ echo $LD_LIBRARY_PATH
/opt/ora10g/product/10.2.0/db_1/lib
[oracle@node1 ~]$

解決辦法:
cd /opt/ora10g/product/10.2.0/db_1/bin

vi srvctl
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
unset LD_ASSUME_KERNEL <<== Line to be added


分析:
可能RHEL5.2不支援LD_ASSUME_KERNEL這個引數
[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8119050/viewspace-1006627/,如需轉載,請註明出處,否則將追究法律責任。

相關文章