1.安装Oracle数据库软件,提示“检查监视器”未通过

[root@db130 ~]# xhost +

access control disabled, clients can connect from any host

[root@db130 ~]# su - oracle

[oracle@db130 ~]$ cd /u01/app/database

[oracle@db130 database]$ ./runInstaller

正在启动 Oracle Universal Installer...

检查临时空间: 必须大于 120 MB。 实际为 36939 MB 通过

检查交换空间: 必须大于 150 MB。 实际为 8047 MB 通过

检查监视器: 监视器配置至少必须显示 256 种颜色

>>> 无法使用命令 /usr/bin/xdpyinfo 自动检查显示器颜色。请检查是否设置了 DISPLAY 变量。 未通过 <<<<

未通过某些要求检查。必须先满足这些 要求,

然后才能继续安装,

是否继续? (y/n) [n] n

用户选择: 否

退出 Oracle Universal Installer, 您可以在 /tmp/OraInstall2017-07-26_03-02-54PM/installActions2017-07-26_03-02-54PM.log 中找到本次会话的日志

2.根据报错信息,首先想到的是配置DISPLAY变量(一般配置一下就可以解决)

[oracle@db130 database]$ export DISPLAY=:0.0

[oracle@db130 database]$ ./runInstaller

正在启动 Oracle Universal Installer...

检查临时空间: 必须大于 120 MB。 实际为 36939 MB 通过

检查交换空间: 必须大于 150 MB。 实际为 8047 MB 通过

检查监视器: 监视器配置至少必须显示 256 种颜色

>>> 无法使用命令 /usr/bin/xdpyinfo 自动检查显示器颜色。请检查是否设置了 DISPLAY 变量。 未通过 <<<<

未通过某些要求检查。必须先满足这些 要求,

然后才能继续安装,

是否继续? (y/n) [n] n

用户选择: 否

退出 Oracle Universal Installer, 您可以在 /tmp/OraInstall2017-07-26_03-04-57PM/installActions2017-07-26_03-04-57PM.log 中找到本次会话的日志

[oracle@db130 database]$

3.配置DISPLAY变量之后还是不行。根据报错信息"无法使用命令 /usr/bin/xdpyinfo 自动检查显示器颜色",怀疑是xdpyinfo有问题。

[root@db130 ~]# xdpyinfo

-bash: xdpyinfo: command not found

果然,系统中并未安装xdpyinfo,那么先安装xdpyinfo

[root@db130 ~]# yum install -y xdpyinfo

Loaded plugins: product-id, security, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

rhel-source | 3.9 kB 00:00 ...

rhel-source/primary_db | 3.1 MB 00:00 ...

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: libdmx.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

--> Running transaction check

---> Package libXxf86dga.x86_64 0:1.1.3-2.el6 will be installed

---> Package libdmx.x86_64 0:1.1.2-2.el6 will be installed

--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================

Package Arch Version Repository Size

======================================================================================================================

Installing:

xorg-x11-utils x86_64 7.5-6.el6 rhel-source 94 k

Installing for dependencies:

libXxf86dga x86_64 1.1.3-2.el6 rhel-source 25 k

libdmx x86_64 1.1.2-2.el6 rhel-source 21 k

Transaction Summary

======================================================================================================================

Install 3 Package(s)

Total download size: 140 k

Installed size: 295 k

Downloading Packages:

----------------------------------------------------------------------------------------------------------------------

Total 4.0 MB/s | 140 kB 00:00

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : libXxf86dga-1.1.3-2.el6.x86_64 1/3

Installing : libdmx-1.1.2-2.el6.x86_64 2/3

Installing : xorg-x11-utils-7.5-6.el6.x86_64 3/3

Verifying : libdmx-1.1.2-2.el6.x86_64 1/3

Verifying : libXxf86dga-1.1.3-2.el6.x86_64 2/3

Verifying : xorg-x11-utils-7.5-6.el6.x86_64 3/3

Installed:

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

Dependency Installed:

libXxf86dga.x86_64 0:1.1.3-2.el6 libdmx.x86_64 0:1.1.2-2.el6

[root@db130 ~]#

4.再次检查xdpyinfo参数,并查看"name of display"参数值

[root@db130 ~]# xdpyinfo

name of display: localhost:12.0

version number: 11.0

vendor string: NetSarang Computer, Inc.

vendor release number: 4007

maximum request size: 16777212 bytes

motion buffer size: 256

bitmap unit, bit order, padding: 32, LSBFirst, 32

image byte order: LSBFirst

number of supported pixmap formats: 7

supported pixmap formats:

depth 1, bits_per_pixel 1, scanline_pad 32

depth 4, bits_per_pixel 4, scanline_pad 32

