RE: Awstats Cron job not executing [SOLVED]

2009-10-27 Thread Kushal Koolwal
<87a8dc10910270120y754f590es1019c2bbb76e8...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 You are right only the apache2 directly needs "execute" permission and not = the files inside it. #chmod 755 /var/log/apache

Re: Awstats Cron job not executing [SOLVED]

2009-10-27 Thread Alexey Salmin
Actually the log file itself doesn't need the execute permission. You need that on directory you want to access a file from. On Tue, Oct 27, 2009 at 10:23 AM, Kushal Koolwal wrote: > >  <20091027035155.gb5...@localhost.localdomain> > Content-Type: text/plain; charset="iso-8859-1" > Content-Transf

Re: Awstats Cron job not executing

2009-10-26 Thread Alexey Salmin
On Tue, Oct 27, 2009 at 9:51 AM, Andrew Sackville-West wrote: > On Mon, Oct 26, 2009 at 07:08:04PM -0700, Kushal Koolwal wrote: >> >>  <20091027012939.ga19...@localhost.localdomain> >> Content-Type: text/plain; charset="iso-8859-1" >> Content-Transfer-Encoding: quoted-printable >> MIME-Version: 1.

RE: Awstats Cron job not executing [SOLVED]

2009-10-26 Thread Kushal Koolwal
<20091027035155.gb5...@localhost.localdomain> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Ahhh I finally resolved it. chmod 755 -R /var/log/apache2/* did the trick. It's funny that it needs execute permission also. No where i= n

Re: Awstats Cron job not executing

2009-10-26 Thread Andrew Sackville-West
On Mon, Oct 26, 2009 at 07:08:04PM -0700, Kushal Koolwal wrote: > > <20091027012939.ga19...@localhost.localdomain> > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > MIME-Version: 1.0 > > > > Try becoming the www-data user and trying the above > >

RE: Awstats Cron job not executing

2009-10-26 Thread Kushal Koolwal
<20091027012939.ga19...@localhost.localdomain> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 > Try becoming the www-data user and trying the above > line from the command line directly? perhaps you'll get some helpful > output. A

Re: Awstats Cron job not executing

2009-10-26 Thread Andrew Sackville-West
On Mon, Oct 26, 2009 at 06:04:05PM -0700, Kushal Koolwal wrote: > > I am using Debian Lenny and installed awstats. Now by default the awstats > creates a the following file: > > debian:~# cat /etc/cron.d/awstats > 0,10,20,30,40,50 * * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl -a -f > /etc/a

Awstats Cron job not executing

2009-10-26 Thread Kushal Koolwal
I am using Debian Lenny and installed awstats. Now by default the awstats creates a the following file: debian:~# cat /etc/cron.d/awstats 0,10,20,30,40,50 * * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache2/access.log ] && /usr/lib/cgi-bin/a