Access denied writing to /var/run/Symantec/DataLossPrevention/EnforceServer/15.7/*.pid after upgrading to 15.7
in the SymantecDLPManager.logs:
FATAL | wrapper | 2021/10/11 22:05:08 | ERROR: Could not write pid file /var/run/Symantec/DataLossPrevention/EnforceServer/15.7/SymantecDLPIncidentPersisterService.pid: Permission denied
FATAL | wrapper | 2021/10/11 22:24:11 | ERROR: Could not write pid file /var/run/Symantec/DataLossPrevention/EnforceServer/15.7/SymantecDLPIncidentPersisterService.pid: Permission denied
Release : 15.7, 15.8, 16.x
Component : Default-Sym
The service account for DLP (protect or SymantecDLP) cannot write to /var/run
Changed the DLP services PIDDIR= to write to /var/log since in 15.8 DLP writes the PID to those directories. Follow the below steps:
cd /etc/init.d
Edit each service file:
Edit the PIDDIR= line
Change the directory from "/var/run/Symantec/..." to "/var/log/Symantec/..."
Save and exit the file.
Restart the DLP services.