This Knowledgebase article provides information about how to modify the Neverfail for Exchange Application Module Start script when Microsoft Forefront Security for Exchange Application Module eXtension is installed.
When Microsoft Forefront Security for Exchange is installed on a server group running Neverfail for Exchange Application Module, the Start script must be modified to prevent errors during the startup process.
FSEIMC is responsible for registering the FSE Agent to ensure that messages are scanned by the FSCTransportScanner process. The Transport service depends upon the FSEIMC service, which is designed to start and then stop. To clear the error in the Neverfail Management Client, select the Application tab, and then click Clear in the Application Health pane.
The FSEIMC service is always set to manual and stopped; if one tries to start it, it will start and stop and give a default message after stopping. Because it is set to manual and stopped, it is not picked up and protected by the AMX. However, since the Microsoft Exchange Transport depends on it, and that service is protected, it will try to start the FSEIMC service as well, and return "FAILED" even though the Transport service starts (because the FSEIMC starts/stops quickly and doesn't report progress as expected).
If Microsoft Exchange Transport service fails when it is restarted by Heartbeat, the following message is reported:
FSEIMC: Time out has expired and the operation has not been completed
To prevent further occurrences of this error, use sc.exe to remove the dependency between the Transport Service and the FSEIMC service. The Neverfail Application Management Framework (AMFx) then ensures that the service starts. Open a command prompt and enter the following command:
sc config MSExchangeTransport depend= MSExchangeADTopology
To prevent the error messages, perform the following steps on both the Primary and Secondary servers:
Versions 5.2.[n] and Earlier
- Navigate to \R2\scripts\Exchange\start.bat.
- Using a text editor, change:
|From:||NfNet Start "MSExchangeTransport" /R || set FAILED=1|
|To:||Net Start "MSExchangeTransport"|
|NOTE:||There may be more than one "NfNet Start "MSExchangeTransport" /R || set FAILED=1" command in each script. You should either remove the multiple presences, or change them all to use Net Start "MSExchangeTransport".|
Additionally, to prevent error messages as a result of dependencies, change the default 90sec limit for "MSExchangeADTopology" service start to prevent "Timeout Application Start/Stop" error messages.
To do this, make the following changes:
|From:||NfNet Start "MSExchangeADTopology" /R || set FAILED=1|
|To:||NfNet Start "MSExchangeADTopology" 250 /R || set FAILED=1|
Versions 5.3.[n] and Later
- Remove the MSExchange Transport service dependency on FSEIMC by executing the following::
- Create start.bat in <Neverfail_installation_folder>\R2\bin with the following content:
Net Start "MSExchangeTransport"
- Open the Neverfail Heartbeat Management Client.
- Navigate to Application > Tasks.
- Click Add .
- Type a name for the new task.
- Select the Pre Start Task Type.
- Type start.bat as a command.
- Click OK.
Microsoft Forefront Security for Exchange