Oracle installation on Ubuntu
When I tried to install Oracle10g on my Ubuntu, the problem always appers:
oracle@Frank-PC:~/database$ ./runInstaller -jreLoc /usr/lib/jre1.5.0_06 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/OraInstall2006-01-29_12-34-01PM. Please wait ...oracle@Frank-PC:~/database$ Exception java.lang.NullPointerException occurred.. java.lang.NullPointerException at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:553) at oracle.sysman.oii.oiic.OiicBaseApp.setAdditionalProperties(OiicBaseApp.java:369) at oracle.sysman.oii.oiic.OiicInstaller.processCommandLine(OiicInstaller.java:668) at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:887) at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866) Can't connect to X11 window server using '192.168.1.188:0.0' as the value of the DISPLAY variable. Exception in thread "main" java.lang.ExceptionInInitializerError at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:2 32) at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManage r.java:193) at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.j ava:202) at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:151) at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984) at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866) Caused by: java.lang.NullPointerException at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:553) at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:368) at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:119) ... 6 more I wonder if I could get a hand from you guys, thanks a lot! |
Hi,
when you take a look at the OUI output you see "Can't connect to X11 ..."; in other words the X Server is missing a display to output the oui screen. This is probably becaus you are trying to install from a remote terminal / remote host. Simply go to the server console, open a terminal window like xterm, change to the directory where runInstaller is located and try again. If you are establishing a remote session with ssh do not forget the -X switch. good luck martin |
Thank u anyway
Quote:
I installed my Ubuntu Linux on Frank-PC, and what I did before are all on this PC locally. |
up!!!!!!!!
|
Huh? Is it still not working? If you're doing this locally type "xhost +localhost" to allow all local connections to the X server and try again.
|
It's strange!
Quote:
But I can do that using "root", but for the other users, it doesn't work! I got lost! It shows: root@Frank-PC:~# xhost access control enabled, only authorized clients can connect INET:Frank-PC root@Frank-PC:~# su - oracle oracle@Frank-PC:~$ xhost xhost: unable to open display "" oracle@Frank-PC:~$ export DISPLAY=192.168.1.188:0.0 oracle@Frank-PC:~$ xhost xhost: unable to open display "192.168.1.188:0.0" |
All times are GMT -5. The time now is 02:38 PM. |