My Blog

November 17, 2008

Oracle 10gr2 installation on Solaris: monitor must be configured to display at least 256 colors

Filed under: Oracle — by enotebook @ 11:27 am

When installing Oracle 10g release 2 on an Intel x86 box from a remote connection, you may encounter an error after the command runInstaller issued – something like monitor must be configured to display at least 256 colors.

-bash-3.00$ /opt/stage/database/runInstaller
Starting Oracle Universal Installer…
Checking installer requirements…
Checking operating system version: must be 5.10. Actual 5.10
Passed
Checking Temp space: must be greater than 250 MB. Actual 1019 MB Passed
Checking swap space: must be greater than 500 MB. Actual 1597 MB Passed
Checking monitor: must be configured to display at least 256 colors^C
>>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,at which time they will be rechecked.
Continue? (y/n) n
User Selected: No
Exiting Oracle Universal Installer, log for this session can be found at /export/home/oracle/oraInventory/logs/installActions2008-11-17_10-01-33AM.log
-bash-3.00$

The reason is the client you are installing Oracle cannot display the outputs while executing command /usr/openwin/bin/xdpyinfo, you may get it work when running as root user, but it fails when current OS user is oracle.
We can set the DISPLAY varible to solve the problem.
bash-3.00# xhost + –execute this under root user

-bash-3.00$ export DISPLAY=Your_Client_IP_Address:0.0
-bash-3.00$ /usr/openwin/bin/xclock –chech if it works
-bash-3.00$ /opt/stage/database/runInstaller
Starting Oracle Universal Installer…
Checking installer requirements…
Checking operating system version: must be 5.10. Actual 5.10
Passed
Checking Temp space: must be greater than 250 MB. Actual 1018 MB Passed
Checking swap space: must be greater than 500 MB. Actual 1597 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-11-17_10-14-51AM. Please wait …-bash-3.00$ Oracle Universal Installer, Version 10.2.0.2.0 Production
Copyright (C) 1999, 2006, Oracle. All rights reserved.
No swap devices configured
Oracle Universal Installer, Version 10.2.0.2.0 Production
Copyright (C) 1999, 2006, Oracle. All rights reserved.

Now installation is moving ahead.
Done.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: