Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

java.net.UnknownHostException when installing Oracle on 11.23

joe clark
Advisor

java.net.UnknownHostException when installing Oracle on 11.23

Hello, has anyone run into this problem when installing Oracle 9.x or 10G on 11.23 PA-RISC OS. The java that is loaded is jre 1.4.2. The above error happens early on in the process.
It looks like the Oracle script is bringing back the localhost IP.Any ideas would be appreciated.
Thanks in Advance
6 REPLIES
RAC_1
Honored Contributor

Re: java.net.UnknownHostException when installing Oracle on 11.23

What is the exact error message?? Any more error details??

Is
nslookup "host_name" ok??
nslookup "host_ip" OK?
There is no substitute to HARDWORK
Mel Burslan
Honored Contributor

Re: java.net.UnknownHostException when installing Oracle on 11.23

make sure that your host has all the prerequisite patches for the version of java you are running.

you can find the patch information on the

http://www.hp.com/go/java

page and drilling down to page link containing the exact version of java you have.


________________________________
UNIX because I majored in cryptology...
joe clark
Advisor

Re: java.net.UnknownHostException when installing Oracle on 11.23

Below is the error message received from the bottom of the oracle install log:
Calling Query netQueries10.1.0.2.0 getHostIPAddress
Query Returned: 127.0.0.1
Calling Query netQueries10.1.0.2.0 getHostNameForIPAddress

ipAddress = 127.0.0.1

Query Exception: UnknownHostException
Query Exception Class: class oracle.sysman.oii.oiil.OiilQueryException
*** Cancel Dialog: ***
User Selected: Stop installation of all products.

Thrown when the IP address of a host cannot be determined
Unable to read the list of homes from the inventory.

joe clark
Advisor

Re: java.net.UnknownHostException when installing Oracle on 11.23

Rac, nslookup gives the right replies back,
in fact Oracle v92.02 loaded ok, but v92.06 and 10G use a different installer, and a different version of Java.
Mel. we believe we have all the Java patches, but apparently Oracle doesn't let you use the java that is installed under /opt, even when you put that in the oraparim.ini (JRE_LOCATION), but rather uses a bin.jar from the oracle CD.
Thanks,
Joe Clark
Yogeeraj_1
Honored Contributor

Re: java.net.UnknownHostException when installing Oracle on 11.23

hi,

did you run the InstallPrep.sh (provided by oracle on metalink) script prior to the installation?

regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Volker Borowski
Honored Contributor

Re: java.net.UnknownHostException when installing Oracle on 11.23

Hi,

looks like it is trying to do a gethostbyaddr.
You have 127.0.0.1 localhost in /etc/hosts AND the sequence "files dns" in nsswitch.conf ?

Volker