客戶數據庫使用sqlplus直連方式連接數據庫報錯,而如果使用tnsnames方式則可以正常連接。
詳細錯誤信息為:
Thu Apr 26 10:17:56 2012
Errors in file /oracle/admin/trs/udump/trs2_ora_2619.trc:
ORA-00603: ORACLE server session terminated by tb fatal error
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:IPC init failed with status: 65
ORA-27301: OS failure message: Package not installed
ORA-27302: failure occurred at: skgxpcini
ORA-27303: additional information: libskgxpd.so called
libskgxp10.so should reference real implementation.
根據MOS文檔,這個問題的原因是由于環(huán)境變量中指定了CRS的目錄,導致部分LIB沒有找到:sqlplus Local connection to Instance is not possible , remote Using tns is fine . [ID 859778.1]。
解決問題的方法是在環(huán)境變量SHLIB_PATH和LIBPATH中,去掉CRS的HOME信息,使得Oracle正確找到ORACLE_HOME下的LIB目錄。