在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

posted on 2019-10-31 16:51  牛肉丨火锅  阅读(11488)  评论(0编辑  收藏  举报