Visit Jeremy's Blog.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 10-18-2010, 03:07 PM   #1
LQ Newbie
Registered: Oct 2010
Posts: 3

Rep: Reputation: 0
Error during oracle 10 installation on solaris 10

Hello dear members,

I'm running on my local machine only Solaris 10 X86-32, no other windows OS. It has no connection to Internet.

I'm trying to install Oracle 10g (using the command line interface) and I'm getting the following error while running the runInstaller script as oracle user:

"Checking monitor: must be configured to display at least 256 colors >>> 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"

Please note that I'm not doing a remote installation, I need to install oracle on my local solaris server.

The IP of solaris 10 server is

After solaris 10 installation I did the following oracle pre-installation steps:

---> adding the dba group as below:

# groupadd dba
# useradd -G dba -m -d /export/home/oracle -s /usr/bin/bash oracle

---> adding the following line to the /etc/system file to set the system parameters:

set noexec_user_stack=1

---> configuring the system settings for Oracle :

# projadd -U oracle -K "project.max-shm-memory=(priv,4g,deny)"
# projmod -sK "project.max-sem-nsems=(priv,256,deny)"
# projmod -sK "project.max-sem-ids=(priv,100,deny)"
# projmod -sK "project.max-shm-ids=(priv,100,deny)"

---> adding the following lines to the /export/home/oracle/.bash_profile file and then setting the environment by running the file (. .bash_profile):


---> checking that all of the following packages are installed:

pkginfo -i SUNWlibms SUNWtoo SUNWi1cs SUNWi15cs SUNWxwfnt SUNWxwplt SUNWmfrun SUNWxwplr SUNWxwdv SUNWgcc SUNWbtool SUNWi1of SUNWhea SUNWlibm SUNWsprot SUNWuiu8

-bash-3.00$ cat /etc/hosts
# Internet host table
::1 localhost localhost.localdomain localhost solaris10

I also created the .profile file in the oracle home directory and then I ran it, having the following contain:

# This is the default standard profile provided to a user.
# They are expected to edit it to meet their own needs.
TMP=/tmp; export TMP
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
PATH=/usr/sbin:$PATH; export PATH

I'm able to run the xclock application as root user, but not as oracle user, getting the following output: "bash: xclock: command not found" - even if I use xhost + or xhost + IP or export DISPLAY=IP:0.0 commands

What am I missing here? What is it wrong?

Thanks in advance

Best Regards,

Old 10-18-2010, 05:49 PM   #2
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
I would check to make sure DISPLAY is set prior to kicking off you install

#echo $DISPLAY

for the xclock not found error you probably just don't have it in your path try using the full path it should be /usr/openwin/bin/xclock
Old 10-19-2010, 03:02 AM   #3
LQ Newbie
Registered: Oct 2010
Posts: 3

Original Poster
Rep: Reputation: 0

Thank you for your response.

My understanding was that if I'm able to successfully run the xclock application as oracle user, then I can successfully run the installation script as well.

Please find the below output - I'm facing the following situation: I open a new terminal session as root, and I'm able to successfully run the xclock or /usr/openview/bin/xclock commands. I switch to oracle user, in the same terminal window and I'm not able to run the above commands; if I switch back to root, I'm also not able to run the xclock application. The only solution is to open a new terminal session as root and then I can successfully run xclock appl.

# xclock
# su - oracle
Oracle Corporation SunOS 5.10 Generic Patch January 2005
-bash-3.00$ echo $DISPLAY

-bash-3.00$ xclock
-bash: xclock: command not found
-bash-3.00$ /usr/openwin/bin/xclock
Error: Can't open display:
-bash-3.00$ export DISPLAY=
-bash-3.00$ xhost +
-bash: xhost: command not found
-bash-3.00$ export DISPLAY=
-bash-3.00$ xhost +
-bash: xhost: command not found
-bash-3.00$ xclock
-bash: xclock: command not found
-bash-3.00$ su -
Oracle Corporation SunOS 5.10 Generic Patch January 2005
# xclock
xclock: not found
# /usr/openwin/bin/xclock
Error: Can't open display:

If I want to install oracle on the same machine, not a remote installation, what should be the value of DISPLAY variable?

Best Regards,

Old 10-19-2010, 03:34 AM   #4
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,716

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Log in as oracle user in the first place instead of launching the graphic environment as root which is not a recommended practice.
Old 10-19-2010, 04:35 AM   #5
LQ Newbie
Registered: Oct 2010
Posts: 3

Original Poster
Rep: Reputation: 0

Thank you jlliagre, Blinker_Fluid, for your responses

The mistake was that each time I was logging in as root and after that I was switching to the oracle user and trying to run the runInstaller script .. which was giving me the described error

I set a password for oracle user, I logged out and I logged in back as oracle user. I opened the terminal session and I successfully met all the installer requirements

Thanks again

Best Regards,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error occured during oracle database 10g installation muvendrann Linux - Software 1 10-06-2009 10:17 AM
Oracle 11 Installation error lennyli Linux - Software 2 05-06-2009 12:55 PM
sybase installation error in solaris 9 a.toraby Solaris / OpenSolaris 1 03-03-2008 11:14 AM
Oracle installation: error lockup space wanted peter_kz Linux - Software 9 04-01-2005 08:11 PM
Oracle Installation / runInstaller error ultraman Linux - Software 9 05-31-2003 06:47 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration