• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installation error in Oracle's Universal Installer

 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I try
export DISPLAY=IP:0.0
xhost +
The error is the same
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Yes, of course, and I accept that blame. In fact, i covet that blame. As does this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic