cancel
Showing results for 
Search instead for 
Did you mean: 

Could not connect to host localhost on port 21212

Former Member
0 Kudos

Trying to run sapinstgui from Windows Server , while running sapinst on AIX , getting the following error, Please help

Error while connecting to communication partner - see preceeding messages.

Could not connect to host localhost on port 21212.

java.net.ConnectException: Connection refused: connect

java.net.ConnectException: Connection refused: connect

Accepted Solutions (1)

Accepted Solutions (1)

MaheshKumar
Contributor
0 Kudos

use GUISERVER_DIALOG_PORT=<port_number_gui_server_to_gui_client>

To see a list of all available SAPinst properties, start SAPinst as described above with the option ./sapinst -p.

Answers (5)

Answers (5)

Former Member
0 Kudos

Maybe you are making the same mistake I made: are you trying to install SAP GUI? If that is the case, sapinstgui.exe is not what you are looking for. SAP GUI installer is in


Frontend&tools\SAP_GUI_for_Windows_7.20_Patchlevel_7_SDN_version_20110701_1428.exe

This tutorial is the best I have found:
How to install SAP NetWeaver Application Server ABAP 7.03 SP03 Trial – Ready for ABAP in Ecplipse (A...

Good luck!

Former Member
0 Kudos

./sapinst SAPINST_DIALOG_PORT=<xxxxx> GUISERVER_DIALOG_PORT=<xxxxxx> use this command

it should work

giva a port other than 21212

Edited by: Venkatarao Daggupati on Nov 28, 2011 10:55 AM

former_member188883
Active Contributor
0 Kudos

Hi,

You need to refer instalaltion guide for checking OS level pre-requisites on AIX.

Also before running SAPINST , have you set the environment variables

JAVA_HOME

SAPINST_JRE_HOME

Let us know your observation on OS pre-requisites and env variables.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

Env variables are as below in the AIX server as root:

export PATH=/usr/java14_64/bin:$PATH

export JAVA_HOME=/usr/java14_64

export TEMP=/home/hr5adm/Install

export SAPINST_JRE_HOME=/usr/java14_64

export SAPINST_USE_HOSTNAME=lad9saqr43

export JCE_POLICY_ZIP=/install/jce_policy/jce_policy-1_5_0.zip

starting sapinst

sapinst SAPINST_START_GUI=false

In Windows server starting sapinstgui

E:\SAPINSTGUI>sapinstgui.exe host=lad9saqr43 port=21212 -accessible

Shows sap people and hour class forever

Below error in the in sapinst log in AIX server and it hangs

Nov 27, 2011 6:39:24 AM [Error]: java.io.InvalidClassException: com.sap.sdt.engine.core.communication.AbstractCmd; local class incompatible: stream classdesc serialVersionUID = 292039230207479778, local class serialVersionUID = 2114821536813725271

Nov 27, 2011 6:39:24 AM [Error]: msg.diag.0002 java.io.InvalidClassException com.sap.sdt.engine.core.communication.AbstractCmd; local class incompatible: stream classdesc serialVersionUID = 292039230207479778, local class serialVersionUID = 2114821536813725271

Nov 27, 2011 6:39:24 AM [Error]: Network input/output exception has occurred: com.sap.sdt.engine.core.communication.AbstractCmd; local class incompatible: stream classdesc serialVersionUID = 292039230207479778, local class serialVersionUID = 2114821536813725271

Nov 27, 2011 6:39:24 AM [Error]: Error while receiving data - see preceding messages.

former_member189725
Active Contributor
0 Kudos

Please ensure that you have downloaded the JCE policy files on both AIX and windows servers and have set the environment variable JCE_POLICY_ZIP on both local and remote host.

Please check this note Note 1238121 - SAP JVM for Software Logistics Tools

Please check the SAP version you are installing and use a compatible JCE policy file with the SAP JVM.

Edited by: Ratnajit Dey on Nov 27, 2011 8:05 PM

Edited by: Ratnajit Dey on Nov 27, 2011 8:18 PM

Former Member
0 Kudos

Ratnajit,

Thanks for your reply , yes , I have checked with the note 1238121 and used JCE_POLICY_ZIP variable with jce policy zip file,

Thanks

Al Mamun

Former Member
0 Kudos

Hi Anbu,

Why don't you try to use other port?

Thanks,

Siva Kumar

former_member189725
Active Contributor
0 Kudos

Hi ,

Please enter the IP or hostname of the AIX server in place of localhost in the sapinstgui in the windows server. Also check if the port 21212 is being occupied on the AIX server. Then change the port by appending the argument GUISERVER_DIALOG_PORT=<new_port_number> to the sapinst.

Former Member
0 Kudos

Hi Anbu,

Looks like this port is being used by other service in the server. Please try to use other port.

Good Luck.

Thanks,

Siva Kumar