on 09-09-2013 11:58 PM
Hi,
I just installed SAP NetWeaver Application Server ABAP 7.03 64-bit Trial on my Windows 8 PC. The installation seems to have been successful. When I try to run the sapinstgui.exe I get the following error:
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
I already have JAVA_HOME set. There is no process running on port 21212. My Java version is 1.6.0.43.
What could be causing this issue ?
Thank you in advance.
Hello There
Check if you are able to ping the SAP Server from you windows 8 machine. if you are not able to ping try fix that issue first by making the entries in Host and Service file.
Try access the SAP system from your run command ( SAPGUI <HOST NAME or IP > <Instance No >). If you are able to do it.
On the lighter note please check the compatibility.
Good Luck.
Thanks Regards,
Avinash I
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
Good luck!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanel Mesinovic
Delete parameter process.max-file-descriptor and any obsolete projects in /etc/project for user root and try it again.
Regards,
Deeraj Shetty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check media status, media which should be Ok mean not corrupted.
Also downloaded the SAPCAR for windows and try...
BR,
Prabhakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please go to cmd and put the following command.
netstat -ano >>c:\netstat-ano.txt
Then open netstat-ano.txt file from C drive and you can find the 21212 from this file.
BR,
Pabhakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prabhakar,
I've tried to install NWABAPTRIAL70211_64_GW204 SAP GUI on Windows 7 and checked all the steps you mentioned, but I still got the same error as below
Could not connect to host localhost on port 21212
1. JDK version is JDK 5 update 15
2. Java_Home is set.
3. The port 21212 is not using
4. /etc/host added localhost 127.0.0.1
5. windows firewall and anti virus is disabled
What else could I do?
Thanks in advance!
BR, Wei
I have same problem for 3 daays and I still couldn't solve it
Did u find a solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check
1) Java Runtime Environment JRE 6 installed on server
2) Host file entries
3) Service file check the port is occupied.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I understand you correctly, you installed the archive from the link and now want to install the SAP system? In that case you need to run sapinst.exe, not sapinstgui.exe. sapinst will start the upgrade server process and should automatically call up the gui as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you please check the below note.
Note 1238121 - SAP JVM for Software Logistics Tools
Check the section
Symptom:
You have done the following:
You first started SAPinst. Then you closed SAPinst GUI. SAPinst is still running. Then you started a separate SAPinst GUI that displays the following error:
Error while connecting to communication partner - see preceeding messages.
Could not connect to host <hostname> on port <port number>.
java.net.ConnectException: Connection refused: connect
Thanks
Rishi abrol
Hi Sanel,
The default port of the installer is 21212. So please check if another GUI installer (Process) is running in the background (Hint: Task Manager->Choose the option "Show Processes from all users").
If the process is running, then, you will have to end the process and restart the installation.
Or else navigate to the directory where the installer executable is present from the command prompt,
And use the following command –
sapinstgui.exe -port <port_number_other than 21212>
You can use something like this -
sapinstgui.exe -port 21213
Now you should be able to start the installation.
Cheers!
Abhishek Kadiri
SAP BASIS Consultant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanel,
Nothing will run on 21212 port after the installation.The port will only be used during the installation.
During the installation, the default ports 21200 and 21212 are used for communication between SAPinst, GUI server, and SAPinst GUI. SAPinst uses port 21200 to communicate with the GUI server. The GUI server uses port 21212 to communicate with SAPinst GUI. You get an error message if one of these ports is already in use by another service. In that case,
Execute sapinst.exe with the following command line parameter:
GUISERVER_DIALOG_PORT=21213"
For Example: sapinst.exe GUISERVER_DIALOG_PORT=21213
By the way, kindly answer the following questions -
Let me know if the above steps solve your issue.
Cheers!
Abhishek Kadiri
Hi Sanel,
that's it: sapinst.exe GUISERVER_DIALOG_PORT=21213. A very helpful answer. I have had the same problem. All systems (ECC, SCM, SolMan) were running fine. I tried to install CRM and got the installation Java-Connection error for port 21212. The port was open, all setting had been ok.
The only solution had been your answer. There must be a hidden socket or something like that, that does not show up port 20212 on netstat -an. I did not find any other clear explanation for that behavior.
Many thanks
Axel Arnold Bangert
Wolsftarsse 2
52134 Herzogenrath - 2014.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The error comes if :-
1. Incorrect version of JDK.
2. Java_Home is not set.
3.The port is already as an old binary is using it.
You might want to check the process list to see if the installer is already running or run 'netstat' to see if a different program is already using that port. This could also be caused by a restrictive firewall or miss-configured settings in the hosts file.
also,
1. Check entires in /etc/host .... try adding <hostname> to 127.0.0.1
2. Check/set env variable JAVA_HOME
Regards,
Himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Himanshu,
Thx for your feedback.
In the installation it says JRE. I had the JRE 1.5.0.22 installed, no success. I think the software is not ready for Win 8 yet.
No process is running on port 21212. After the installation is done there I guess there should be a process running on port 21212, which is not the case. 😞
Also if I run the Prerequisites check I get a warning that my OS version is higher than the one supported by SAP installer.
Thx for your time.
Sanel
Hello Sanel,
This forum only addresses SAPGUI issues.
This is not a SAPGUI issue,
Try BC-INS
Regards,
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This seems to belong to SAP NetWeaver Administrator
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.