Run the dbca command on a set of DB servers and report the following error:
[Oracle @ game_db ~] $ Dbca
Exception in thread "Main"
[Oracle @ game_db ~] $
[Oracle @ game_db ~] $ Exportdisplay = 1921.68.3.189: 0.0
[Oracle @ game_db ~] $ Dbca
Exception in thread "Main"
I haven't encountered this problem for a few years. I thought it was a problem with the DISPLAY variable at first and it won't work after the settings. I checked a dbca log:
[Oracle @ game_db Scripts] $ CD $ ORACLE_HOME/export toollogs/dbca
[Oracle @ game_db dbca] $ ls
Trace. Log
[Oracle @ game_db dbca] $ tail-50 trace. Log
Java. Lang. unsatisfiedlinkerror:/home/oracle_app_10204/JDK/JRE/lib/i386/libawt. So: libxp. so.6: cannot openshared 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)
Atsun. AWT. debughelper. <clinit> (debughelper. Java: 29)
At java. AWT. component. <clinit> (component. Java: 506)
Atoracle. sysman. assistants. util. Wizard. wizardobject. <init> (wizardobject. Java: 64)
Atoracle. sysman. assistants. dbca. UI. dbcawizard. <init> (dbcawizard. Java: 425)
At oracle. sysman. assistants. dbca. UI. uihost. <init> (uihost. Java: 214)
Atoracle. sysman. assistants. dbca. UI. interactivehost. <init> (interactivehost. Java: 54)
Atoracle. 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)
The reason is obvious. There are fewer packages:
Libxp. so.6: cannot open shared object file: no such file or directory
Verify the package:
[Oracle @ game_db dbca] $ rpm-Qa | grep libxp
LibXpm-devel-3.5.5-3
LibXpm-3.5.5-3
Add the libxp package:
[Root @ game_db server] # ll
-Rwxrwsrwx 1 Root 22996 2007-07-26libxp-1.0.0-8.1.el5.i386.rpm
-Rwxrwsrwx 1 Root 15262 2007-07-26libxp-devel-1.0.0-8.1.el5.i386.rpm
[Root @ game_db server] # rpm-IVH libxp *. rpm
Warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
1: libxp ####################################### #### [50%]
2: libxp-devel ##################################### ###### [100%]
[Root @ game_db server] # rpm-Qa | grep libxp
LibXpm-devel-3.5.5-3
LibXp-1.0.0-8.1.el5
LibXpm-3.5.5-3
LibXp-devel-1.0.0-8.1.el5
Dbca success:
[Root @ game_db ~] # Xhost +
Access Control Disabled, clients canconnect from any host
[Root @ game_db ~] # Su-Oracle
[Oracle @ game_db ~] $ Exportdisplay = 192.168.3.189: 0.0
[Oracle @ game_db ~] $ Dbca
This system was installed by a previous colleague. The entire installation directory does not comply with the ofa architecture, so the related directory structure looks awkward.
Oracle ofa (optimalflexible architecture) Description
Http://blog.csdn.net/tianlesoftware/article/details/7086104
Bytes -------------------------------------------------------------------------------------------------------
All rights reserved. reprinted articles are allowed, but source addresses must be indicated by links. Otherwise, the documents will be held legally responsible!
Email: tianlesoftware@gmail.com
Skype: tianlesoftware
Blog: http://www.tianlesoftware.com
WEAVER: http://weibo.com/tianlesoftware
Twitter: http://twitter.com/tianlesoftware
Facebook: http://www.facebook.com/tianlesoftware
------- Add a group to describe the relationship between Oracle tablespace and data files in the remarks section. Otherwise, reject the application ----
Dba1 group: 62697716 (full); dba2 group: 62697977 (full) dba3 group: 62697850 (full)
Super DBA group: 63306533 (full); dba4 group: 83829929 dba5 group: 142216823
Group dba6: 158654907 dba7: 172855474