重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3271|回复: 0
打印 上一主题 下一主题

[安装] Checking monitor: must be configured to display at least 256 colors

[复制链接]
跳转到指定楼层
楼主
发表于 2017-6-28 11:54:05 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在安装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 ...

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-23 16:58 , Processed in 0.147528 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表