Service Starts Then Stops Immediately
Description:
For Windows Servers, sometimes applications will start and then stop a second later. Event Viewer will not show any helpful messages. Try these steps to troubleshoot.
To Resolve:
-
Get the service name
-
Go to the directory of the executable by looking at the service path
-
Look for a license file, open up in notepad (.lic)
- Look at what port the service is set to listen on => sometimes this can be found in the config file in the same directory as the executable.
-
Run “netstat -ano” to find the port number and what is listening. Then lookup the PID.
-
Open Task Manager => Processes tab => Add columns => PID and Image Path.
-
Now sort by PID and kill it. If it doesn’t work, try through command line: taskkill /pid pid /f
-
Now try to start the service again.
Comments