Home » Infrastructure » Linux » Patch Installation Trouble - Can't connect to X11..
Patch Installation Trouble - Can't connect to X11.. [message #214569] Wed, 17 January 2007 02:40 Go to next message
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 #214576 is a reply to message #214569] Wed, 17 January 2007 03:01 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Hi,
Try
Hi,
try
as root user
linux@root]# xhost +
as oracle user
linux@oracle]$ export DISPLAY=192.168.1.128:0.0
if above display command is not working then again as root user "xhost +"
and AS oracle user "export DISPLAY ":0.0""


regards
Taj
Re: Patch Installation Trouble - Can't connect to X11.. [message #214580 is a reply to message #214576] Wed, 17 January 2007 03:08 Go to previous messageGo to next message
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 Go to previous messageGo to next message
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

Re: Patch Installation Trouble - Can't connect to X11.. [message #214591 is a reply to message #214588] Wed, 17 January 2007 03:28 Go to previous messageGo to next message
maria.frantzi
Messages: 8
Registered: January 2007
Junior Member
I checked which shell I'm used and as you can see it is "bash"
[oracle@localhost Disk1]$ echo $SHELL
/bin/bash

then I typed:
[oracle@localhost Disk1]$ DISPLAY=192.168.1.128:0.0; export DISPLAY
[oracle@localhost Disk1]$ ./runInstaller
and unfortunately I get the same error message Sad


May you need to send you more information?

Please, do you have any idea?

Thanks,
Maria
Re: Patch Installation Trouble - Can't connect to X11.. [message #214600 is a reply to message #214591] Wed, 17 January 2007 03:59 Go to previous messageGo to next message
maria.frantzi
Messages: 8
Registered: January 2007
Junior Member

The error message:
-bash: xhost: command not found

means that something necessary is not installed or there are no sufficient privilleges?
Re: Patch Installation Trouble - Can't connect to X11.. [message #214632 is a reply to message #214600] Wed, 17 January 2007 05:51 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
You should be able to follow this process (Configuring the oracle User's Environment) to ensure proper configuration. It appears that your PATH variable isn't set correctly.
Re: Patch Installation Trouble - Can't connect to X11.. [message #270932 is a reply to message #214580] Fri, 28 September 2007 07:52 Go to previous messageGo to next message
maxtor
Messages: 1
Registered: September 2007
Location: india
Junior Member

Hi how did you solve your problem

i am also facing it
some times i could able to do with the existing settings and some time it ask me to change the DISPLAY variable
in oracle installation it ask me to check the xclock settings



please tell me how did you had done with you problem
Re: Patch Installation Trouble - Can't connect to X11.. [message #270944 is a reply to message #270932] Fri, 28 September 2007 09:08 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
Did you bother trying the advice indicated above? Check X Window Display Errors for additional advice.
Oracle 10g Installation Error [message #421225 is a reply to message #214569] Sun, 06 September 2009 10:03 Go to previous messageGo to next message
ambitn324
Messages: 29
Registered: September 2009
Location: India
Junior Member

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: Oracle 10g Installation Error [message #421226 is a reply to message #421225] Sun, 06 September 2009 10:07 Go to previous messageGo to next message
Michel Cadot
Messages: 59414
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Be sure it is the correct IP for your client.

Regards
Michel
Re: Oracle 10g Installation Error [message #421227 is a reply to message #421225] Sun, 06 September 2009 10:18 Go to previous messageGo to next message
ambitn324
Messages: 29
Registered: September 2009
Location: India
Junior Member

hw to chk the id address
Re: Patch Installation Trouble - Can't connect to X11.. [message #421228 is a reply to message #214569] Sun, 06 September 2009 10:27 Go to previous messageGo to next message
BlackSwan
Messages: 22901
Registered: January 2009
Senior Member
post results from following commands


env | sort
Re: Patch Installation Trouble - Can't connect to X11.. [message #421229 is a reply to message #421228] Sun, 06 September 2009 10:48 Go to previous messageGo to next message
ambitn324
Messages: 29
Registered: September 2009
Location: India
Junior Member

[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
Re: Patch Installation Trouble - Can't connect to X11.. [message #421231 is a reply to message #421229] Sun, 06 September 2009 11:19 Go to previous messageGo to next message
ambitn324
Messages: 29
Registered: September 2009
Location: India
Junior Member

are you there mr michel
Re: Patch Installation Trouble - Can't connect to X11.. [message #421232 is a reply to message #421229] Sun, 06 September 2009 11:20 Go to previous messageGo to next message
Michel Cadot
Messages: 59414
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
First make "xclock" work and this is NOT an Oracle question, then come back here Oracle related question.

Regards
Michel
Re: Patch Installation Trouble - Can't connect to X11.. [message #421233 is a reply to message #421232] Sun, 06 September 2009 11:42 Go to previous messageGo to next message
ambitn324
Messages: 29
Registered: September 2009
Location: India
Junior Member

k,,,,,,cool ill try to resolve XCLOCK
i am gettig error as

[oracle@ambi database]$ xclock
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: :0.0


Re: Patch Installation Trouble - Can't connect to X11.. [message #421235 is a reply to message #421233] Sun, 06 September 2009 11:50 Go to previous messageGo to next message
ambitn324
Messages: 29
Registered: September 2009
Location: India
Junior Member

Xclock is working in root
i.e i did
[oracle@ambi database]$ su -
Password:
[root@ambi ~]# xclock


clock is comming wt next Embarassed
Finally i Got a solution to my problem [message #421236 is a reply to message #421235] Sun, 06 September 2009 12:25 Go to previous messageGo to next message
ambitn324
Messages: 29
Registered: September 2009
Location: India
Junior Member


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 Cool
Laughing
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 Go to previous messageGo to next message
ambitn324
Messages: 29
Registered: September 2009
Location: India
Junior Member

[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
I am getting an error [message #421330 is a reply to message #421238] Mon, 07 September 2009 09:27 Go to previous messageGo to next message
ambitn324
Messages: 29
Registered: September 2009
Location: India
Junior Member

[root@ambi ~]# su - oracle
-bash-3.00$
-bash-3.00$


pls help me
Re: I am getting an error [message #421334 is a reply to message #421330] Mon, 07 September 2009 09:35 Go to previous messageGo to next message
ambitn324
Messages: 29
Registered: September 2009
Location: India
Junior Member

reply soooooooooon
Re: I am getting an error [message #421495 is a reply to message #421334] Tue, 08 September 2009 14:02 Go to previous messageGo to next message
ThomasG
Messages: 3101
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 #421509 is a reply to message #421334] Tue, 08 September 2009 22:37 Go to previous messageGo to next message
BlackSwan
Messages: 22901
Registered: January 2009
Senior Member
Read The Fine Manual below

http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/toc.htm

& follows what it says to do.
Be assured that RTFM has worked for many, many, many folks.

If you can't make Oracle work, switch to using Access.
Re: I am getting an error [message #449872 is a reply to message #421509] Thu, 01 April 2010 15:09 Go to previous messageGo to next message
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 Go to previous message
ThomasG
Messages: 3101
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

set

./runInstaller


commands.
Previous Topic: DBCA command not found, Ubuntu w/ Oracle 10g
Next Topic: Installing 11gR2 on Ubuntu 9.10
Goto Forum:
  


Current Time: Tue Oct 21 17:00:04 CDT 2014

Total time taken to generate the page: 0.27142 seconds