虚拟环境有套REDHAT 5.4+10GRAC,想清理部署11.2.0.4库测试goldengat 12c用DBCA的时候发现节点2报 Exception in thread main
虚拟环境有套RedHat 5.4+10GRAC,想清理部署11.2.0.4库测试goldengat 12c
用DBCA的时候发现节点2报 Exception in thread "main"
xhl@XHL:~$ ssh -X Oracle@192.168.3.201
oracle@192.168.3.201's password:
Last login: Wed Nov 16 14:23:52 2011 from rac2
--
--
[oracle@rac2 ~]$ dbca
Exception in thread "main" [oracle@rac2 ~]$
检查DBCA 日志:
[oracle@rac2 ~]$ cd $ORACLE_HOME/cfgtoollogs/dbca
[oracle@rac2 dbca]$ ls
trace.log xhl
[oracle@rac2 dbca]$ tail -100 trace.log | more
java.lang.UnsatisfiedLinkError: /u01/oracle/product/10.2/db_1/jdk/jre/lib/i386/l
ibawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.
at java.awt.Component.
at oracle.sysman.assistants.util.wizard.WizardObject.
.java:64)
at oracle.sysman.assistants.dbca.ui.DBCAWizard.
5)
at oracle.sysman.assistants.dbca.ui.UIHost.
at oracle.sysman.assistants.dbca.ui.InteractiveHost.
st.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
发现没有libXp.so.6 文件,在节点1 运行DBCA正常,节点2的操作系统是clone了节点1的,应该
包是一致的。
[oracle@rac2 dbca]$ rpm -qa|grep libXp
libXpm-3.5.5-3
[root@rac1 ISO]# rpm -aq|grep libXp
libXpm-3.5.5-3
libXp-1.0.0-8.1.el5
安装包:
[root@rac2 tmp]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:libXp ########################################### [100%]
运行DBCA 正常。
相关阅读:
Oracle 11g + ASM DBCA 建库问题解决心得
Oralce 10g 使用DBCA创建数据库
Oracle使用DBCA建立数据库
DBCA删除数据库时选项灰色
DBCA时出现ASM磁盘组权限问题ORA-27303