Technical FAQs

Ask a Question

Process not running: Please start service" when trying to start the Event Notification Solution (ENS) Service

Goals and Symptoms

Symptoms
When trying to start the ENS service, the error "Process not running: Please start service" is displayed.
The Windows event log may also show the following error: APMService.exe "An attempt was made to access a socket in a way forbidden by its access permissions"

Facts and Changes

PRODUCTS Affected

APM, ENS, ENM

Causes and Fixes

Cause

Under some circumstances, the TCP port being used by the APMService.exe is already being used by something else in Windows.


Resolution

Change the port ENS is using.

1. Stop all ENS services.
2. Open the file APMService.exe.config in the Event Notification Solution\EventNotificationSoution\ folder for editing in notepad.
3. Change the following line:
<add key="Port" value="63387" />

to:

<add key="Port" value="25500" />
4. Open the file service.xml in the Event Notification Solution\OPC Logger\ folder for editing in notepad.
5. Change the following line:
<ESService Machine="127.0.0.1" Name="PLActivePagerModule" URL="tcp://127.0.0.1:63387/apm.tcp"

to:

<ESService Machine="127.0.0.1" Name="PLActivePagerModule" URL="tcp://127.0.0.1:25500/apm.tcp"
6. Restart the ENS services.

Note: If port 25500 is also being used by Windows, a different port number may be necessary.

Was this helpful?
What can we do to improve the information ?