File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installation error in Oracle's Universal Installer

 
Sophia Choi
Ranch Hand
Posts: 106
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 919
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 106
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I try
export DISPLAY=IP:0.0
xhost +
The error is the same
 
James O'Dell
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 106
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic