Cron errors - bash (after awstats logrotate)

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sat May 22 19:12:44 UTC 2004


Am Sa, den 22.05.2004 schrieb Kevin F. Berrien um 20:40:

> I installed AWSTATS (after some recommendations here on the list).  
> Great app.  When configuring the log rotate update, the example httpd 
> script wasn't exact.  Now I'm getting the following errors:  Any 
> thoughts?  Bash is in /bin.

> /bin/bash: line 1: root: command not found

> /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update 
> -config=x.homelinux.net

man 5 crontab

to see how a proper crontab line has to be formatted; your's is not
valid

Btw., why don't you use the fedora.us awstats RPM for FC2?

http://download.fedora.us/fedora/fedora/2/i386/RPMS.stable/awstats-6.1-0.fdr.6.noarch.rpm

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2188.nptl
Sirendipity 21:10:36 up 3:07, 10 users, 0.10, 0.11, 0.12 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040522/86b2984b/attachment-0002.bin 


More information about the users mailing list