日期:2014-05-16 浏览次数:20610 次
虚拟环境有套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 --ssh -X 登录远程机器,可以直接将远程系统图形化界面拉回本地 功能类似xmanager passive 模式,并且不需要设置DISPLAY PS:我本本的操作系统为UBUNTU
--
[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.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
at oracle.sysman.assistants.util.wizard.WizardObject.<init>(WizardObject
.java:64)
at oracle.sysman.assistants.dbca.ui.DBCAWizard.<init>(DBCAWizard.java:42
5)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:214)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHo
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的,应该
包是一致的。对比检查两个节点的rpm 包,发现确实少了一个包[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 正常。