cannot remove '/var/lock/subsys/SymantecDLPDetectionServerService': Permission denied when restarting services.
search cancel

cannot remove '/var/lock/subsys/SymantecDLPDetectionServerService': Permission denied when restarting services.

book

Article ID: 258893

calendar_today

Updated On:

Products

Data Loss Prevention

Issue/Introduction

When restarting services on DLP detection server we see the following error:

Environment

Release : 16.0

Cause

the service is being restarted as a non sudo account. 

Resolution

the /var/lock/subsys/SymantecDLPDetectionServerSerivce is created by the init script and should be restarted as root or root-like permissions using sudo 

the permissions on that file is root:

WORKAROUND 1:

stop services as the root account

su -  protect

start services as the protect account

WORKAROUND 2:

edit the init script in /etc/init.d

remark out like 24.