Oracledbca reports predictioninthreadmain
Oracle dbca reports Exception in thread main
Operating system version: RedHat 6.2 64-bit
Database Version: Oracle 10.2.0.4
Problem description
After the software is successfully installed, no error is reported during the installation process. If dbca is executed, the following error is reported.
[Oracle2 @ kvm14-10 ~] $ Dbca
Exception in thread "main"
[Oracle2 @ kvm14-10 ~] $
Problem diagnosis
Check the dbca Installation Log and find that the package is missing
[Oracle2 @ kvm14-10 bin] $ cd $ ORACLE_HOME/export toollogs/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. (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.exe cute (Dbca. java: 94)
At oracle. sysman. assistants. dbca. Dbca. main (Dbca. java: 180)
Solution
According to the above error message, the package is missing. Find the 32-bit package under the package of the installation disc and install the package.
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] #
If there is no CD, the server is configured with yum or can connect to the Internet, you can also use yum to install this 32-bit package
After the installation, run dbca.