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

Re: 2 Woody probs: Cron wants mrtg, and apt-get error



My /etc/cron.d/mrtg reads:
"0-55/5 * * * * root if [ -x /usr/bin/mrtg ]; then /usr/bin/mrtg
/etc/mrtg.cfg; fi"
mrtg exists, but if I type mrtg under su, it says
"bash: /usr/bin/mrtg: No such file or directory"
Should I just comment out the line in /etc/cron.d/mrtg?  I am using a
standalone box with  a modem connection. Do I even need mrtg or should I
remove it? File permissions are:
"-rwxr-xr-x    1 root     root        71415 Dec  6 22:45 /usr/bin/mrtg"
Thank you in advance for the help
-Glen

>> Subject: Cron <root@storm> if [ -x /usr/bin/mrtg ]; then
/usr/bin/mrtg
>> /etc/mrtg.cfg; fi
>> X-Cron-Env: <SHELL=/bin/sh>
>> X-Cron-Env: <HOME=/root>
>> X-Cron-Env: <PATH=/usr/bin:/bin>
>> X-Cron-Env: <LOGNAME=root>
>> Date: Sun, 04 Mar 2001 17:10:01 -0500
>>
>> /bin/sh: /usr/bin/mrtg: No such file or directory

>        Just fix the entry in /etc/cron.d/mrtg



Reply to: