DISPLAY Error (2 merged) [message #481753] |
Sat, 06 November 2010 00:09 |
PanamDimas
Messages: 63 Registered: April 2010 Location: Maryland . U.S.A
|
Member |
|
|
Hello Senior Members,
I am working to install oracle 11g R1 on a RAC enviroment and part of the article I have followed closely for the installation says I should set the environment variable DISPLAY of my RHEL 5.1(Bash shell) system named Marine1 to a valid X Windows display.
I ran the following command I got from the article to do that but got error:
[oracle@Marine1 ~]$ DISPLAY=<Any X-Windows Host>:0
bash: Any: No such file or directory
I know I am missing the proper words to substitute.
I need help with the proper command to set the environment variable DISPLAY to a valid X Windows display
Thanks
Panam
|
|
|
|
|
Re: Setting DISPLAY [message #481790 is a reply to message #481753] |
Sat, 06 November 2010 11:33 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
EXACTLY & in detail how are you connecting to machine running EL5?
post results as shown below
bcm@bcm-laptop:~$ env | sort
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-BWnS2KcPPv,guid=46f1a555cd7161735f94a2b04cd55f67
DEFAULTS_PATH=/usr/share/gconf/gnome.default.path
DESKTOP_SESSION=gnome
DISPLAY=:0.0
EDITOR=vi
GDM_KEYBOARD_LAYOUT=us
GDM_LANG=en_US.utf8
GDMSESSION=gnome
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/tmp/keyring-hcIqM4
GNOME_KEYRING_PID=1680
GTK_MODULES=canberra-gtk-module
HOME=/home/bcm
LANG=en_US.utf8
LD_LIBRARY_PATH=/usr/lib:/usr/lib32
LOGNAME=bcm
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
OH=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=v112
ORBIT_SOCKETDIR=/tmp/orbit-bcm
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/home/bcm
SESSION_MANAGER=local/bcm-laptop:@/tmp/.ICE-unix/1698,unix/bcm-laptop:/tmp/.ICE-unix/1698
SHELL=/bin/bash
SHLVL=1
SPEECHD_PORT=7560
SSH_AGENT_PID=1735
SSH_AUTH_SOCK=/tmp/keyring-hcIqM4/ssh
TERM=xterm
USER=bcm
USERNAME=bcm
_=/usr/bin/env
WINDOWID=20971524
XAUTHORITY=/var/run/gdm/auth-for-bcm-S6V8eJ/database
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_SESSION_COOKIE=8e2a1cbb492e2c937569d5104be36eb1-1289052006.517213-1161555863
bcm@bcm-laptop:~$
[Updated on: Sat, 06 November 2010 11:34] Report message to a moderator
|
|
|
DISPLAY Error [message #481850 is a reply to message #481753] |
Sun, 07 November 2010 16:44 |
PanamDimas
Messages: 63 Registered: April 2010 Location: Maryland . U.S.A
|
Member |
|
|
Hi Senior Members,
I am trying to install Oracle 11gR1 on RHEL 5.1. in a 2 node RAC enviroment. I ran the Pre Installation check using the CVU and passed all checks:(Pre-check for cluster services setup was successful.)
I had also (as oracle user) set the display thus:
$ DISPLAY=<Any X-Windows Host>:0
$ export DISPLAY
I ran the installer but got the follwing error
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/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]
How do I resolve this?
Thank you.
David
|
|
|
|
Re: DISPLAY Error (2 merged) [message #481852 is a reply to message #481753] |
Sun, 07 November 2010 17:05 |
PanamDimas
Messages: 63 Registered: April 2010 Location: Maryland . U.S.A
|
Member |
|
|
Thanks for the swift response Blackswan.
here is the output:
[oracle@Marine1 ~]$ env | sort
CLASSPATH=/u01/app/oracle/product/11.1.0/db_1/JRE:/u01/app/oracle/product/11.1.0/db_1/jlib:/u01/app/oracle/product/11.1.0/db_1/rdbms/ jlib:/u01/app/oracle/product/11.1.0/db_1/network/jlib
COLORTERM=gnome-terminal
CVS_RSH=ssh
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-QPFLtRAnTv,guid=5a71822c3d6ed2b3e8eb04004cd71dc6
DESKTOP_SESSION=default
DESKTOP_STARTUP_ID=
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GDM_XSERVER_LOCATION=local
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-thZYqv/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=Marine1
INPUTRC=/etc/inputrc
JAVA_HOME=/usr/local/java
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/u01/app/oracle/product/11.1.0/db_1/lib:/u01/app/oracle/product/11.1.0/db_1/oracm/lib:/lib:/usr/lib:/usr/local/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32: *.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*. zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00; 35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
NLS_DATE_FORMAT=DD-MON-YYYY HH24:MI:SS
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
ORACLE_PATH=/u01/app/oracle/dba_scripts/common/sql:.:/u01/app/oracle/product/11.1.0/db_1/rdbms/admin
ORACLE_SID=marinedb
ORACLE_TERM=xterm
ORA_CRS_HOME=/u01/app/crs
ORA_NLS10=/u01/app/oracle/product/11.1.0/db_1/nls/data
PATH=.:/usr/local/java/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/bin:/u01/app/o racle/product/11.1.0/db_1/bin:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin:/u01/app/oracle/dba_scripts/common/bin
PWD=/home/oracle
SESSION_MANAGER=local/Marine1:/tmp/.ICE-unix/4009
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=4045
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-IrVypM4009/agent.4009
TEMP=/tmp
TERM=xterm
THREADS_FLAG=native
TMPDIR=/tmp
TNS_ADMIN=/u01/app/oracle/product/11.1.0/db_1/network/admin
USERNAME=oracle
USER=oracle
_=/usr/bin/env
WINDOWID=24136117
XAUTHORITY=/tmp/.gdm8BQLLV
XMODIFIERS=@im=none
|
|
|
|
Re: DISPLAY Error (2 merged) [message #481855 is a reply to message #481753] |
Sun, 07 November 2010 17:12 |
PanamDimas
Messages: 63 Registered: April 2010 Location: Maryland . U.S.A
|
Member |
|
|
Just as an addition,
I had ran the following command:
$ DISPLAY=192.168.1.100:0
$ export DISPLAY
(192.168.1.100:0 is host ip (from the system I am running the installer:)
Thank You Panam
|
|
|
Re: DISPLAY Error (2 merged) [message #481856 is a reply to message #481854] |
Sun, 07 November 2010 17:17 |
PanamDimas
Messages: 63 Registered: April 2010 Location: Maryland . U.S.A
|
Member |
|
|
I am connecting locally.
I log in via the GUI as Oracle user on the first node named Marine1.
I typed
$ xclock
It shows up.
My xclock is working fine on both nodes.
Panam
|
|
|
|
Re: DISPLAY Error (2 merged) [message #481858 is a reply to message #481857] |
Sun, 07 November 2010 17:47 |
PanamDimas
Messages: 63 Registered: April 2010 Location: Maryland . U.S.A
|
Member |
|
|
ok Sir,
(1). I have 2 nodes(DB servers) loaded with RHEL 5.1
Xclock is working fine on the SERVERS. I LOG INTO THE FIRST (NODE) SERVER AS ORACLE USER SO I CAN INSTALL ORACLE.
(2)Problem exist from the 1st server: OUI is not running.
It is it giving me this error:
[oracle@Marine1 ~]$ /home/oracle/orainstall/database/runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 80 MB. Actual 23300 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2561 MB Passed
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/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] n
(3). I had earlier set the display using the following command FROM THE FIRST SERVER:
$ DISPLAY=192.168.1.100:0
$ export DISPLAY
I want to resolve the error so OUI can run
Thank you
|
|
|
Re: DISPLAY Error (2 merged) [message #481859 is a reply to message #481858] |
Sun, 07 November 2010 18:27 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
>>$ DISPLAY=192.168.1.100:0
It is supposed to be
$ DISPLAY=192.168.1.100:0.0
If it still does not work
You might probably need just an
On other hand, if you are logging in directly/locally and xclock just works fine, DISPLAY to localhost:0.0
And see what happens if you just ignore the message and proceed?
In certain cases, this is just pre-req.
[Updated on: Mon, 08 November 2010 10:56] Report message to a moderator
|
|
|
|
Re: DISPLAY Error (2 merged) [message #481957 is a reply to message #481861] |
Mon, 08 November 2010 10:43 |
mkounalis
Messages: 147 Registered: October 2009 Location: Dallas, TX
|
Senior Member |
|
|
Methinks your X knowledge needs some beefing up OP. On the server you are connecting to, as root, you need to run 'xhost +'. This allows X sessions to be exported. (I am simplifying and paraphrasing . . . ). On the system you are wanting to display the X window on, you need to set your display variable. So you then telnet to the box you want to run your X window from, set the environment variable 'set DISPLAY=192.168.1.100:0.0; export DISPLAY', then try and run xclock from your telnet window. If it appears, your X environment is setup correctly. If you are on the same system you are trying to install on, with one telnet session logged in as 'oracle' to do the installation from, you still need to do a 'xhost +' from a ROOT WINDOW!!. Also, you may have luck setting your display environment variable to 'set DISPLAY=localhost:0.0; export DISPLAY'. If you reboot the box, you need to do a 'xhost +' from root again to allow X to work the way you need it to. Hope this helps. Good luck!
|
|
|