|
在安装11G数据库时报错:
[oracle@sztech database]$ export DISLPAY=192.168.133.1:0.0
[oracle@sztech database]$ export LANG=en
[oracle@sztech database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 35216 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
>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
分析:错误提示是display变量没设置,但我已设置临时变量。
解决办法:
[root@sztech ~]# xhost +
xhost: unable to open display ""
[root@sztech ~]# xclock
-bash: xclock: command not found (发现图像界面也打不开)
需要在yum下安装需要安装xorg-x11*
[root@sztech ~]# yum install xorg-x11-apps
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-apps.i686 0:7.6-6.el6 will be installed
--> Processing Dependency: libXaw.so.7 for package: xorg-x11-apps-7.6-6.el6.i686
--> Running transaction check
---> Package libXaw.i686 0:1.0.11-2.el6 will be installed
--> Processing Dependency: libXpm.so.4 for package: libXaw-1.0.11-2.el6.i686
--> Running transaction check
---> Package libXpm.i686 0:3.5.10-2.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================
Installing:
xorg-x11-apps i686 7.6-6.el6 mnt 271 k
Installing for dependencies:
libXaw i686 1.0.11-2.el6 mnt 190 k
libXpm i686 3.5.10-2.el6 mnt 50 k
Transaction Summary
=====================================================================================================================
Install 3 Package(s)
Total download size: 511 k
Installed size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
---------------------------------------------------------------------------------------------------------------------
Total 1.2 MB/s | 511 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libXpm-3.5.10-2.el6.i686 1/3
Installing : libXaw-1.0.11-2.el6.i686 2/3
Installing : xorg-x11-apps-7.6-6.el6.i686 3/3
ERROR:dbus.proxies:Introspect error on :1.66:/org/freedesktop/PackageKit: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Unable to send message to PackageKit
Verifying : libXpm-3.5.10-2.el6.i686 1/3
Verifying : xorg-x11-apps-7.6-6.el6.i686 2/3
Verifying : libXaw-1.0.11-2.el6.i686 3/3
Installed:
xorg-x11-apps.i686 0:7.6-6.el6
Dependency Installed:
libXaw.i686 0:1.0.11-2.el6 libXpm.i686 0:3.5.10-2.el6
Complete!
然后在root下验证,最后执行./runInstaller 安装成功。
[root@sztech ~]# xclock
Warning: Missing charsets in String to FontSet conversion
[root@sztech ~]# xhost +
access control disabled, clients can connect from any host
[oracle@sztech database]$ export DISPLAY=192.168.133.1:0.0
[oracle@sztech database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 35129 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/OraInstall2017-06-28_11-29-37AM. Please wait ...
|
|