Detection server service will not start - Error: file not found
search cancel

Detection server service will not start - Error: file not found


Article ID: 220344


Updated On:


Data Loss Prevention Data Loss Prevention Endpoint Prevent Data Loss Prevention Enforce


The detection server is showing status "unknown" on Enforce Console. Logged into server and found service is not started. Unable to start service with error: "Error 2: The system cannot find the file specified"


Release : 15.7 and 15.8

Component : DLP services


Incorrect data in paths to start services


Most common issues:
1. Check the affected service configuration file. SymantecDLPDetectionServer.conf on Detection Server in this case if it is pointing to the correct JRE.
Java Application = C:/Program Files/Symantec/DataLossPrevention/ServerJRE/1.8.0_202/bin/java
2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Data Loss Prevention in regedit and make sure the values for Enforce, Detection server, JRE, and Service User are correct
3. Check each DLP service in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\, the ImagePath values were all in double quotes.Example:
"C:\Program Files\Symantec\DataLossPrevention\Detectionserver\Services\SymantecDLPDetectionServer.exe -s SymantecDLPDetectionServer.conf"
It should be
"C:\Program Files\Symantec\DataLossPrevention\Detectionserver\Services\SymantecDLPDetectionServer.exe" -s SymantecDLPDetectionServer.conf
Note only the path to the exe should be in double quotes. the -s option should not be included in the double quotes.

Additional Information

For DLP 15.8, the ImagePath value "C:\Program Files\Symantec\DataLossPrevention\Detectionserver\Services\SymantecDLPDetectionServer.exe -s SymantecDLPDetectionServer.conf"  is located in the registry key below:


For the SymantecDLPDetectionServer.conf, look at this location on DLP 15.8:

C:\Program Files\Symantec\DataLossPrevention\DetectionServer\15.8.00000\Protect\config\factoryDefaultTemplates