cancel
Showing results for 
Search instead for 
Did you mean: 

EADDRINUSE error when starting the Agentry server

agentry_src
Active Contributor
0 Kudos

[Migrated from the Syclo Resource Center]

Anshika   03/20/2013 04:59,

Hi,I have installed the SAP Service Manager server(development) and when I start it, the following error comes up. I have verfied that no other server is running and that the port 7003 is not used by any application. I did not install the server as a service.I have installed agentry server many times so the other required settings are also done (for example the environment variables etc.).I also uninstalled the server and reinstalled it. I still get the same error.

The server version is SAPCRMSM_3100_Server_X64

03/20/2013 14:55:52, 0,        20,       151, Thr       6616, Finished loading Development application definitions
03/20/2013 14:55:53, 0,        20,         4, Thr       2764, Server v6.0.22.0
03/20/2013 14:55:53, 1,         2,        48, Thr       6616, EADDRINUSE, ..\Socket\win32\sockets.cpp#1402:ListeningStreamSocket::OSListeningSocket::listenOn
03/20/2013 14:55:53, 1,         2,        48, Thr       6616, EADDRINUSE, ..\Socket\win32\sockets.cpp#1402:ListeningStreamSocket::OSListeningSocket::listenOn
03/20/2013 14:55:53, 0,        17,        10, Thr       2764, 0.0.0.0:7003 open
03/20/2013 14:55:53, 0,        17,        10, Thr       2764, ANGEL Front End v6.0.22.0

Does anyone know how to resolve this error?Thanks,Anshika

Ankur Malhotra   03/20/2013 16:20

Hi Anshika,Can you try changing the Angel Front End port to some other port, say 7004, and try starting the server. If that works, then surely there is some issue with 7003 port.This is just a guess. Do let me know what you find.RegardsAnkur

Jason Latko   03/20/2013 16:39

This is a great suggestion.  Please try this and let us know what happens.

Jason Latko - Senior Product Developer at SAP

vishal.parikh   03/21/2013 07:33

I have noticed that sometimes (I guess after every reboot) even though I do not have any Agentry server command/GUI window open, I find AgentryServer.exe in my processes tab in Task Manager. I would suggest to verify AgentryServer.exe in the task manager or as other experts suggested, use a different port altogether.

Bill Froelich   03/21/2013 08:49

If you are seeing AgentryServer.exe in Task Manager, it is a good bet that when the server was installed the checkbox for Install as a Windows Service was checked.  By default the service is set to run Automatically so after a reboot the server will automatically start (using 7003 the default port).

 

Then when you attempt to start your server you will get the address in use error.Check your windows services list and verify if there is a Agentry or Product Name server listed.  Stop the service and set it to run Manually so it doesn't restart on the next reboot.

--Bill

Tom Behrens   03/21/2013 09:51

Hi,this seems to be a solution: Please do following changes in the Agentry.iniOld values[HTTPXML-2]...baseURL=http://localhost:8282...listenOn=8282New values[HTTPXML-2]...baseURL=http://localhost:8181...listenOn=8181Thanks to Syclo support and best regardsTom

ShwetaKapil   06/05/2013 04:52

I encountered the same error on my local installation.I changed the port of the server but still it did not help as the Client was still showing the decrypt error.However the clearing of all the client data nad reset of the client helped solving the problem then.

Bill Froelich   06/05/2013 08:14

A decrypt password message on the client is a seperate issue and not related to the address in use error encountered here.

  The decrypt password issue occurs when the client originally was communicating with one Agentry server and is now trying to talk to a different server.

  This would most commonly occur if your client was connected to your ServerDev then you stopped ServerDev and started ServerProd (using the same ports) and tried to connect using the same client.

Hope this helps!--Bill

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi guys,

for me this one solved the problem:

Tom Behrens   03/21/2013 09:51

Hi, this seems to be a solution: Please do following changes in the Agentry.ini

Old values:

[HTTPXML-2]

...

baseURL=http://localhost:8282

...

listenOn=8282

New values:

[HTTPXML-2]

...

baseURL=http://localhost:8181

...

listenOn=8181

Thanks to Syclo support and best regards

Tom

Thanks and Regards,

Danilo Rossatto