oracle dbca报Exception in thread main 问题解决一例
Linux操作系统上安装oracle 10g,在启动dbca的时候报 Exception in thread "main" 错误,详细内容如下:
[oracle@centos ~]$ dbca
Exception in thread "main"
[oracle@rac1 ~]$
经检查dbca的log如下:
[oracle@centos ~]$ cd $ORACLE_HOME/cfgtoollogs/dbca
[oracle@centos dbca]$ vi trace.log
java.lang.UnsatisfiedLinkError: /u01/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libawt.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.(DebugHelper.java:29)
at java.awt.Component.(Component.java:506)
at oracle.sysman.assistants.util.wizard.WizardObject.(WizardObject.java:64)
at oracle.sysman.assistants.dbca.ui.DBCAWizard.(DBCAWizard.java:425)
at oracle.sysman.assistants.dbca.ui.UIHost.(UIHost.java:214)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)
注意标记为红色的行,确认是缺少libXp.so,解决方法是找到Linux安装盘,安装libXp包,问题解决
安装过程如下:
[root@oraclebk ~]# yum install libXp
或者# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
参考至:http://space.itpub.net/8183550/viewspace-669459
如有错误,欢迎指正
邮箱:czmcj@163.com