On 20/10/2005 22:09, "eirini" <[EMAIL PROTECTED]> wrote:

> Subject: Cron <[EMAIL PROTECTED]> /usr/local/www/run.sh
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <HOME=/root>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=root>
> X-Cron-Env: <USER=root>
> 
> env: mrtg: No such file or directory


> # cat /usr/local/www/run.sh
> env LANG=C mrtg  /usr/local/www/mrtg/eg2/eg2.cfg

I pick the problem to be this line ^ above.
Try changing the mrtg (the first one after LANG=C) in the run.sh to the full
path - from the cron email you got it is not located within PATH which is
why it can't find it.
If you removed the mrtg folder you may need to change the path to the cfg
file as well.

The other option is put mrtg in /usr/bin/


-- 

Shane Ambler
Sales Department
007Marketing.com
[EMAIL PROTECTED]


_______________________________________________
freebsd-performance@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to