Error while starting AppServer. Required port '4000' already in use.

14598
11
03-04-2013 01:48 PM
OraneReuland
New Contributor
Hi,
I tried to install 3 time Arcgis server on Amazon EC2. I have used the AMI : Esri ArcGIS 10.1 SP1 for Server on Ubuntu with Postgresql (Oct 2012)(ami-31b1260b). I tried with the N. Virginia site and Sydney site and I have exactly the same problem. I have these 2 warning on the server all the time.

- WARNING:The App Server was found to be stopped when it should have been started. Restarting it.
- SEVERE:Failed to start the server machine 'LOCALHOST'. Failed to start the server machine 'LOCALHOST'. Error while starting AppServer. Required port '4000' already in use.


I have stopped and started Arcgis server, I have rebooted the instance but the problem persist.
I have the same problem if I access to the server via the manager, the Arcgis server admi directory or arcgis Desktop.

Currently, there are nothing else than the SampleWorldCities map Service and the default geoprocessing/geometry services on the server.I am using the AWS free usge tier (t1.micro instance type). Is that the problem?
0 Kudos
11 Replies
RichardWatson
Frequent Contributor
The only suggestion I have is to try to find out which process is using the port:

http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx
0 Kudos
JamalNUMAN
Legendary Contributor
The only suggestion I have is to try to find out which process is using the port:

http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx


Very much appreciated Richard.

1. With the command �??netstat �??ano�?� I could find the PID of the Port 4000

[ATTACH=CONFIG]31122[/ATTACH]

2. From the task manager I could stop the process that takes that PID

[ATTACH=CONFIG]31123[/ATTACH]


The issue is resolved

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos