1 (edited by adinanta 2010-01-12 00:39:47)

Topic: file awstats.pl does not exist

Hello All,

I just realized that awstat could not find awstats.pl file while executing cronjob. I checked my root mailbox and the following error keep occurring every one hour

Cron <root@hosts> perl /var/www/awstats/awstats.pl -config=mail -update >/dev/null

and the error is

Can't open perl script "/var/www/awstats/awstats.pl": No such file or directory

could anybody please help me to resolve this issue?

many thanks
Harry Adinanta

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: file awstats.pl does not exist

Try

ln /usr/share/awstats/wwwroot/cgi-bin/awstats.pl /var/www/awstats/awstats.pl

3

Re: file awstats.pl does not exist

@adinanta, Which distribution are you using?

4

Re: file awstats.pl does not exist

Uh, it's not working for me either (iRedOS)...
Apparently this happens after I install the latest update with yum.

After linking the awstats.pl file as I said above, now I have:

Can't open perl script "/usr/bin/maillogconvert.pl": No such file or directory

Is awstats broken in the latest packages?

Installed Packages
awstats.noarch                                          6.95-1.el5

5

Re: file awstats.pl does not exist

ZhangHuangbin wrote:

@adinanta, Which distribution are you using?

Hello Zhang,

I am using centos 5.4 and Iredmail 0.51

6

Re: file awstats.pl does not exist

i have the same problem!

with centos

7

Re: file awstats.pl does not exist

Me too, using centos 5.6 iRedmail 0.7.1.  Awstats.pl not existant

8

Re: file awstats.pl does not exist

linusaurus wrote:

Me too, using centos 5.6 iRedmail 0.7.1.  Awstats.pl not existant

check if in var/www/ have awstats folder!if not create and use ln /usr/share/awstats/wwwroot/cgi-bin/awstats.pl /var/www/awstats/awstats.pl