[oracle@game_db ~]$
[oracle@game_db ~]$ exportDISPLAY=1921.68.3.189:0.0
[oracle@game_db ~]$ dbca
几年都没有遇到这种问题了,起初以为是DISPLAY变量的问题,设置以后也不行,查看了一个DBCA的log 日志:
[oracle@game_db scripts]$
[oracle@game_db dbca]$ ls
trace.log
[oracle@game_db dbca]$
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.(DebugHelper.java:29)
at java.awt.Component.(Component.java:506)
atoracle.sysman.assistants.util.wizard.WizardObject.(WizardObject.java:64)
atoracle.sysman.assistants.dbca.ui.DBCAWizard.(DBCAWizard.java:425)
at oracle.sysman.assistants.dbca.ui.UIHost.(UIHost.java:214)
atoracle.sysman.assistants.dbca.ui.InteractiveHost.(InteractiveHost.java:54)
atoracle.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.6: cannot open shared object file:no such file or directory
[oracle@game_db dbca]$ rpm -qa|grep libXp
libXpm-devel-3.5.5-3
libXpm-3.5.5-3
-rwxrwSrwx 1 root root 22996 2007-07-26libXp-1.0.0-8.1.el5.i386.rpm
-rwxrwSrwx 1 root 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
[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