[BlueOnyx:09123] Re: Logrotate and access_log
Maurice de Laat
mdlaat at muisnetwerken.nl
Sun Nov 27 18:24:42 -05 2011
Michael,
> I just found and fixed that one. Am publishing updates for 5107R and
> 5108R now.
> The problem was in /etc/logrotate.d/apache. Apache is restarted this way
> in it after a logrotate:
> /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
> Which works on RHEL5 clones like CentOS5, but on RHEL6 clones (like
> CentOS6 or SL6) the Apache PID file is now located at
> /var/run/httpd/httpd.pid instead.
Should this have been fixed with
base-sitestats-scripts.noarch 0:1.0-26BX24.centos6 ?
Because I have that update installed, but /etc/logrotate.d/apache still
contains /var/run/httpd.pid and not /var/run/httpd/httpd.pid
Thanks
--
Maurice de Laat
More information about the Blueonyx
mailing list