Unable to start the Enterprise Manager, port in use FIN_WAIT_1

Document ID : KB000013275
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

Unable to start the Introscope Enterprise Manager, netstat detects socket in FIN_WAIT_1 status with an agent.

Setting introscope.enterprisemanager.serversockets.reuseaddr=true doesn't help

Question:

How to configure the Introscope Enterprise Manager to reuse a port in use?

Answer:

introscope.enterprisemanager.serversockets.reuseaddr : control the standard way to reuse a port in use, on restart the Enterprise Manager will always rebind.

introscope.enterprisemanager.sockets.abortiveclose : control the way how to close EM-Agent socket. This property ensures total closure on EM-Agent socket upon shutdown. The listening port could get into stuck with FIN_WAIT_1, which the 1st property will not be able to solve. When you set this property to true, we tell the stack to do "abortive close" instead of "standard close" for the socket we open to avoid running into this problem.

Recommendation:

1. Add the below 2 properties to the Enterprise Manager properties file:

introscope.enterprisemanager.serversockets.reuseaddr=true
introscope.enterprisemanager.sockets.abortiveclose=true

2. Start the Enterprise Manager