[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Awstats Cron job not executing



On Tue, Oct 27, 2009 at 9:51 AM, Andrew Sackville-West
<andrew@farwestbilliards.com> wrote:
> On Mon, Oct 26, 2009 at 07:08:04PM -0700, Kushal Koolwal wrote:
>>
>>  <[🔎] 20091027012939.GA19189@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.
>>
>> Actually I did intended to send the output of the above in my original mail=
>>  but I forgot. Here is the output:
>> debian:~# sudo -u www-data /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -updat=
>> e -config=3Dmydomain
>>
>> Create/Update database for config "/etc/awstats/awstats.mydomain.conf" by A=
>> WStats version 6.7 (build 1.892)
>> >From data in log file "/var/log/apache2/access.log"...
>> Error: Couldn't open server log file "/var/log/apache2/access.log" : Permis=
>> sion denied
>
> what are the permissions on /var/log/apache2?
>

Yep, try setting o+x on /var/log/apache2


Reply to: