cancel
Showing results for 
Search instead for 
Did you mean: 

Error when start a SAP installation (SWPM) - Linux/Oracle

Former Member
0 Kudos

Hello,

I´m trying to install a SAP SCM system (NW 7.0 EHP3) in a linux (SLES 11) with a Oracle 11.2.0.3 but when I start the software provisioning manager (SWPM) it returns the following error:

sapsleora:/SAP/SWPM # ./sapinst
[==============================] | extracting...  done!

SAPinst build information:
--------------------------
abi version:   722
make variant:  720_REL
build:         1482650
compile time:  Mar 16 2014 16:11:13
make type:     optu
codeline:      720-2_REL
platform:      linuxx86_64
Exe directory: /tmp/sapinst_exe.13973.1395355025

guiengine: 2014-03-20 22:37:14 Waiting for client connection (1)

Starting GUIServer using:
  SAPinst port         : pipe:5:8
  GUIServer port       : 21212
  GUI autostart        : on
  GUI mode             : normal
  command       : /tmp/sapinst_exe.13973.1395355025/jre/bin/java -Xmx256M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.13973.1395355025/JAR/instgui.jar SDTServer rootdir=/root/.sdtgui config=jar:sdtserver.xml guiport=21212 httpport=4239 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:5:8

load resource pool /SAP/SWPM/resourcepool.xml
Mar 20, 2014 10:37:16 PM [Info]: *************************
Mar 20, 2014 10:37:16 PM [Info]: Starting Server
Mar 20, 2014 10:37:17 PM [Error]: java.net.UnknownHostException: sapsleora: sapsleora
Mar 20, 2014 10:37:17 PM [Error]: java.net.UnknownHostException: sapsleora: sapsleora
Mar 20, 2014 10:37:17 PM [Error]: Error during configuration - see preceding messages.
Mar 20, 2014 10:37:17 PM [Fatal]: Error during controller startup.
Mar 20, 2014 10:37:17 PM [Fatal]: SL Controller exiting.

guiengine: No GUI server connected; waiting for a connection on host sapsleora, port 21212 to continue with the installation
The process that should run the SAPinst GUI could not be started. Please make sure that a JDK is installed on this host and that SAPINST_JRE_HOME points to the root directory of your Java installation. As an alternative you may start the GUI on another host (for details please consult the installation guide).

Java has been started with the following command line:
-Xmx256M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.13973.1395355025/JAR/instgui.jar SDTServer rootdir=/root/.sdtgui config=jar:sdtserver.xml guiport=21212 httpport=4239 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:5:8

Can you help me to solve this error please?

Kind regards,

samid raif

Accepted Solutions (1)

Accepted Solutions (1)

former_member182657
Active Contributor
0 Kudos

Hi Samid,

The issue related with your host entries under /etc/hosts file .


java.net.UnknownHostException: sapsleora: sapsleora

The exception is really saying is that there is no known server with the name "local".As per me you're trying to connect to your local computer. Try with the hostname "localhost" instead, or perhaps 127.0.0.1/::1

Your host file entries would be like as below:


127.0.0.1   localhost.localdomain   localhost

<IP-address of your server>   <hostname of your system>

Save the host file & retry the SWPM.Hope this time you'll get the successful execution.

Regards,

Gaurav

Answers (3)

Answers (3)

former_member185239
Active Contributor
0 Kudos

Hi Samid,

First of all ping the hostname

ping sapsleora (if it gives a hosname unknown)

Then maintain the value of host in /etc/hosts file

<ip> <hostname FQDN> <hostname>

Then again ping the hostname.

ping sapsleora (if you face the error again , then restart the network service in linux , take the help of unix team)

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hello ,

Please check if /etc/hosts contains the definition of the hostname . Just add your hostname to /etc/host file. Also add the hostname on all the server where SAP is installed.

Regards,

Archana

Former Member
0 Kudos

Hello Samid,

Please make sure correct java version is installed as mentioned in master guide and environment variable is correctly maintained, try running java -version as your installation user.

Make sure your PATH env variable is set to something like /usr/(java_version)/bin

Please check if this helps

Thanks and Regards,

Rameez Sarang