depth 8, bits_per_pixel 8, scanline_pad 32

depth 15, bits_per_pixel 16, scanline_pad 32

depth 16, bits_per_pixel 16, scanline_pad 32

depth 24, bits_per_pixel 32, scanline_pad 32

depth 32, bits_per_pixel 32, scanline_pad 32

keycode range: minimum 8, maximum 255

focus: PointerRoot

number of extensions: 22

BIG-REQUESTS

DAMAGE

DEC-XTRAP

DOUBLE-BUFFER

DPMS

Extended-Visual-Information

GLX

MIT-SUNDRY-NONSTANDARD

RECORD

RENDER

SECURITY

SGI-GLX

SHAPE

SYNC

TOG-CUP

X-Resource

XC-APPGROUP

XC-MISC

XFIXES

XFree86-Bigfont

XInputExtension

XTEST

default screen number: 0

number of screens: 1

screen #0:

dimensions: 1920x1040 pixels (542x294 millimeters)

resolution: 90x90 dots per inch

depths (17): 1, 4, 8, 8, 8, 8, 15, 16, 24, 24, 24, 24, 24, 24, 24, 24, 32

root window id: 0x58

depth of root window: 24 planes

number of colormaps: minimum 16, maximum 128

default colormap: 0x20

default number of colormap cells: 256

preallocated pixels: black 0, white 16777215

options: backing-store YES, save-unders YES

largest cursor: 32x32

current input event mask: 0xf80000

SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask

PropertyChangeMask ColormapChangeMask

number of visuals: 16

default visual id: 0x29

visual:

visual id: 0x21

class: PseudoColor

depth: 8 planes

available colormap entries: 256

red, green, blue masks: 0x0, 0x0, 0x0

significant bits in color specification: 8 bits

visual:

visual id: 0x22

class: DirectColor

depth: 8 planes

available colormap entries: 8 per subfield

red, green, blue masks: 0x7, 0x38, 0xc0

significant bits in color specification: 8 bits

visual:

visual id: 0x23

class: GrayScale

depth: 8 planes

available colormap entries: 256

red, green, blue masks: 0x0, 0x0, 0x0

significant bits in color specification: 8 bits

visual:

visual id: 0x24

class: StaticColor

depth: 8 planes

available colormap entries: 256

red, green, blue masks: 0x0, 0x0, 0x0

significant bits in color specification: 8 bits

visual:

visual id: 0x25

class: StaticGray

depth: 8 planes

available colormap entries: 256

red, green, blue masks: 0x0, 0x0, 0x0

significant bits in color specification: 8 bits

visual:

visual id: 0x26

class: PseudoColor

depth: 8 planes

available colormap entries: 256

red, green, blue masks: 0x0, 0x0, 0x0

significant bits in color specification: 8 bits

visual:

visual id: 0x27

class: PseudoColor

depth: 8 planes

available colormap entries: 256

red, green, blue masks: 0x0, 0x0, 0x0

significant bits in color specification: 8 bits

visual:

visual id: 0x28

class: PseudoColor

depth: 8 planes

available colormap entries: 256

red, green, blue masks: 0x0, 0x0, 0x0

significant bits in color specification: 8 bits

visual:

visual id: 0x29

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

visual:

visual id: 0x2a

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

visual:

visual id: 0x2b

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

visual:

visual id: 0x2c

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

visual:

visual id: 0x2d

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

visual:

visual id: 0x2e

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

visual:

visual id: 0x2f

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

visual:

visual id: 0x30

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

5.使用"name of display"变量设置DISPLAY参数后,再次执行安装程序,安装页面弹出成功。

[root@db130 ~]# xhost +

access control disabled, clients can connect from any host

[root@db130 ~]# su - oracle

[oracle@db130 ~]$ export DISPLAY=:12.0

[oracle@db130 ~]$ cd /u01/app/database/

[oracle@db130 database]$ ./runInstaller

正在启动 Oracle Universal Installer...

检查临时空间: 必须大于 120 MB。 实际为 36937 MB 通过

检查交换空间: 必须大于 150 MB。 实际为 8047 MB 通过

检查监视器: 监视器配置至少必须显示 256 种颜色。 实际为 16777216 通过

准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2017-07-26_03-16-44PM. 请稍候...[oracle@db130 database]$

到此,“无法使用命令 /usr/bin/xdpyinfo 自动检查显示器颜色。请检查是否设置了 DISPLAY 变量。”问题完美解决。

