Re: Cron errors - bash (after awstats logrotate)

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

 



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@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

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux