[mrtg] Re: Errors from cron

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Sat Oct 14 02:49:35 MEST 2000


Simon Bedford wrote:
> I wonder if you can help me, when I run mrtg from cron it sends mail to
> /var/spool/mail/root with the following error message :-
> 
> ERROR: I guess another mrtg is running. A lockfile
> (/usr/local/etc/mrtg.cfg_l) aged
> 0 seconds is hanging around. If you are sure that no other mrtg
> is running you can remove the lockfile

0 seconds --> two processes are started at the same time.

Check if there are two entries in your crontab file(s).  For instance,
you could have an entry in the user-specific crontab (crontab -l) and
in the system crontab (vi /etc/crontab).

You can verify this by checking the log file /var/log/cron

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list