on 11-14-2008 9:05 AM
Hi
I am trying to insatll SAPinst on linux and i amgetting error.
Error while connecting to communication partner-see preceeding messages.
Could not connect to host localhost on port 21212.
Java.net.ConnectException: Connection refused.
Java.net.ConnectException: Connection refused.
What is think either the port is not open or the port is being used by another binay.
CAn you please sugeest hoe to fix this isse.
Regards
Preeti Khurana
Hi
Maybe you launched another sapinst on another terminal? Take care of this.
Just locate the offending process witn netstat command. See an example for finding port 53 and its related program:
netstat -ltpn | grep 53
tcp 0 0 172.12.85.10:53 0.0.0.0:* LISTEN 12379/named
If a program is using that port, your sapinst won't be able to open it as it is already used (bind() will fail).
In this case I think that it is likely no program is listening on that port. Make sure sapinst is starting correctly by having a look to the logs.
Regards,
Antonio Huete
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well now i am planninf to find out the free port and will point my sapinst on that port.
CAn you please suggest how can find the ports which are free.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you go through the installation document then you would have resolved the issue yourself. below content from installation guide.
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 this case, you must execute SAPinst using the parameter:
SAPINST_DIALOG_PORT=<free_port_number_sapinst_gui_to_gui_server> \
GUISERVER_DIALOG_PORT=<free_port_number_gui_server_to_sapinst_gui.
Note
For a list of all available SAPinst properties, enter the following command: sapinst u2014p.
Cheers,
-Sunil
>Could not connect to host localhost on port 21212.
looks like port 21212 is blocked or have you started server on Linux server? follow installation guide.
cheers,
-Sunil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello Marcus
certainlly you have right
but when i changed the customization settings (ip server etc.) problem with port is not exist but installation couldn't finish succesfully.
When I used the same settings on the another computer this problem gone (now i try solve another error which you can read in a separate thread).
Regards
black4210
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.