Cron errors - bash (after awstats logrotate)

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sun May 23 17:09:48 UTC 2004


Am So, den 23.05.2004 schrieb Kevin F. Berrien um 18:18:

> I've removed the following line
> 
> /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update 
> -config=x.homelinux.net  (didn't need it anyways)
> 
> I 've left /bin/bash, as this is what FC1 origionally created, I did not 
> make it so.
> 
> My awstats update works out of logrotate just fine.  But I'm still 
> getting the line 1 error.  How else is my file incorrect?  I only added 
> the awstats & seti lines, the rest was FC1 stock.

From your previous post:

### The Error msg:

Subject: Cron <root at utah> root run-parts /etc/cron.hourly
X-Cron-Env: <SHELL=/bin/bash>
X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <MAILTO=root>
X-Cron-Env: <HOME=/>
X-Cron-Env: <LOGNAME=root>

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

You see that it is about a script in /etc/cron.hourly/ which seems to
contain invalid syntax.

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 19:04:47 up 1 day, 1:01, load average: 0.55, 0.88, 0.77 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040523/4a51c68c/attachment-0001.sig>


More information about the fedora-list mailing list