Max. restarts reached for probe

Document ID : KB000072245
Last Modified Date : 27/02/2018
Show Technical Document Details
On a system that had a range of probes on it, some probes fail to restart after a robot restart, and there are the following in the probe logs:

nimSession - failed to create server session on port 0, error code 98 

Running a 'netstat -an | grep 480' during the startup may indicate that we are trying to get a port to listen on:

tcp 0 0 #.#.#.#:56846 #.#.#.#:48009 TIME_WAIT 

We will ultimately be unable to get the port for listening on and the probe will go into a failed state.

To verify that the problem is not specific to the probe, one of the probes that is running can be shut down (releasing a port) and one of the problem probes should start up fine now with a free port available.  
Try setting the starting probe port in the controller configuration to the last port that a probe was started on.

IM > double click controller > Advanced tab > First probe port number > Apply
AC > robot > probes > click on the ellipsis > configure > setup > First probe port number > Save