欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

linux安装数据时报错Could not execute auto check for display colors using command /usr/bin/xdpyinfo.

程序员文章站 2023-12-25 09:18:51
在redhat6.5上安装Oracle时,最后使用oracle用户执行runInstaller 报错如下,无法连接到安装有xmanager的windows服务器,也就无法图形化安装oracle 经过百度找到一个靠谱的解决方法,实验成功。如下首先检查服务器是否安装了xdpyinfo 切换到root用户 ......

在redhat6.5上安装oracle时,最后使用oracle用户执行runinstaller 报错如下,无法连接到安装有xmanager的windows服务器,也就无法图形化安装oracle

oracle@sjb] :./runinstaller 
starting oracle universal installer...

checking temp space: must be greater than 120 mb.   actual 42217 mb    passed
checking swap space: must be greater than 150 mb.   actual 20426 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 <<<<

some requirement checks failed. you must fulfill these requirements before

continuing with the installation,

经过百度找到一个靠谱的解决方法,实验成功。如下首先检查服务器是否安装了xdpyinfo

[oracle@sjb] :/usr/bin/xdpyinfo
-bash: /usr/bin/xdpyinfo: no such file or directory      ---发现并没有安装xdpyinfo

切换到root用户,安装xdpyinfo,需要安装的包很多,可见配置yum源的重要性。

[root@sjb ~]# yum -y install xdpyinfo
loaded plugins: fastestmirror, product-id, subscription-manager
this system is not registered to red hat subscription management. you can use subscription-manager to register.
loading mirror speeds from cached hostfile
setting up install process
resolving dependencies
--> running transaction check
---> package xorg-x11-utils.x86_64 0:7.5-6.el6 will be installed
--> processing dependency: libxcb.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libxcb-shape.so.0()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libxxf86vm.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libxxf86misc.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libxxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libxv.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libxtst.so.6()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libxrender.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libxinerama.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libxi.so.6()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libxext.so.6()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libx11.so.6()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> processing dependency: libx11-xcb.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> running transaction check
---> package libx11.x86_64 0:1.5.0-4.el6 will be installed
--> processing dependency: libx11-common = 1.5.0-4.el6 for package: libx11-1.5.0-4.el6.x86_64
---> package libxext.x86_64 0:1.3.1-2.el6 will be installed
---> package libxi.x86_64 0:1.6.1-3.el6 will be installed
---> package libxinerama.x86_64 0:1.1.2-2.el6 will be installed
---> package libxrender.x86_64 0:0.9.7-2.el6 will be installed
---> package libxtst.x86_64 0:1.2.1-2.el6 will be installed
---> package libxv.x86_64 0:1.0.7-2.el6 will be installed
---> package libxxf86dga.x86_64 0:1.1.3-2.el6 will be installed
---> package libxxf86misc.x86_64 0:1.0.3-4.el6 will be installed
---> package libxxf86vm.x86_64 0:1.1.2-2.el6 will be installed
---> package libdmx.x86_64 0:1.1.2-2.el6 will be installed
---> package libxcb.x86_64 0:1.8.1-1.el6 will be installed
--> processing dependency: libxau.so.6()(64bit) for package: libxcb-1.8.1-1.el6.x86_64
--> running transaction check
---> package libx11-common.noarch 0:1.5.0-4.el6 will be installed
---> package libxau.x86_64 0:1.0.6-4.el6 will be installed
--> finished dependency resolution

dependencies resolved

================================================================================
 package                arch           version             repository      size
================================================================================
installing:
 xorg-x11-utils         x86_64         7.5-6.el6           server          94 k
installing for dependencies:
 libx11                 x86_64         1.5.0-4.el6         server         585 k
 libx11-common          noarch         1.5.0-4.el6         server         192 k
 libxau                 x86_64         1.0.6-4.el6         server          24 k
 libxext                x86_64         1.3.1-2.el6         server          35 k
 libxi                  x86_64         1.6.1-3.el6         server          35 k
 libxinerama            x86_64         1.1.2-2.el6         server          20 k
 libxrender             x86_64         0.9.7-2.el6         server          30 k
 libxtst                x86_64         1.2.1-2.el6         server          29 k
 libxv                  x86_64         1.0.7-2.el6         server          24 k
 libxxf86dga            x86_64         1.1.3-2.el6         server          25 k
 libxxf86misc           x86_64         1.0.3-4.el6         server          18 k
 libxxf86vm             x86_64         1.1.2-2.el6         server          22 k
 libdmx                 x86_64         1.1.2-2.el6         server          21 k
 libxcb                 x86_64         1.8.1-1.el6         server         110 k

