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

标题: ./runInstaller Could not execute auto check for display colors [打印本页]

作者: jiawang    时间: 2020-10-27 18:47
标题: ./runInstaller Could not execute auto check for display colors
1. Oracle软件安装, 运行./runInstaller 报错
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 <<<<


2.查询MOS,根据提供的4种解决方法, 使用了a方法,安装缺失的RPM包,异常解决.

如下为MOS(11.2:./RUNINSTALLER results in: Could not execute auto check for display colors using command /usr/bin/xdpyinfo (Doc ID 888699.1))给的解决方法.

        a.  Install the missing RPM
        xorg-x11-utils-.x86_64.rpm
        For REDHAT/OEL 6 also install
        xorg-x11-xauth-.x86_64.rpm
        b. Confirm the xdpyinfo utility now exists with the following permissions:
        ls -la /usr/bin/xdpyinfo
        We should be seeing the following permissions:
        -rwxr-xr-x 1 root root 37192 Jul 19  2006 /usr/bin/xdpyinfo*
        c. logout and login again as the user who is attempting the install to generate the file  .Xauthority
        d. Try the install again

2.1. 安装xorg-x11-utils.x86_64 rpm包

[root@strong ~]# yum -y install xorg-x11-utils*
Loaded plugins: refresh-packagekit, security, ulninfo
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-utils.x86_64 0:7.5-14.el6 will be installed
--> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-14.el6.x86_64
--> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-14.el6.x86_64
--> Running transaction check
---> Package libXxf86dga.x86_64 0:1.1.4-2.1.el6 will be installed
---> Package libdmx.x86_64 0:1.1.3-3.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved


============================================================================
Package                Arch              Version                  Repository                       Size
============================================================================
Installing:
xorg-x11-utils         x86_64         7.5-14.el6     public_ol6_latest                           100 k
Installing for dependencies:
libXxf86dga            x86_64        1.1.4-2.1.el6                  public_ol6_latest                  17 k
libdmx                  x86_64            1.1.3-3.el6                  public_ol6_latest                      14 k


Transaction Summary
============================================================================
Install       3 Package(s)

Total download size: 132 k
Installed size: 270 k
Downloading Packages:

Total                                                           870 kB/s | 132 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libXxf86dga-1.1.4-2.1.el6.x86_64           1/3
  Installing : libdmx-1.1.3-3.el6.x86_64                   2/3
  Installing : xorg-x11-utils-7.5-14.el6.x86_64            3/3
  Verifying  : libdmx-1.1.3-3.el6.x86_64                      1/3
  Verifying  : xorg-x11-utils-7.5-14.el6.x86_64           2/3
  Verifying  : libXxf86dga-1.1.4-2.1.el6.x86_64          3/3

Installed:
  xorg-x11-utils.x86_64 0:7.5-14.el6                                                                                                                                   
Dependency Installed:
  libXxf86dga.x86_64 0:1.1.4-2.1.el6                                                    libdmx.x86_64 0:1.1.3-3.el6                                                   
Complete!


3. 重新运行./runInstaller安装oracle软件

[oracle@strong ~]$ export DISPLAY=192.168.181.128:1.0
[oracle@strong ~]$ xhost +
access control disabled, clients can connect from any host
[oracle@strong~]$ cd /u01/app
[oracle@strong database]$ ./runInstaller
        可以安装.






欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2