The Protection Engine (SPE) 8.0.x or Common Agent Framework (CAF) services do not stay started.
search cancel

The Protection Engine (SPE) 8.0.x or Common Agent Framework (CAF) services do not stay started.

book

Article ID: 174149

calendar_today

Updated On:

Products

Protection Engine for Cloud Services Protection Engine for NAS

Issue/Introduction

 

After installing the product onto a Windows server it is determined the Symantec Protection Engine (SPE) and Common Agent Framework (CAF) services are not started.  Manually attempting to start the SPE service results in the service temporarily starting then stopping with no obvious error.

Cause

 

When Symantec Protection Engine (SPE) service fails to start the log SymantecProtectionEngineAbortLog.txt is generated in <SPE Install path>\Symantec\Scan Engine\ directory.  Upon review of this log the following lines are present:

 

1400 Failed to initialize IPC Channel.
0 Symantec Protection Engine is shutting down; logs may contain more information.

Additionally, the Common Angent Framework (CAF) cafagent.log located in <SPE Install path>\Symantec\Common Agent Framework\Log may show the following errors:

Exception caught during listener creation: I/O error
Exception in starting request listener on plugin side

 

Resolution

 

Symantec Protection Engine (SPE) and the Common Agent Framework (CAF) require ports 9001 and 9002 to be available during service start.  If another application is holding these ports in use Symantec Protection Engine (SPE) service will stop.

To identify if the ports are currently available perform the following proceedure:

  1. Open the command prompt (cmd.exe) from the Windows "run" prompt.
  2. Run the following commands: 
  • netstat -ban | findstr 9001
  • netstat -ban | findstr 9002

If any results are returned this would indicate an application currently has these ports in use.  You will either need to identify the application holding the ports in use and change the port usage or modify the ports used by Symantec Protection Engine.

To modify the ports used by SPE:

  1. Identify available port set using the "netstat" commands above to locate two unused ports.
  2. Open the command prompt (cmd.exe) from the Windows "Run" prompt.
  3. Navigate to <SPE Install path>\Symantec\Scan Engine\
  4. Run the following commands:  Replacing the port values of 9001, 9002 with your new values.

xmlmodifier -s //configuration/IPCChannelSettings/ServerPort/@value 9001 configuration.xml
xmlmodifier -s //configuration/IPCChannelSettings/AgentPort/@value 9002 configuration.xml

 

To modify the ports used by CAF:

  1. Navigate to <SPE Install path>\Symantec\Common Agent Framework\
  2. Open SPEAdapterConfig.ini in notepad.exe
  3. set the plugin_port value to match the AgentPort value from step #4 above.
  4. set the agent_port value to match the ServerPort value from step #4 above.
  5. Save the file.

The CAF service will now start and allow enrollment to the cloud console.