transaction summary
================================================================================
install      15 package(s)

total download size: 1.2 m
installed size: 4.1 m
downloading packages:
--------------------------------------------------------------------------------
total                                            10 mb/s | 1.2 mb     00:00     
running rpm_check_debug
running transaction test
transaction test succeeded
running transaction
  installing : libx11-common-1.5.0-4.el6.noarch                            1/15 
  installing : libxau-1.0.6-4.el6.x86_64                                   2/15 
  installing : libxcb-1.8.1-1.el6.x86_64                                   3/15 
  installing : libx11-1.5.0-4.el6.x86_64                                   4/15 
  installing : libxext-1.3.1-2.el6.x86_64                                  5/15 
  installing : libxi-1.6.1-3.el6.x86_64                                    6/15 
  installing : libxtst-1.2.1-2.el6.x86_64                                  7/15 
  installing : libxxf86vm-1.1.2-2.el6.x86_64                               8/15 
  installing : libxxf86misc-1.0.3-4.el6.x86_64                             9/15 
  installing : libxxf86dga-1.1.3-2.el6.x86_64                             10/15 
  installing : libxinerama-1.1.2-2.el6.x86_64                             11/15 
  installing : libdmx-1.1.2-2.el6.x86_64                                  12/15 
  installing : libxv-1.0.7-2.el6.x86_64                                   13/15 
  installing : libxrender-0.9.7-2.el6.x86_64                              14/15 
  installing : xorg-x11-utils-7.5-6.el6.x86_64                            15/15 
  verifying  : libxrender-0.9.7-2.el6.x86_64                               1/15 
  verifying  : libxau-1.0.6-4.el6.x86_64                                   2/15 
  verifying  : xorg-x11-utils-7.5-6.el6.x86_64                             3/15 
  verifying  : libxxf86vm-1.1.2-2.el6.x86_64                               4/15 
  verifying  : libxxf86misc-1.0.3-4.el6.x86_64                             5/15 
  verifying  : libxi-1.6.1-3.el6.x86_64                                    6/15 
  verifying  : libx11-common-1.5.0-4.el6.noarch                            7/15 
  verifying  : libxxf86dga-1.1.3-2.el6.x86_64                              8/15 
  verifying  : libxext-1.3.1-2.el6.x86_64                                  9/15 
  verifying  : libxcb-1.8.1-1.el6.x86_64                                  10/15 
  verifying  : libxinerama-1.1.2-2.el6.x86_64                             11/15 
  verifying  : libdmx-1.1.2-2.el6.x86_64                                  12/15 
  verifying  : libx11-1.5.0-4.el6.x86_64                                  13/15 
  verifying  : libxv-1.0.7-2.el6.x86_64                                   14/15 
  verifying  : libxtst-1.2.1-2.el6.x86_64                                 15/15 

installed:
  xorg-x11-utils.x86_64 0:7.5-6.el6                                             

dependency installed:
  libx11.x86_64 0:1.5.0-4.el6            libx11-common.noarch 0:1.5.0-4.el6     
  libxau.x86_64 0:1.0.6-4.el6            libxext.x86_64 0:1.3.1-2.el6           
  libxi.x86_64 0:1.6.1-3.el6             libxinerama.x86_64 0:1.1.2-2.el6       
  libxrender.x86_64 0:0.9.7-2.el6        libxtst.x86_64 0:1.2.1-2.el6           
  libxv.x86_64 0:1.0.7-2.el6             libxxf86dga.x86_64 0:1.1.3-2.el6       
  libxxf86misc.x86_64 0:1.0.3-4.el6      libxxf86vm.x86_64 0:1.1.2-2.el6        
  libdmx.x86_64 0:1.1.2-2.el6            libxcb.x86_64 0:1.8.1-1.el6            

complete!

安装完成后,再执行数据库安装脚本,一切ok。

[oracle@sjb] :./runinstaller 
starting oracle universal installer...

checking temp space: must be greater than 120 mb.   actual 42211 mb    passed
checking swap space: must be greater than 150 mb.   actual 20426 mb    passed
checking monitor: must be configured to display at least 256 colors.    actual 16777216    passed
preparing to launch oracle universal installer from /tmp/orainstall2019-10-31_04-13-55pm. please wait ...[oracle@sjb] :you can find the log of this install session at:
 /u01/app/orainventory/logs/installactions2019-10-31_04-13-55pm.log

 感谢链接https://www.linuxidc.com/linux/2018-09/154217.htm

上一篇:

下一篇: