Linux 平台 Oracle 安装 报错 Check if the DISPLAY variable is set 解
在Oracle Linux 6.1 上安装Oracle 11.2.0.3, 在运行runInstaller 时报错。 具体如下:
在Oracle Linux 6.1 上安装Oracle 11.2.0.3, 在运行runInstaller 时报错。 具体如下:
[root@dave mnt]# xhost +
access control disabled, clients canconnect from any host
[root@dave mnt]# su - oracle
[oracle@dave ~]$ cd /u01/software/database/
[oracle@dave database]$ ls
doc readme.html rpm sshsetup welcome.html
install response runInstaller stage
[oracle@dave database]$ export DISPLAY=127.0.0.1:0.0
[oracle@dave database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than120 MB. Actual 9049 MB Passed
Checking swap space: must be greater than150 MB. Actual 1999 MB Passed
Checking monitor: must be configured todisplay at least 256 colors
>>> Could not execute auto checkfor display colors using command /usr/bin/xdpyinfo. Check if the DISPLAYvariable is set. Failed
Some requirement checks failed. You mustfulfill these requirements before
continuing with the installation,
Continue? (y/n) [n]
User Selected: No
Exiting Oracle Universal Installer, log forthis session can be found at /tmp/OraInstall2012-04-13_09-12-43PM/installActions2012-04-13_09-12-43PM.log
[oracle@dave database]$ export DISPLAY=192.168.3.201:0.0
[oracle@dave database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than120 MB. Actual 9049 MB Passed
Checking swap space: must be greater than150 MB. Actual 1999 MB Passed
Checking monitor: must be configured todisplay at least 256 colors
>>> Couldnot execute auto check for display colors using command /usr/bin/xdpyinfo.Check if the DISPLAY variable is set. Failed
Some requirement checks failed. You mustfulfill these requirements before
continuing with the installation,
Continue? (y/n) [n] n
User Selected: No
Exiting Oracle Universal Installer, log forthis session can be found at /tmp/OraInstall2012-04-13_09-13-45PM/installActions2012-04-13_09-13-45PM.log
[oracle@dave database]$
解决方法:在OS中注销用户并切换到oracle 用户,就可以执行了,如下:
[oracle@dave database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than120 MB. Actual 9048 MB Passed
Checking swap space: must be greater than150 MB. Actual 1999 MB Passed
Checking monitor: must be configured todisplay at least 256 colors. Actual16777216 Passed
Preparing to launch Oracle UniversalInstaller from /tmp/OraInstall2012-04-13_09-24-13PM. Please wait ...
应该还有其他的解决方法,这里不在研究原因了。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

This article explores optimizing MySQL memory usage in Docker. It discusses monitoring techniques (Docker stats, Performance Schema, external tools) and configuration strategies. These include Docker memory limits, swapping, and cgroups, alongside

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

This article addresses MySQL's "unable to open shared library" error. The issue stems from MySQL's inability to locate necessary shared libraries (.so/.dll files). Solutions involve verifying library installation via the system's package m

This article compares installing MySQL on Linux directly versus using Podman containers, with/without phpMyAdmin. It details installation steps for each method, emphasizing Podman's advantages in isolation, portability, and reproducibility, but also

This article provides a comprehensive overview of SQLite, a self-contained, serverless relational database. It details SQLite's advantages (simplicity, portability, ease of use) and disadvantages (concurrency limitations, scalability challenges). C

This guide demonstrates installing and managing multiple MySQL versions on macOS using Homebrew. It emphasizes using Homebrew to isolate installations, preventing conflicts. The article details installation, starting/stopping services, and best pra

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]
