Patch Installation Trouble - Can't connect to X11.. [message #214569] |
Wed, 17 January 2007 02:40 |
maria.frantzi
Messages: 8 Registered: January 2007
|
Junior Member |
|
|
I try to install interactively oracle patch for version 10.2.0.2
I runt the ./runInstaller command and then I receive the error below:
Can't connect to X11 window server using '192.168.2.35:0.0' as the value of the
DISPLAY variable.
192.168.2.35:0.0
192.168.2.35:0.0
OUI-10025:Unable to start an interactive install session because of the followin
g error:Can't connect to X11 window server using '192.168.2.35:0.0' as the value
of the DISPLAY variable. The DISPLAY environment variable should be set to <hos
tname or IP address>:<screen>, where the <screen> is usually '0.0'.
OUI-10026:Depending on the Unix Shell, you can use one of the following commands
as examples to set the DISPLAY environment variable:
- For csh: % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setti
ng:
echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
OUI-10027:To enable client users to access the X Server, open an xterm, dtterm o
r xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based
program that comes with the native operating system such as 'xclock':
% <full path to xclock... see below>
If you are not able to run xclock successfully, please refer to your PC-X Server
or OS vendor for further assistance.
Typical path for 'xclock': '/usr/X11R6/bin/xclock'
Do you have any idea?
Any help will be really appreciated..
Thanks,
Maria
|
|
|
|
Re: Patch Installation Trouble - Can't connect to X11.. [message #214580 is a reply to message #214576] |
Wed, 17 January 2007 03:08 |
maria.frantzi
Messages: 8 Registered: January 2007
|
Junior Member |
|
|
I tried as root user
linux@root]# xhost +
I received:
-bash: xhost: command not found
I tried as oracle user
linux@oracle]$ export DISPLAY=192.168.1.128:0.0
I received the same error described in my previous post
I tried as oracle user "export DISPLAY ":0.0""
I received:
-bash: export DISPLAY :0.0: command not found
Please help me because I am completely unfamiliar with those issues..
|
|
|
Re: Patch Installation Trouble - Can't connect to X11.. [message #214588 is a reply to message #214569] |
Wed, 17 January 2007 03:21 |
Mohammad Taj
Messages: 2412 Registered: September 2006 Location: Dubai, UAE
|
Senior Member |
|
|
Hi,
you problem explanation give solution.
go through below procedure.
1.First check which shell is you used.
linux@oracle]$echo $SHELL
if above statement show bash or sh or ksh then set your display enviourment variable like
linux@oracle]$DISPLAY=192.168.1.128:0.0; export DISPLAY
if your default shell is "CSH"
linux@oracle]$setenv DISPLAY 192.168.1.128:0.0
----------------------------------------------------------
regards
Taj
[Updated on: Wed, 17 January 2007 03:21] Report message to a moderator
|
|
|
|
|
|
|
|
Oracle 10g Installation Error [message #421225 is a reply to message #214569] |
Sun, 06 September 2009 10:03 |
|
I try to install interactively oracle patch for version 10.2.0.2
[oracle@ambi database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-09-06_08-08-20PM. Please wait ...[oracle@ambi database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.1.2:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)
i used
$ DISPLAY=192.168.1.128:0.0; export DISPLAY
$echo $SHELL
/bin/bash
$echo $DISPLAY
192.168.1.128:0.0
$xhost +
xhost: unable to open display "192.168.1.128:0.0"
$/usr/X11R6/bin/xclock'
Error: Can't open display: 192.168.1.128:0.0
after that i run
[oracle@ambi database]$ ./runInstaller
same error as per the previous so pls any one help me i am trying from 4 days its nt working pls help me
|
|
|
|
|
|
Re: Patch Installation Trouble - Can't connect to X11.. [message #421229 is a reply to message #421228] |
Sun, 06 September 2009 10:48 |
|
[oracle@ambi database]$ env | sort
this is wt i am getting
_=/bin/env
DISPLAY=192.168.1.128:0.0
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/u01/ofa/product/10.2.0
HOSTNAME=ambi
INPUTRC=/etc/inputrc
KDEDIR=/usr
LANG=en_US.UTF-8
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
OLDPWD=/u01
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/u01/ofa/product/10.2.0/bin
PWD=/u01/database
QTDIR=/usr/lib/qt-3.3
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
TERM=xterm
USER=oracle
|
|
|
|
|
|
|
Finally i Got a solution to my problem [message #421236 is a reply to message #421235] |
Sun, 06 September 2009 12:25 |
|
Solution to Oracle 10g Installation error i,e Can't connect to X11 window server using '192.168.1.2:
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-09-06_08-08-20PM. Please wait ...[oracle@ambi database]$ Exception in thread "main" java.lang.InternalError:
Can't connect to X11 window server using '192.168.1.2:0.0' as the value of the DISPLAY
try with tis
[oracle@ambi ~]$ su -
Password:
[root@ambi ~]# xclock
clock will display
if not try tis
[root@ambi ~]# DISPLAY=:0.0; export DISPLAY
then
clock will display
then
[root@ambi ~]# su - oracle
try here also
[oracle@ambi ~]$ DISPLAY=:0.0; export DISPLAY
[oracle@ambi ~]$ xclock
clock will display
[oracle@ambi ~]$ cd /u01/database
[oracle@ambi database]$ ls
doc install response runInstaller stage welcome.html
[oracle@ambi database]$ ./runInstaller
sucessfully came to Graphical environment
|
|
|
one more solution to the problem Error in writing to directory /tmp/OraInstall2009-09-06_11-23-2 [message #421238 is a reply to message #421236] |
Sun, 06 September 2009 13:05 |
|
[oracle@ambi database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLin ux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-09-06_11 -23-27PM. Please wait ...
Error in writing to directory /tmp/OraInstall2009-09-06_11-23-27PM. Please ensur e that this directory is writable and has atleast 60 MB of disk space. Installat ion cannot continue.
: No such file or directory
For this u need to Empty the tmp folder directly and then go for the trash and Empty the Trash then run
[oracle@ambi database]$ ./runInstaller
sucessfully came to Graphical environment
|
|
|
|
|
Re: I am getting an error [message #421495 is a reply to message #421334] |
Tue, 08 September 2009 14:02 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
It would help if you actually asked an actual question, if you need help.
This thread is like "It is Tuesday"... "Pleas Help Me".... "Please Real Sooon"....
|
|
|
|
Re: I am getting an error [message #449872 is a reply to message #421509] |
Thu, 01 April 2010 15:09 |
rperciva
Messages: 1 Registered: April 2010 Location: plano tx
|
Junior Member |
|
|
I agree that this is not an oracle question, but I can get the xclock to work fine but the runInstaller for oracle still prints out the same error message.
Any other ideas?
thanks
|
|
|
Re: I am getting an error [message #449874 is a reply to message #449872] |
Thu, 01 April 2010 15:24 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
It can't be "the same" error message, since then you would be installing Oracle in the past.
Also, there are a dozen different error messages in the thread, which one exactly do you get? Post the EXACT output of the
commands.
|
|
|