This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Installation error in Oracle's Universal Installer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Installation error in Oracle Watch "Installation error in Oracle New topic
Author

Installation error in Oracle's Universal Installer

Sophia Choi
Ranch Hand

Joined: Mar 22, 2002
Posts: 106
I get an error to install Oracle's Universal Installer in Linux 7.1.
The error states that
xlib:connection to ":0.0" regused by server
xlib:client is not authorized to connect to server
Exception in thread "main" java.lang.internalerror can'g connect to X11 window server using ':0.0' as the value of the DISPLAY variable
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
I am not an oracle person but from the error message it looks like you may need to set your DISPLAY environment variable correctly. I presume you are running XWindows when you try to install oracle, because if you are not it looks like maybe you should be.
Sophia Choi
Ranch Hand

Joined: Mar 22, 2002
Posts: 106
I try
export DISPLAY=IP:0.0
xhost +
The error is the same
James O'Dell
Greenhorn

Joined: Apr 29, 2002
Posts: 16
Sophia,
Can you run other X applications from your machine? Are you installing Oracle on the same machine that your X server is running on?
--Jim
Randy Motluck
Greenhorn

Joined: Jul 19, 2002
Posts: 10
You might be getting the connection refused because you logged in as sophia and then ran the oracle install script as user 'oracle'. Make sure to do an xhost+ or xhost +<myhostname> as the user that you logged in with (sophia in this case). Then as user oracle running the install script, export DISPLAY=<myhostname>:0.0 and run the script. That is all provided you are on the same machine....
If you are on a different machines, do the xhost+ on the machine you are sitting at, and the export DISPLA.... on the remote machine.
Good Luck,
Randy
Randy Motluck
Greenhorn

Joined: Jul 19, 2002
Posts: 10
Sorry my last post had some stuff ripped out of the text. The xhost command can be xhost + to accept any incoming X program or xhost +myhostname for just one particular host.
Sorry I had some less-than and greater-than's that must have filtered out.
Sophia Choi
Ranch Hand

Joined: Mar 22, 2002
Posts: 106
Thanks for all.
Randy.You are right. I used my id to set xhost +.
Finally, I get correct. As I use root to set xhost + and use a non-root id to run oracle script.
Thank you
Lars Fischer
Greenhorn

Joined: Jul 10, 2002
Posts: 14
Just one general hint for installing Oracle under Linux:
http://www.suse.com/oracle
The documentation was very helpful for me. There are also some predefined scripts.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installation error in Oracle's Universal Installer