The prediction_engine probe will not start up

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

Issue:
The prediction_engine probe will not start up.

Symptoms:
The probe cannot obtain a port or a PID. Error in the prediction_engine log shows:
?
Aug 12 13:34:01:520 [1676] Controller: probe_tail_logfile: Unable to stat file probes/slm/prediction_engine/prediction_engine.log for probe prediction_engine Aug 12 13:41:03:034 [1676] Controller: Max. restarts reached for probe 'prediction_engine' (command = <startup java>)

Environment:
- Windows 2008 R2
- prediction_engine version 1.20
- CA UIM version 8.2
- ppm v3.11
- baseline_engine v2.5
- nas/alarm_enrichment v4.67

Cause:
Another probe tcp_proxy had been configured to use and already taken the same port (55005), required by the prediction_engine probe.

Resolution:
1. Deactivate prediction_engine
2. Run the probe manually using the arguments from the probe Edit window (accessed via rt-click on the probe itself)

C:\Program Files (x86)\Nimsoft\probes\slm\prediction_engine>"../../../jre\jre7/b
in/java.exe" -Xmx128m -Xms64m -agentlib:jdwp=transport=dt_socket,address=55005,s
erver=y,suspend=n -Djava.library.path=../../../lib -jar lib/prediction_engine.jar"

Output of the manual command to run the prediction_engine probe was:
?
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../.
./../src/share/back/debugInit.c:750]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_E
RROR_TRANSPORT_INIT(197)
?
3. Running the command, netstat -an | findstr "55005" finds something was LISTENING/using that port.

?TCP??? 0.0.0.0:55005????????? 0.0.0.0:0????????????? LISTENING

4. Doing a netstat -anb | more will show you the executable which in this case is java.exe for the prediction_engine but may be different if some other process is using port 55005.

In this case, the tcp_proxy (tcp_proxy.exe) probe had a profile that had been configured to use that port for RDP so it was preventing the prediction_engine from using that port (which is a required port).

5. Once I deactivated/deselected that profile in the tcp_proxy configuration window, the prediction_engine was able to successfully start up and get a port and a PID.

keywords: prediction engine prediction_engine will not get port or pid not start started turns red fail fails

Additional Information:
https://wiki.ca.com/display/UIMPGA/v1.2+prediction_engine+AC+Configuration

keywords: prediction engine start prediction_engine no port pid max restarts reached probe