您的位置:首页 > 大数据 > 人工智能

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

2012-02-20 10:03 155 查看
数据库打完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,所有的问题都解决了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