安裝grid時報錯:libXext.so.6: cannot open shared object file
安裝grid時,報錯資訊
[oracle@rac1 grid]$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 80 MB. Actual 11245 MB Passed
Checking swap space: must be greater than 150 MB. Actual 4095 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-09-24_12-59-20AM. Please wait ...[oracle@rac1 grid]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-09-24_12-59-20AM/jdk/jre/lib/i386/xawt/libmawt.so: libXext.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(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
at
java.awt.Toolkit.
at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
at
com.jgoodies.looks.LookUtils.
at
com.jgoodies.looks.plastic.PlasticLookAndFeel.
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
at oracle.install.commons.util.Application.startup(Application.java:758)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
at oracle.install.ivw.crs.driver.CRSInstaller.startup(CRSInstaller.java:96)
at oracle.install.ivw.crs.driver.CRSInstaller.main(CRSInstaller.java:103)
解決故障:這個問題是缺少包導致的,如下把缺少的包安裝上即可。
1、掛載光碟,使用yum安裝
mount /dev/cdrom /media
[root@rac1 Packages]# cat /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
baseurl=file:///media/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
[root@rac1 Packages]# yum install -y lib*
2、進入光碟單獨安裝
[root@rac1 Packages]# rpm -ivh libXext-1.3.1-2.el6.i686.rpm --nodeps --force
warning: libXext-1.3.1-2.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:libXext ########################################### [100%]
[root@rac1 Packages]# rpm -ivh libX11-1.5.0-4.el6.i686.rpm --nodeps --force
warning: libX11-1.5.0-4.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:libX11 ########################################### [100%]
[root@rac1 Packages]# rpm -ivh libxcb-1.8.1-1.el6.i686.rpm --nodeps --force
warning: libxcb-1.8.1-1.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:libxcb ########################################### [100%]
[root@rac1 Packages]# rpm -ivh libXau-1.0.6-4.el6.i686.rpm --nodeps --force
warning: libXau-1.0.6-4.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:libXau ########################################### [100%]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29819001/viewspace-1281446/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- libXext.so.6: cannot open shared object file: No such file or directoryObject
- Nginx安裝啟動過程報錯libpcre.so.1 cannot open shared object file: No such file or directoryNginxObject
- oracle安裝報錯libawt.so:libXP.so.6:cannot open shared object fileOracleObject
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- libcap.so.1:cannot open shared object file: No such file or directoryObject
- libz.so.1: cannot open shared object file: No such file or directoryObject
- ImportError: libffi.so.7: cannot open shared object file: No such file or directoryImportErrorObject
- 呼叫torchtext報錯OSError: libtorch_cpu.so: cannot open shared object file: No such file or directoryErrorObject
- shared libraries: libpthread.so.0: cannot open shared object file: No such file or directorythreadObject
- Redhat5下安裝ORACLE10.2.0.1報錯“libXp.so.6: cannot open shared object file”RedhatOracleObject
- libiconv.so.2: cannot open shared object file: No such filObject
- 記錄 libldap-2.4.so.2: cannot open shared object file: No such file or directoryLDAObject
- 問題1.libXp.so.6: cannot open shared object file: No such file or directoryObject
- EM 10g Grid Control Fails With 'libdb.so.2: cannot open shared object file:AIObject
- python libclntsh.so.12.1: cannot open shared object filePythonObject
- libcudart.so.8.0: cannot open shared object file解決方案DartObject
- inplace-abn 報錯解決: ImportError: libcudart.so.9.0: cannot open shared object file: No such file or dirImportErrorDartObject
- opensuse13.1 安裝chrome報 error while loading shared libraries:libudev.so.0:cannot open shared object file:no file or directoryChromeErrorWhiledevObject
- 解決ImportError: libmysqlclient_r.so.16: cannot open shared object fileImportErrorIBMMySqlclientObject
- error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or diErrorWhileObject
- while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or dirWhilethreadObject
- Nagios監控mysql從庫報錯:libmysqlclient.so.18: cannot open shared object fileiOSMySqlIBMclientObject
- 11.2.0.3 rac on redhat 6.2 libcap.so.1: cannot open shared object fileRedhatObject
- 11.2.0.4 rac on redhat 6.5 libcap.so.1: cannot open shared object fileRedhatObject
- CentOS7提示 libsasl2.so.2: cannot open shared object fileCentOSObject
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No suchErrorWhileIBMMySqlclientObject
- 裝10gRAC遇到的libpthread.so.0: cannot open shared object file問題threadObject
- Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directoryAIErrorObject
- 安裝Oracle報:libawt.so:libXP.so.6:cannot open shared objectOracleObject
- RAC執行root.sh報libcap.so.1: cannot open shared object fileObject
- 影片匯聚平臺EasyCVR啟動出現報錯“cannot open shared object file”的原因排查與解決VRObject
- /lib/i386/libawt.so: libXp.so.6: cannot open shared object fileObject
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject
- (轉)RAC srvctl 命令報 libpthread.so.0 cannot open shared object file解決辦法threadObject
- error while loading shared libraries: libpython3.7m(2.7).so.1.0: cannot open shared object file: NErrorWhilePythonObject
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- 【問題處理】啟動OUI丟擲libXp.so.6: cannot open shared object file問題處理UIObject