[BlueOnyx:08957] Re: Awstats
Greg Kuhnert
gkuhnert at compassnetworks.com.au
Thu Nov 3 05:10:00 -05 2011
During install, awstats does a mod to an existing logrotate file. It
looks like your recent update has undone that mod.
Two options:
1. uninstall / reinstall awstats. This will redo the custom mods.
2. The script below is what gets run during install - Create this in a
file and run it - and you'll be sorted.
#!/bin/sh
/usr/bin/perl -pi -e "s/.*zz_awstats.*\n//" /etc/logrotate.d/apache
/usr/bin/perl -pi -e \
'if (/webalizer\.pl/ ) { print "\t/usr/bin/nohup
/usr/bin/zz_awstats-run.pl >/dev/null 2>&1\n"; }' \
/etc/logrotate.d/apache
/etc/rc.d/init.d/httpd reload >/dev/null 2>&1
On 3/11/2011 6:57 PM, Steffan wrote:
> Is it still present in /etc/cron.daily ?
>
>
> -----Oorspronkelijk bericht-----
> Van: blueonyx-bounces at mail.blueonyx.it
> [mailto:blueonyx-bounces at mail.blueonyx.it] Namens Richard Barker
> Verzonden: woensdag 2 november 2011 20:58
> Aan: BlueOnyx General Mailing List
> Onderwerp: [BlueOnyx:08954] Awstats
>
> Since Oct 27 my awstats has quit running every night I have to
> manually run it everyday.
> Updates from Oct 27 2011
> Oct 27 06:00:29 Updated: freetype-2.2.1-28.el5_7.1.i386
> Oct 27 06:00:25 Updated: base-sitestats-scripts-1.0-26BX23.centos5.noarch
>
> Thanks,
> RC
>
--
+---------------------------------------------------------------------+
| / \ Greg Kuhnert,gkuhnert at compassnetworks.com.au |
|< o> Compass Networks - Pointing you in the right direction |
| \ / See us for BlueQuartz / BlueOnyx modules and Support. |
+---------------------------------------------------------------------+
More information about the Blueonyx
mailing list