search cancel

Error opening fileopen /ca/daproxy/log/daproxy.log: permission denied


Article ID: 127955


Updated On:


CA Infrastructure Management CA Performance Management - Usage and Administration


Fault Tolerance environment the service daproxy status command shows the message error

[[email protected] ~]# service daproxy status
Redirecting to /bin/systemctl status daproxy.service
● daproxy.service - DAProxy Service
Loaded: loaded (/etc/systemd/system/daproxy.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2019-02-11 15:18:03 -03; 19h ago
Main PID: 1367 (traefik)
CGroup: /system.slice/daproxy.service
└─1367 /ca/daproxy/bin/traefik --configfile=/ca/daproxy/conf/daproxy.cfg --traefiklogsfile=/ca/daproxy/log/daproxy.log

Feb 11 15:18:03 host01 systemd[1]: Started DAProxy Service.
Feb 11 15:18:03 host01 systemd[1]: Starting DAProxy Service...
Feb 11 15:18:05 host01 traefik[1367]: time="2019-02-11T15:18:05-03:00" level=error msg="Error opening fileopen /ca/daproxy/log/daproxy.log: permission denied"


Corrupted log file or someone other than root or consul that they will have issues accessing that file.


PM 3.5


Remove the log file

1) service daproxy stop

2) mv /ca/daproxy/log/daproxy.log /ca/daproxy/log/daproxy.log_OLD

3) service daproxy start

Additional Information

Note: You can check what is the user running the traefik process running:
ps -ef | grep traefik