Operating System - HP-UX
1748228 Members
4466 Online
108759 Solutions
New Discussion юеВ

Installing Oracle 9i (9.2.0) and Get X11 error

 
SOLVED
Go to solution
Gunther Schulze
Frequent Advisor

Installing Oracle 9i (9.2.0) and Get X11 error

Please help if you know how to fix this problem.

I'm installing Oracle 9i (9.2.0), and when I try to run the installer as user oracle, I get the following error:

Xlib: connection to "servername:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'servername:0.0' as the value of the DISPLAY variable.

There are some more errors that follow this.

Please help!!!
The only constant in life is change.
5 REPLIES 5
Jeff Schussele
Honored Contributor
Solution

Re: Installing Oracle 9i (9.2.0) and Get X11 error

Hi Gunther,

I assume this is a local install.
Try
xxx.xxx.xxx.xxx:0.0
or
localhost:0.0
for the DISPLAY variable.
Also you need to run
xhost +
to allow the connection

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Robert-Jan Goossens
Honored Contributor

Re: Installing Oracle 9i (9.2.0) and Get X11 error

Hi,

before you login to the new installed oracle server

# xhost +
login the server
# export DISPLAY=ipadres_local_server:0.0
run the installer command.

HTH
Robert-Jan.
Gunther Schulze
Frequent Advisor

Re: Installing Oracle 9i (9.2.0) and Get X11 error

I ran xhost + and get the following error:

Xlib: connection to "servername:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xhost: unable to open display "servername:0.0"

I get the same error when I attempt to do this with the IP address.
The only constant in life is change.
Gunther Schulze
Frequent Advisor

Re: Installing Oracle 9i (9.2.0) and Get X11 error

I ran xhost + as root, and then as oracle, and everything is fine.

Thanks Gentlemen!!!
The only constant in life is change.
Jean-Luc Oudart
Honored Contributor

Re: Installing Oracle 9i (9.2.0) and Get X11 error

did you run xhost + as root ?
~~~~~~~~~~~~~~~~~~~~
Solution Description -------------------- This problem has to to with X windows calls not being set up. The way to get around this problem is to exit out of the oracle user and log in as root. Once you are logged in as root type xhost + and you will get a message back: access control disabled, clients can connect from any host Once this message is returned you can su - oracle, source your environment, then type in oidadmin. Explanation ----------- After the Unix box has been shut down 'xhost +' needs to be run to allow users to connect without using a ACL (access control list). This allows user's to display to their IP address.
~~~~~~~~~~~~~~ from Metalink

Rgds,
JL
fiat lux