Ora-600 [Unable To Load Xdb Library] in AIX

数据库打完10.2.0.5的PSU补丁启动的时候报错

Fri Feb 17 23:28:20 GMT+08:00 2012Errors in file /oracle/admin/zygl/udump/zygl2_ora_8257910.trc:
ORA-00600: internal error code, arguments: [unable to load XDB library], [], [], [], [], [], [], []
Fri Feb 17 23:28:22 GMT+08:00 2012Errors in file /oracle/admin/zygl/udump/zygl2_ora_8257910.trc:
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []

 

这个时候查询select * from dba_registry发现Oracle XML Database是invalid状态

Cause

The libxdb.so library could not be found

$ORACLE_HOME/lib and $ORACLE_HOME/lib32 need to be included in the LIBPATH environmental variable

环境变量没有设置好导致

Solution


Please follow step by step this instructions to fix the unable to load the XDB
library error:


1. Stop the database and stop the listener.

2. Set LIBPATH so the first directory referenced is $ORACLE_HOME/lib
Example (replace $ORACLE_HOME with the full path of the Oracle home directory):

csh:

setenv LIBPATH $ORACLE_HOME/lib:<other paths>

ksh:

export LIBPATH=$ORACLE_HOME/lib:<other paths>

Make sure $ORACLE_HOME/lib is first.

3. run /usr/sbin/slibclean as root

4. Re-start the database and the listener.

设置好LIBPATH环境变量后,重启数据库,之后在运行utlrp.sql,所有的问题都解决了。

你可能感兴趣的:(Ora-600 [Unable To Load Xdb Library] in AIX)