1. 程式人生 > >CentOS 安裝 oralce Java的圖形出錯: libXtst.so.6: cannot open shared object file: No such file or directory

CentOS 安裝 oralce Java的圖形出錯: libXtst.so.6: cannot open shared object file: No such file or directory

[[email protected] database]$ ./runInstaller -ignoresysprereqs
Starting Oracle Universal Installer...


Checking installer requirements...


Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Passed




All installer requirements met.


Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-07-13_09-41-25AM. Please wait ...[
[email protected]
database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.


Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2016-07-13_09-41-25AM/jre/1.4.2/lib/i386/libawt.so: libXtst.so.6: cannot open shared object file: No such file or directory occurred..
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2016-07-13_09-41-25AM/jre/1.4.2/lib/i386/libawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
at oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:436)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:926)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:151)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984)

at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)

如果出現以上提示請安裝3個相關的包 #yum install libXp*.i686 #yum install libXt*.i686 #yum install libxtst*.i686 [[email protected] database]$ ./runInstaller -ignoresysprereqs
Starting Oracle Universal Installer...


Checking installer requirements...


Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Passed




All installer requirements met.


Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-07-13_09-47-48AM. Please wait ...[
[email protected]
database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.


Can't connect to X11 window server using 'localhost:11.0' as the value of the DISPLAY variable.
localhost:11.0
localhost:11.0
OUI-10025:Unable to start an interactive install session because of the following error:Can't connect to X11 window server using 'localhost:11.0' as the value of the DISPLAY variable. The DISPLAY environment variable should be set to <hostname or IP address>:<screen>, where the <screen> is usually '0.0'.
OUI-10026:Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
- For csh:  % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
OUI-10027:To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':
% <full path to xclock... see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
Typical path for 'xclock': '/usr/X11R6/bin/xclock'

出現以上錯誤執行export  DISPLAY=IP:0.0即可

ip為windows 機器的ip

相關推薦

CentOS 安裝 oralce Java圖形出錯: libXtst.so.6: cannot open shared object file: No such file or directory

[[email protected] database]$ ./runInstaller -ignoresysprereqs Starting Oracle Universal Installer... Checking installer requirement

error while loading shared libraries: libssl.so.6: cannot open shared object file

ldd yum check_tcp libssl.so.6 openssl098e-0.9.8e-20 [root@ ~]# /usr/local/nagios/libexec/check_tcp -H 127.0.0.1 80/usr/local/nagios/libexec/check

error:while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory

div usr dir deb 缺失 依賴庫 cal bug 模塊 執行 memcached 啟動命令時,報錯,提示:error while loading shared libraries: libevent-2.1.so.6: cannot open shared ob

arm-none-linux-gnueabi/4.4.3/cc1: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

鬱悶了,安裝好了arm-linux-gcc的4.4.3版本,就是能能執行!!! 而且,在執行arm-linux-gcc -v的時候一切正常,醉了! 顯示說: /opt/Friendlyarm/arm-linux-gcc-4.4.3/bin/../libexec/gcc/arm-none-linux-

mysql安裝報錯error while loading shared libraries: libaio.so.1: cannot open shared object file: No such

使用ubantu安裝mysql時,出現報錯 [email protected]:/home/soft/mysql-5.6.41-linux-glibc2.12-x86_64# ./scripts/mysql_install_db --user=mysql --da

mysq安裝錯誤:error while loading shared libraries: libaio.so.1: cannot open shared object file: No such

centos6安裝mysq5.6 錯誤資訊:Installing MySQL system tables..../bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object

解決:CentOS下的 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object fi

你看到的這個文章來自於http://www.cnblogs.com/ayanmw 進入別人的centos,輸入命令 mysql mysqladm都會報錯,缺少這個共享庫 libmysqlclient.so.16 。 查詢下,一般都是ldconfig 沒有找到共享庫的位置,或者 軟連結的問題,但是 都是

解決:CentOS下的 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or dir

進入別人的centos,輸入命令 mysql mysqladm都會報錯,缺少這個共享庫 libmysqlclient.so.16 。 查詢下,一般都是ldconfig 沒有找到共享庫的位置,或者 軟連結的問題,但是 都是不治本的解決方案。 查詢 此檔案 相關的檔案: updatedb loca

Redhat 6.4安裝ORACLE11R2 ,執行root.sh報錯:“libcap.so.1:cannot open shared object file

查詢所缺連結檔案的位置:# find / -name libcap* /lib/libcap.so.2 /lib/libcap.so.2.11 /lib64/libcap.so.2 /lib64/libcap.so.2.11 /lib64/libcap.so.1.10 建立連結檔案:# cd /lib64#

樹莓派3B+安裝opencv坑點,遇到了ImportError: libhdf5_serial.so.100: cannot open shared object file: No such file

ImportError: libhdf5_serial.so.100: cannot open shared object file: No such file or directory 原因:缺少了若干模組 解決方案:直接安裝 底下命令建議一行一行輸入:搞了我好幾天累死

ImportError: libmysqlclient.so.20: cannot open shared object file: No such file or directory 解決辦法

object init ror 文件 module libmysql 找到 str 軟連接 >>> import MySQLdbTraceback (most recent call last): File "<stdin>", line

error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory解決

make scp AR object normal memcache window 2.0 HA 我是從其他服務器scp來的memcached(~~~整個文件夾的那種,windows用多了的後遺癥) 在準備運行 ./memcached -d -u root -l loca

解決軟件啟動報error while loading shared libraries: libgd.so.2: cannot open shared object錯誤

data dso htm inux libpcre 通過 libc.so.6 code 相關 解決軟件啟動報error while loading shared libraries: libgd.so.2: cannot open shared object錯誤 今天安

解決error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file

一、問題 執行hello程式時,用到了自己編寫的動態庫,在目錄/usr/local/lib目錄下,執行時出現 error while loading shared libraries: libhello.so.1: cannot open shared object file: No s

libiconv.so.2: cannot open shared object file的解決方法

收藏於 2012-04-07 遷移自個人的百度空間 -------------------------------- 重新編譯了libiconv庫之後執行原先沒有問題的程式(該程式用到了iconv庫)就出現瞭如下問題 ./a.out: error while&nb

Error loading MySQLdb module: libmysqlclient_r.so.18: cannot open shared object file: No such file

錯誤: Error loading MySQLdb module: libmysqlclient.so.18: cannot open shared object file: No such file or directory 錯誤原因: 我們在伺服器上自己安裝了MySQL,而解除安

執行Visual Studio code,遇到error while loading shared libraries: libXss.so.1: cannot open shared object

執行Visual Studio Code,遇到錯誤如下: [[email protected] VSCode-linux-x64]# ./code  ./code: error while loading shared libraries: libXss.so.1

error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

今天重新配置環境的時, 在啟動nginx時出現這樣一個錯誤   解決方法   64位系統:  ln -s /usr/local/lib/libpcre.so.1 /lib64   32位系統:  ln -s /usr/local/lib/libpcre.so.1 /l

Error loading MySQLdb module: libmysqlclient.so.18: cannot open shared object file: No such file or directory

在hue上配置Mysql的時候,出現的錯誤:  發生伺服器錯誤:  Error loading MySQLdb module: libmysqlclient.so.18: cannot open shared&n

libcudnn.so.7: cannot open shared object file: No such file or directory

不同的版本: cudnn:7.1.1 cuda:9.0.176 tensorflow:1.6.0 Ubuntu:16.04 我經歷了兩次這樣的錯誤,每次都費事費力,終於找到最終解決方法了 安裝CUDA 9.0 # instructions from ht