oracle dbca報Exception in thread main
作業系統版本: redhat 6.2 64位
資料庫版本:oracle 10.2.0.4
問題描述
安裝軟體成功後,安裝過程無報錯,執行dbca報下面錯,建庫的介面出不來
[oracle2@kvm14-10 ~]$ dbca
Exception in thread "main" [oracle2@kvm14-10 ~]$
問題診斷
檢視dbca安裝日誌,發現為缺少包引起的
[oracle2@kvm14-10 bin]$ cd $ORACLE_HOME/cfgtoollogs/dbca
[oracle2@kvm14-10 dbca]$ more trace.log
java.lang.UnsatisfiedLinkError: /opt/software/oracle2/product/10.2.0/jdk/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared obje
ct 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.
at
oracle.sysman.assistants.dbca.ui.DBCAWizard.
at oracle.sysman.assistants.dbca.ui.UIHost.
at
oracle.sysman.assistants.dbca.ui.InteractiveHost.
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)
解決方案
根據上面報錯說明缺少包,到安裝光碟的Packages下面找到相關的32位的包並執行安裝
cd /redhat6/Packages/
[root@kvm14-10 Packages]# rpm -ivh libXp-1.0.0-15.1.el6.i686.rpm
warning: libXp-1.0.0-15.1.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:libXp ########################################### [100%]
[root@kvm14-10 Packages]#
如果沒有光碟,伺服器配置了yum或可以連線外網,也可以使用yum安裝這個32位的包
安裝完之後執行dbca後成功
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21605631/viewspace-751679/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle dbca報Exception in thread main 問題解決一例OracleExceptionthreadAI
- Java報錯:Exception in thread "main" java.lang.UnsupportedClassVersionErrorJavaExceptionthreadAIError
- jmeter報錯“Uncaught exception in thread Thread[AWT-EventQueue-0,6,main]“JMeterExceptionthreadAI
- Exception in thread "main" java.lang.UnsupportedClassVersionError:ExceptionthreadAIJavaError
- Exception in thread "main" java.lang.NoClassDefFoundErrorExceptionthreadAIJavaError
- Exception in thread “main” 終極解決方案ExceptionthreadAI
- Appcrawler 執行報錯 Exception in thread "main" java.lang.NullPointerExceptionAPPExceptionthreadAIJavaNull
- Exception in thread "main" java.lang.NullPointerException: Cannot invokeExceptionthreadAIJavaNull
- Exception in thread "main" java.lang.ClassCastException: $Proxy13ExceptionthreadAIJavaAST
- Oracle 11g 安裝RAC時報錯'Exception in thread "main" java.lang'OracleExceptionthreadAIJava
- Exception in thread "main" ,設定Oracle9i,10g環境變數ExceptionthreadAIOracle變數
- Exception in thread "main" java.lang.NoClassDefFoundError錯誤資訊(轉帖)ExceptionthreadAIJavaError
- myeclipse執行tomcat報錯Exception in thread "main" java.lang.OutOfMemoryError: PermGen space...EclipseTomcatExceptionthreadAIJavaError
- Exception in thread "main" org.apache.hadoop.security.AccessControlException: Permission deniedUseExceptionthreadAIApacheHadoop
- Exception in thread “main“ java.lang.NoClassDefFoundError: org/apache/http/conn/socket/LayeredConnecExceptionthreadAIJavaErrorApacheHTTP
- Exception in thread “main“ java.lang.ArrayStoreException解決方案(記錄一下)ExceptionthreadAIJava
- Exception in thread "main" java.lang.UnsatisfiedLinkError: i386/libawt.soExceptionthreadAIJavaError
- 解決:Exception in thread "main" java.lang.RuntimeException: don't run elasticsearch as root.ExceptionthreadAIJavaElasticsearch
- 為何在JBoss中釋出Message-Driven Bean總出Exception in thread "main" javax.naming.NamBeanExceptionthreadAIJava
- oracle 9i DBCA建庫報錯Oracle
- 【原】MyEclipse8.5整合Tomcat7時啟動錯誤:Exception in thread “main” java.lang.NoClassDefFoundErrorEclipseTomcatExceptionthreadAIJavaError
- 請問錯誤提示Exception in thread "main" java.lang.NoClassDefFoundError是否是環境變數的配置問題ExceptionthreadAIJavaError變數
- myeclipse中傳送郵件出現Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStreamEclipseExceptionthreadAIJavaError
- Oracle exceptionOracleException
- Exception in thread “main” com.sun.xml.internal.ws.model.RuntimeModelerException: 必須在沒有程式包的類上指定 @WebService.targetNamespace。ExceptionthreadAIXMLWebnamespace
- AS執行main()方法報錯:SourceSet with name ‘main‘ not foundAI
- oracle RAC dbca的時候報錯提示cluster nodes are not accessibleOracle
- Oracle 10.2.0.5 DBCA建庫報錯ORA-27125Oracle
- oracle 10G rac 執行dbca 報錯處理方法Oracle 10g
- Oracle OCP(36):DBCA建庫Oracle
- Oracle 中的exception——(Raise)OracleExceptionAI
- oracle 使用異常exceptionOracleException
- Oracle XA Exception error codeOracleExceptionError
- ORACLE dbca執行到40%報錯之ORA-12154Oracle
- 64bit Oracle9204安裝dbca報錯一例:Oracle
- 深入理解Oracle中的DBCAOracle
- Oracle dbca的日誌目錄Oracle
- Oracle PL/SQL中EXCEPTION用法OracleSQLException