[BlueOnyx:18187] Re: Webalizer on 5108R fails to update

Chris Gebhardt - VIRTBIZ Internet cobaltfacts at virtbiz.com
Wed Aug 19 21:55:31 -05 2015


Hi Ken,

On 8/19/2015 6:48 PM, Ken Marcus wrote:
> Does yourÂ
> /etc/logrotate.d/apache
> contain
> /usr/bin/webalizer.pl <http://webalizer.pl>

Yes, it has it on the 2nd to last line of this snippet:


/var/log/httpd/access_log {
     daily
     prerotate
         rm -rf /tmp/.logrotate_apache_access >/dev/null 2>&1
         cp /var/log/httpd/access_log /tmp/.logrotate_apache_access 
 >/dev/null 2>&1
     endscript
     missingok
     notifempty
     sharedscripts
     postrotate
         /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> 
/dev/null ; /bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> 
/dev/null || true
         /usr/local/sbin/split_logs web < /tmp/.logrotate_apache_access
         rm -f /tmp/.logrotate_apache_access >/dev/null 2>&1
         /usr/bin/webalizer.pl
     endscript
}



-- 
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ



More information about the Blueonyx mailing list