Solaris / OpenSolarisThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 192.168.2.14
After solaris 10 installation I did the following oracle pre-installation steps:
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.
MAIL=/usr/mail/${LOGNAME:?}
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID=TSH1; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
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
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=192.168.2.14
-bash-3.00$ xhost +
-bash: xhost: command not found
-bash-3.00$ export DISPLAY=192.168.2.14:0.0
-bash-3.00$ xhost +
-bash: xhost: command not found
-bash-3.00$ xclock
-bash: xclock: command not found
-bash-3.00$ su -
Password:
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?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.