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

Re: crontab error



On Sat, 24 Jul 1999, Jeff Rose wrote:


That is not the problem:

His crontab is trying to run:

root /usr/bin/mrtg /mrtg/main-lizard.cfg


and /bin/bash: is sending a response:

/bin/bash: root: command not found



Can we see the crontab file ?

--Ariel

> Mike wrote:
> >
> > Hi all.
> > I'm keep getting this error mesage in my root mail :
> >
> > Subject: Cron <root@linux> root /usr/bin/mrtg /mrtg/main-lizard.cfg
> >
> > /bin/bash: root: command not found
> >
> > my cron table looks like this :
> >
> > SHELL=/bin/bash
> > PATH=/sbin:/bin:/usr/sbin:/usr/bin
> > MAILTO=root
> 
> You probably already have an accurate response, however:
> 
> Do you have a symbolic link from /bin/sh to /bin/bash?
> 
> Is there even a /bin/bash existing in your /bin directory?
> 
> Otherwise, I'll let the *NIX veterans help you here!
> 
> Cheers, Jeff
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Jeff Rose     Everyone's Linux User Group (ELUG)
> http://www.elug.org  mailto:uadmin@elug.org
>   [Gtk]ICQ: 10400141   [G]AIM: JeffRoseFL
> 
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
> 

--
Ariel Biener
e-mail: ariel@post.tau.ac.il           Work phone: 03-640608
fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il