oracle安装检查监视器,安装Oracle时检查监视器未通过问题的解决相关推荐

  1. 【SpringBoot整合Mybatis】数据库某字段值为空时,接口未返回该字段 解决办法

    [SpringBoot整合Mybatis]数据库字段为空时,接口不返回该字段 解决办法 问题描述: 排查问题: 解决问题: 测试: 参考资料: 今天整合项目的时候,发现了SpringBoot整合Myb ...

  2. Word中安装MathType先后出现错误‘53‘、‘48‘未找到MathPage.wll解决办法

    注:安装时是按照默认安装路径安装 '53': 1.从在MathType文件夹中找到MathPage-32,从而找到MathPage.wll文件并复制 2.将复制文件粘贴到C:\Windows\Syst ...

  3. vim退出时提示:q:未找到命令的解决办法

    有一天,我在WSL上快乐的用vim编游戏,可就在我输入:!q时,bash提醒我,q:未找到命令:平常程序都在WSL上,cat不自动在行尾加换行违反了我的强迫症,然后我就开始修理vim了....... ...

  4. ThinkPad 64位操作系统使用VMware时遇到Vt未打开的错误报警

    公司给发了个ThinkPad 默认装的是win8系统,使用VMware workstation安装64位的系统时遇到Vt未打开的错误如下: You have configured this virtu ...

  5. 解决安装Oracle时检查监视器不通过的问题

    1.安装数据库软件,提示"检查监视器"未通过 [root@db130 ~]# xhost + access control disabled, clients can connec ...

  6. Oracle安装时先决条件检查失败和[INS-35180] 无法检查可用内存问题解决

    Oracle安装时先决条件检查失败和[INS-35180] 无法检查可用内存问题解决 问题: [INS-13001] 此操作系统不支持 Oracle 数据库 问题原因 解决方案 问题2:[INS-35 ...

  7. oracle xdpyinfo,Fedora下安装Oracle:“无法使用命令/usr/bin/xdpyinfo自动检查显示器颜色”...

    在实验室准备装Oracle 11g,系统是Fedora 10,遇到了几个问题,都已经解决,分享一下.首先说一下准备工作:新建oracle用户,所属 在实验室准备装Oracle 11g,系统是Fedor ...

  8. oracle补丁怎么配置,如何检查Oracle补丁是否已安装?

    Here is an article on how to check and or install new patches : 要找到OPatch工具,请设置数据库环境变量,然后发出此命令: cd $ ...

  9. oracle 11.2.0.4 mos,【翻译自mos文章】在RHEL7 or OEL7上安装oracle 11.2.0.4 db时的

    在RHEL7 or OEL7上安装oracle 11.2.0.4 db时的要求 在RHEL7 or OEL7上安装oracle 11.2.0.4 db时的要求 来源于: Requirements fo ...

最新文章

  1. 微信快速开发框架(六)-- 微信快速开发框架(WXPP QuickFramework)V2.0版本上线--源码已更新至github...
  2. java 冒泡_java实现冒泡排序
  3. [Swift通天遁地]一、超级工具-(13)使用PKHUD制作各种动态提示窗口
  4. 运营管理整改报告范文_整改报告怎么写(安全检查整改报告范文)
  5. ztree 后台异步加载_zTree异步加载实现
  6. 后悔没早知道这款UI自动化测试框架,让你写用例像口语化一样简单
  7. 用python预测小孩的身高_Python 孩子身高预测
  8. 车辆识别码VIN校验位计算方法及实现  VIN号检验、车架号检验 java、 C++
  9. 转转验机源码+后台管理
  10. ime with the \acknowledge=true\ parameter:,watcher:[Watcher will be disabled
  11. 服务网关Zuul初探
  12. 小米4C刷openwrt
  13. Command python setup.py egg_info failed with error code 1 in /tmp/pip-install-j8m0mf5q/mysqlclient
  14. 2023年深圳CPDA数据分析师认证将于2/25正式开班,快来报名
  15. poj3208 启示录 数位dp
  16. 怎么验证Win7旗舰版是否为正版?正版win7系统验证技巧
  17. Go入门-Effective-Go
  18. 减小vscode-cpptools的内存占用
  19. matlab 求相对涡度,涡量流函数法
  20. 判断 IE9及以下浏览器hack方法

热门文章

  1. 智能报表系统,实用的中国式复杂报表软件
  2. Educoder--Java面向对象(第四章)String类
  3. java中move用法_【MFC】MoveWindow();函数使用详解
  4. 第五十章 SQL命令 HAVING(一)
  5. html表单ui图片,别人的UI表单为什么设计这么漂亮?
  6. Hamsters Training(组合数学)
  7. SPS、PPS、IDR介绍
  8. 一个杭州HR的越南招聘案例
  9. linux kdump保存的目录,RedHat5之Kdump 非常详细
  10. android系统中log机制