Koozali.org: home of the SME Server

Cron <root@systemname> /usr/bin/mrtg /etc/mrtg/mrtg.cf

Anonymous

Cron <root@systemname> /usr/bin/mrtg /etc/mrtg/mrtg.cf
« on: July 07, 2004, 11:10:51 AM »
Hi,

After a successful upgrade of my old and trysty SME 5.6 to 6.0 and then an install of Secure mail for 6.0. I just installed MRTG with Jesper's script on http://www.swerts-knudsen.dk/

Everything seemed to go OK. But today I find this in 2 emails to admin:
Subject: Cron <root@indsigt1> /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Message:
Rateup WARNING: /usr/bin/rateup could not read the primary log file for disk1
Rateup WARNING: /usr/bin/rateup The backup log file for disk1 was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove disk1.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename disk1.log to disk1.old updating log file
Rateup WARNING: /usr/bin/rateup could not read the primary log file for kontor.cpusum
Rateup WARNING: /usr/bin/rateup The backup log file for kontor.cpusum was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove kontor.cpusum.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename kontor.cpusum.log to kontor.cpusum.old updating log file
Rateup WARNING: /usr/bin/rateup could not read the primary log file for eth2
Rateup WARNING: /usr/bin/rateup The backup log file for eth2 was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove eth2.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename eth2.log to eth2.old updating log file
Rateup WARNING: /usr/bin/rateup could not read the primary log file for eth3
Rateup WARNING: /usr/bin/rateup The backup log file for eth3 was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove eth3.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename eth3.log to eth3.old updating log file
*********
Another mail:
Subject: Cron <root@indsigt1> /etc/mrtg/all-ip
Mess:
/bin/bash: /etc/mrtg/all-ip: Permission denied
*********

I have since this enabled dynamic content from my MRTG ibay.

What might be wrong with my system?

Thanks for your help

Morten Hansen