阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

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

431次阅读
没有评论

共计 8160 个字符,预计需要花费 21 分钟才能阅读完成。

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: 1920×1040 pixels (542×294 millimeters)

  resolution: 90×90 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: 32×32

  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 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

本文永久更新链接地址 :http://www.linuxidc.com/Linux/2017-10/147451.htm

正文完
星哥玩云-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-22发表,共计8160字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中

星哥玩云

星哥玩云
星哥玩云
分享互联网知识
用户数
4
文章数
19351
评论数
4
阅读量
7970167
文章搜索
热门文章
星哥带你玩飞牛NAS-6:抖音视频同步工具,视频下载自动下载保存

星哥带你玩飞牛NAS-6:抖音视频同步工具,视频下载自动下载保存

星哥带你玩飞牛 NAS-6:抖音视频同步工具,视频下载自动下载保存 前言 各位玩 NAS 的朋友好,我是星哥!...
星哥带你玩飞牛NAS-3:安装飞牛NAS后的很有必要的操作

星哥带你玩飞牛NAS-3:安装飞牛NAS后的很有必要的操作

星哥带你玩飞牛 NAS-3:安装飞牛 NAS 后的很有必要的操作 前言 如果你已经有了飞牛 NAS 系统,之前...
我把用了20年的360安全卫士卸载了

我把用了20年的360安全卫士卸载了

我把用了 20 年的 360 安全卫士卸载了 是的,正如标题你看到的。 原因 偷摸安装自家的软件 莫名其妙安装...
再见zabbix!轻量级自建服务器监控神器在Linux 的完整部署指南

再见zabbix!轻量级自建服务器监控神器在Linux 的完整部署指南

再见 zabbix!轻量级自建服务器监控神器在 Linux 的完整部署指南 在日常运维中,服务器监控是绕不开的...
飞牛NAS中安装Navidrome音乐文件中文标签乱码问题解决、安装FntermX终端

飞牛NAS中安装Navidrome音乐文件中文标签乱码问题解决、安装FntermX终端

飞牛 NAS 中安装 Navidrome 音乐文件中文标签乱码问题解决、安装 FntermX 终端 问题背景 ...
阿里云CDN
阿里云CDN-提高用户访问的响应速度和成功率
随机文章
多服务器管理神器 Nexterm 横空出世!NAS/Win/Linux 通吃,SSH/VNC/RDP 一站式搞定

多服务器管理神器 Nexterm 横空出世!NAS/Win/Linux 通吃,SSH/VNC/RDP 一站式搞定

多服务器管理神器 Nexterm 横空出世!NAS/Win/Linux 通吃,SSH/VNC/RDP 一站式搞...
支付宝、淘宝、闲鱼又双叕崩了,Cloudflare也瘫了连监控都挂,根因藏在哪?

支付宝、淘宝、闲鱼又双叕崩了,Cloudflare也瘫了连监控都挂,根因藏在哪?

支付宝、淘宝、闲鱼又双叕崩了,Cloudflare 也瘫了连监控都挂,根因藏在哪? 最近两天的互联网堪称“故障...
在Windows系统中通过VMware安装苹果macOS15

在Windows系统中通过VMware安装苹果macOS15

在 Windows 系统中通过 VMware 安装苹果 macOS15 许多开发者和爱好者希望在 Window...
零成本上线!用 Hugging Face免费服务器+Docker 快速部署HertzBeat 监控平台

零成本上线!用 Hugging Face免费服务器+Docker 快速部署HertzBeat 监控平台

零成本上线!用 Hugging Face 免费服务器 +Docker 快速部署 HertzBeat 监控平台 ...
星哥带你玩飞牛 NAS-9:全能网盘搜索工具 13 种云盘一键搞定!

星哥带你玩飞牛 NAS-9:全能网盘搜索工具 13 种云盘一键搞定!

星哥带你玩飞牛 NAS-9:全能网盘搜索工具 13 种云盘一键搞定! 前言 作为 NAS 玩家,你是否总被这些...

免费图片视频管理工具让灵感库告别混乱

一言一句话
-「
手气不错
星哥带你玩飞牛NAS-13:自动追番、订阅下载 + 刮削,动漫党彻底解放双手!

星哥带你玩飞牛NAS-13:自动追番、订阅下载 + 刮削,动漫党彻底解放双手!

星哥带你玩飞牛 NAS-13:自动追番、订阅下载 + 刮削,动漫党彻底解放双手! 作为动漫爱好者,你是否还在为...
零成本上线!用 Hugging Face免费服务器+Docker 快速部署HertzBeat 监控平台

零成本上线!用 Hugging Face免费服务器+Docker 快速部署HertzBeat 监控平台

零成本上线!用 Hugging Face 免费服务器 +Docker 快速部署 HertzBeat 监控平台 ...
多服务器管理神器 Nexterm 横空出世!NAS/Win/Linux 通吃,SSH/VNC/RDP 一站式搞定

多服务器管理神器 Nexterm 横空出世!NAS/Win/Linux 通吃,SSH/VNC/RDP 一站式搞定

多服务器管理神器 Nexterm 横空出世!NAS/Win/Linux 通吃,SSH/VNC/RDP 一站式搞...
手把手教你,购买云服务器并且安装宝塔面板

手把手教你,购买云服务器并且安装宝塔面板

手把手教你,购买云服务器并且安装宝塔面板 前言 大家好,我是星哥。星哥发现很多新手刚接触服务器时,都会被“选购...
支付宝、淘宝、闲鱼又双叕崩了,Cloudflare也瘫了连监控都挂,根因藏在哪?

支付宝、淘宝、闲鱼又双叕崩了,Cloudflare也瘫了连监控都挂,根因藏在哪?

支付宝、淘宝、闲鱼又双叕崩了,Cloudflare 也瘫了连监控都挂,根因藏在哪? 最近两天的互联网堪称“故障...