[root@redhat ~]# su - oracle
[oracle@redhat ~]$ oemapp console
/usr/Oracle/jre/1.1.8/bin/../lib/i686/native_threads/libzip.so: symbol errno,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference(libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM
出现上面的问题要设置一下系统内核参数,如下
[oracle@redhat ~]$ export LD_ASSUME_KERNEL=2.4.1
[oracle@redhat ~]$ $LD_ASSUME_KERNEL
-bash: 2.4.1: command not found
[oracle@redhat ~]$ oemapp console
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Exiting
java.lang.NullPointerException
at oracle.ewt.lwAWT.BufferedApplet.(Unknown Source)
at oracle.sysman.emSDK.client.appContainer.WebApplication.(WebApplication.java:751)
at oracle.sysman.vt.console.app.Console.(Console.java:149)
at oracle.sysman.emSDK.client.appContainer.WebApplication.main(WebApplication.java:3315)
at oracle.sysman.vtx.vtxOemApp.OemJavaLauncher.executeClass(OemJavaLauncher.java:223)
at oracle.sysman.vtx.vtxOemApp.OemJavaLauncher.launch(OemJavaLauncher.java:168)
at oracle.sysman.vtx.vtxOemApp.OemApp.launch(OemApp.java:222)
at oracle.sysman.vtx.vtxOemApp.OemApp.main(OemApp.java:80)
出现上面的问题要在另外一个终端以root用户执行xhost +
[oracle@redhat ~]# xhost +
在原来的终端再次运行oem,成功
[oracle@redhat ~]$ oemapp console
在OEM上可能会出现ORA-12541:TNS: no listener
出现上面的问题原因是监听服务没有启动
[oracle@redhat ~]$ lsnrctl start
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15142212/viewspace-558226/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/15142212/viewspace-558226/