您好,登錄后才能下訂單哦!
這篇文章主要介紹“怎么解決安裝Oracle時(shí)檢查監(jiān)視器不通過的問題”,在日常操作中,相信很多人在怎么解決安裝Oracle時(shí)檢查監(jiān)視器不通過的問題問題上存在疑惑,小編查閱了各式資料,整理出簡(jiǎn)單好用的操作方法,希望對(duì)大家解答”怎么解決安裝Oracle時(shí)檢查監(jiān)視器不通過的問題”的疑惑有所幫助!接下來,請(qǐng)跟著小編一起來學(xué)習(xí)吧!
1.安裝數(shù)據(jù)庫(kù)軟件,提示“檢查監(jiān)視器”未通過
[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
正在啟動(dòng) Oracle Universal Installer...
檢查臨時(shí)空間: 必須大于 120 MB。 實(shí)際為 36939 MB 通過
檢查交換空間: 必須大于 150 MB。 實(shí)際為 8047 MB 通過
檢查監(jiān)視器: 監(jiān)視器配置至少必須顯示 256 種顏色
>>> 無法使用命令 /usr/bin/xdpyinfo 自動(dòng)檢查顯示器顏色。請(qǐng)檢查是否設(shè)置了 DISPLAY 變量。 未通過 <<<<
未通過某些要求檢查。必須先滿足這些 要求,
然后才能繼續(xù)安裝,
是否繼續(xù)? (y/n) [n] n
用戶選擇: 否
退出 Oracle Universal Installer, 您可以在 /tmp/OraInstall2017-07-26_03-02-54PM/installActions2017-07-26_03-02-54PM.log 中找到本次會(huì)話的日志
2.根據(jù)報(bào)錯(cuò)信息,首先想到的是配置DISPLAY變量(一般配置一下就可以解決)
[oracle@db130 database]$ export DISPLAY=:0.0
[oracle@db130 database]$ ./runInstaller
正在啟動(dòng) Oracle Universal Installer...
檢查臨時(shí)空間: 必須大于 120 MB。 實(shí)際為 36939 MB 通過
檢查交換空間: 必須大于 150 MB。 實(shí)際為 8047 MB 通過
檢查監(jiān)視器: 監(jiān)視器配置至少必須顯示 256 種顏色
>>> 無法使用命令 /usr/bin/xdpyinfo 自動(dòng)檢查顯示器顏色。請(qǐng)檢查是否設(shè)置了 DISPLAY 變量。 未通過 <<<<
未通過某些要求檢查。必須先滿足這些 要求,
然后才能繼續(xù)安裝,
是否繼續(xù)? (y/n) [n] n
用戶選擇: 否
退出 Oracle Universal Installer, 您可以在 /tmp/OraInstall2017-07-26_03-04-57PM/installActions2017-07-26_03-04-57PM.log 中找到本次會(huì)話的日志
[oracle@db130 database]$
3.配置DISPLAY變量之后還是不行。根據(jù)報(bào)錯(cuò)信息"無法使用命令 /usr/bin/xdpyinfo 自動(dòng)檢查顯示器顏色",懷疑是xdpyinfo有問題。
[root@db130 ~]# xdpyinfo
-bash: xdpyinfo: command not found
果然,系統(tǒng)中并未安裝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參數(shù),并查看"name of display"參數(shù)值
[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"變量設(shè)置DISPLAY參數(shù)后,再次執(zhí)行安裝程序,安裝頁(yè)面彈出成功。
[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
正在啟動(dòng) Oracle Universal Installer...
檢查臨時(shí)空間: 必須大于 120 MB。 實(shí)際為 36937 MB 通過
檢查交換空間: 必須大于 150 MB。 實(shí)際為 8047 MB 通過
檢查監(jiān)視器: 監(jiān)視器配置至少必須顯示 256 種顏色。 實(shí)際為 16777216 通過
準(zhǔn)備從以下地址啟動(dòng) Oracle Universal Installer /tmp/OraInstall2017-07-26_03-16-44PM. 請(qǐng)稍候...[oracle@db130 database]$
到此,關(guān)于“怎么解決安裝Oracle時(shí)檢查監(jiān)視器不通過的問題”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實(shí)踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識(shí),請(qǐng)繼續(xù)關(guān)注億速云網(wǎng)站,小編會(huì)繼續(xù)努力為大家?guī)砀鄬?shí)用的文章!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。