Agent Service Not Starting After Configuring ExternalParametersProvider

Started by vijayrana, June 16, 2017, 02:36:35 PM

Previous topic - Next topic

vijayrana

I have added following line nxagentd.conf on Windows Server agent.

ExternalParametersProvider="c:\windows\system32\cscript.exe //Nologo "C:\NetXMS\scripts\MgCpuUsage.vbs"":10

The NetXMS Agent service is not starting after adding this line.
In windows event viewer I am getting this : "The NetXMS Agent service failed to start due to the following error: The service did not respond to the the start or control request in a timely fashion"

When I run agent from command prompt using command ""C:\NetXMS\bin\nxagentd.exe" -c "C:\NetXMS\etc\nxagentd.conf" -n "NetXMSAgentdW32" -e "NetXMS Win32 Agent""
it is running successfully.

I have tried on different server the same thing happen. Kindly help.

Victor Kirhenshtein

Hi,

could you set logging to file, set debug level to 7 (you can do that by adding DebugLevel = 7 to nxagentd.conf) , and try to start agent? Then send me log file.

Best regards,
Victor