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,所有的问题都解决了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值