cancel
Showing results for 
Search instead for 
Did you mean: 

SAP system installation on Linux - java.net.UnknownHostException

former_member219338
Participant
0 Kudos

Dear all,

when I start the sapinst on linux there comes the message:

java.net.UnknownHostException:  <Host>: <Host>

Error during configuration

Error during controller startup

SL Controller existing.

And the installation does not start.

DB is installed. Java is installed and the environment variable JAVA_HOME and SAPINST_JRE_HOME are set.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member219338
Participant
0 Kudos

Found the solution:

Add the IP to hostname in /etc/hosts

After this column was defined in the hosts file the sapinst starts correctly.

Thanks to all.

Regards,

Damian

former_member191911
Contributor
0 Kudos

Are you able to run xclock ?

Kr. Mark

former_member219338
Participant
0 Kudos

Yes, within xclock the clock opens and displays the time

Regards,

Damian

Former Member
0 Kudos

Hi,

Can you check this note...Note 818971 - network error: java.net.UnknownHostException: <HOST>: <HOST>

Try to set the ‘HostName’ manually.

Thanks

Prabhakar

former_member219338
Participant
0 Kudos

Hostname was set manually without FQDN.

JPReyes
Active Contributor
0 Kudos

Assuming that you have installed a valid JDK, have you set your DISPLAY variable?

Regards, Juan

former_member219338
Participant
0 Kudos

Hi Juan,

jdk-6u60-linux-x64-rpm and j2sdk-1_4_2_42-linux-i586-rpm is installed.

JPReyes
Active Contributor
0 Kudos

What your current JAVA_HOME?...  if you do a java -version whats the result?

Regards

Juan

former_member219338
Participant
0 Kudos

When I do a java - version there comes the following result:

java version "1.7.0.15"

OpenJDK Runtime Environment (IcedTea7 2.3.7) (suse-8.3.1-x86_64)

OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

JPReyes
Active Contributor
0 Kudos

Are you running java -version on your desktop or in the Linux terminal? (You should be checking the Java version installed in your Linux Host)

JAVA_HOME should be set to a valid JDK (See PAM) 1.7.0.15 is not a supported version and its not a JDK is a JRE,

Regards, Juan

former_member219338
Participant
0 Kudos

I´ve installed JDK-2000:1.6.0_60_fcs.x86_64, too.

How can I remove Java 1.7x?

former_member219338
Participant
0 Kudos

I´ve installed JRE 1.6.0_25, now.

After a java -version there comes the following version:

java version "1.6.0_25"

Java(TM) SE Runtime Environment (build 1.60_25-b06)

Java HotSpot(TM) 64-Bit Server VM

But still the same error message

JPReyes
Active Contributor
0 Kudos

You can't use a JRE you need a JDK. (Check PAM)

j2sdk-1_4_2_42-linux-i586-rpm is installed.

Use that JDK as the JAVA_HOME and try it again.

former_member219338
Participant
0 Kudos

The J2SDK was used as JAVA_HOME and SAPINST_JRE_HOME, first.

After this doesn´t go I changed it to the JDK and then JRE but nothing helped.

If the installation writes down logs I can see anything but the only message which comes is