htcacheclean service is not starting in RHEL 7
Issue
- htcacheclean service is not getting started in RHEL 7 with below errors in
/var/log/messages
:
Nov 30 18:33:46 localhost systemd: Starting Disk Cache Cleaning Daemon for Apache HTTP Server...
Nov 30 18:33:46 localhost htcacheclean: Could not write the pid file '/run/httpd/htcacheclean/pid': Permission denied
Nov 30 18:33:46 localhost systemd: htcacheclean.service: control process exited, code=exited status=1
Environment
- Red Hat Enterprise Linux
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.