access denied writng pid files in RHEL 7.x

book

Article ID: 225970

calendar_today

Updated On:

Products

Data Loss Prevention Enterprise Suite

Issue/Introduction

access denied writng to /var/run/Symantec/DataLossPrevetion/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

Cause

protect account cannot write to /var/run

Environment

Release : 15.7

Component : Default-Sym

Resolution

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 

edit the PIDDIR= line

change the directory from /var/run/Symantec/.....

to /var/log/Symantec/.....

save and exit the file. 

restart the services. 

Attachments