解決安裝Oracle時檢查監視器不透過的問題
1.安裝資料庫軟體,提示“檢查監視器”未透過
2.根據報錯資訊,首先想到的是配置DISPLAY變數(一般配置一下就可以解決)
3.配置DISPLAY變數之後還是不行。根據報錯資訊"無法使用命令 /usr/bin/xdpyinfo 自動檢查顯示器顏色",懷疑是xdpyinfo有問題。
果然,系統中並未安裝xdpyinfo,那麼先安裝xdpyinfo
4.再次檢查xdpyinfo引數,並檢視"name of display"引數值
5.使用"name of display"變數設定DISPLAY引數後,再次執行安裝程式,安裝頁面彈出成功。
到此,“無法使用命令 /usr/bin/xdpyinfo 自動檢查顯示器顏色。請檢查是否設定了 DISPLAY 變數。”問題完美解決。
-
[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 中找到本次會話的日誌
-
[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]$
-
[root@db130 ~]# xdpyinfo
- -bash: xdpyinfo: command not found
-
[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 ~]#
-
[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
-
[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 變數。”問題完美解決。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29734436/viewspace-2143036/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 解決安裝Oracle時檢查監視器不通過的問題Oracle
- oracle 安裝時先決條件檢查失敗的解決方案Oracle
- oracle10g中部分檢視查詢非常‘慢“問題解決Oracle
- 發現幾個小問題安裝時,模型檢視時模型
- 在Linux上安裝Oracle時DISPLAY問題解決方案LinuxOracle
- Oracle RAC之--安裝過程中碰到的問題及解決方法Oracle
- 安裝Oracle RAC時,不能驗證ASMSNMP密碼問題的解決OracleASM密碼
- 解決pod健康檢查問題
- 解決ORACLE無法啟動安裝的問題Oracle
- ORACLE監聽器 The listener supports no services 問題解決方法Oracle
- inux安裝oracle rac機器的時間同步問題UXOracle
- 【mysql】配置MySQL,解決安裝過程中的問題MySql
- 安裝Oracle不滿足系統檢查條件的解決方法Oracle
- redis 安裝及安裝遇到的問題解決Redis
- 解決網通如何安裝路由器的問題路由器
- linux安裝oracle rac機器的時間同步問題LinuxOracle
- oracle 10g R2 安裝過程遇到的問題及解決方法Oracle 10g
- jenkins安裝的時候 提示字型問題的解決方法Jenkins
- 轉:Oracle 臨時表空間過大問題解決Oracle
- 轉:Git伺服器安裝詳解及安裝遇到問題解決方案Git伺服器
- ORACLE啟動監聽器 The listener supports no services 問題解決方法Oracle
- conda安裝r-base時PackagesNotFoundError問題解決PackageError
- redis安裝及問題解決Redis
- 用conda安裝庫時遇到環境查詢失敗問題解決方案
- Mysql安裝過程中遇到的問題及解決辦法MySql
- Oracle10g for AIX6.1安裝問題解決OracleAI
- IPython的安裝及問題解決Python
- ORACLE10G 監聽僵死問題的解決Oracle
- Android 解析包時出現問題 的解決方案(應用檢查更新)Android
- Go 解決國內go get安裝包超時問題Go
- elk(單機)安裝過程中遇到的問題及解決方法
- oracle 安裝資料庫時 檢查 nobody 使用者Oracle資料庫
- 安裝oracle 11g 客戶端,檢查過程中報實體記憶體不足的解決Oracle客戶端記憶體
- Oracle11g安裝過程遇到的問題Oracle
- 解決在redhat 6上安裝oracle11g r2時提示pdksh 沒有安裝問題RedhatOracle
- Oracle 12cR2 RAC安裝配置及問題解決Oracle
- 解決centos 7 安裝、檢查和配置源為aliyun解決方案CentOS
- 裝SAP GUI時遇到的問題及解決GUI