[mrtg] Lockfile problem

Jan Rockstedt jan.rockstedt at datarutinmedia.se
Wed Jul 18 17:56:57 MEST 2001


Hi !

I am running the mrtg every 5 min.
*/5 * * * * mrtg /etc/mrtg/mrtg.cfg --logging /var/log/mrtg.log

Every 15 min. i get mail about a lockfile. "see below"

I am checking three cisco router's in the same mrtg.cfg file.

Any sugestion of my problem ?

Jan Rockstedt

Subject: Cron <root at linux> /usr/bin/mrtg /etc/mrtg/mrtg.cfg
X-Cron-Env: <SHELL=/bin/bash>
X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <MAILTO=root>
X-Cron-Env: <HOME=/>
X-Cron-Env: <LOGNAME=root>

ERROR: I guess another mrtg is running. A lockfile (/etc/mrtg/mrtg.cfg_l) aged
0 seconds is hanging around. If you are sure that no other mrtg
is running you can remove the lockfile


N  1 root at linux.datarutin  Wed Jul 18 16:00  20/762   "Cron <root at linux> /usr/bin/mrtg /etc/mrtg/mrtg.cfg"
 N  2 root at linux.datarutin  Wed Jul 18 16:15  20/762   "Cron <root at linux> /usr/bin/mrtg /etc/mrtg/mrtg.cfg"
 N  3 root at linux.datarutin  Wed Jul 18 16:25  20/762   "Cron <root at linux> /usr/bin/mrtg /etc/mrtg/mrtg.cfg"
 N  4 root at linux.datarutin  Wed Jul 18 16:40  20/762   "Cron <root at linux> /usr/bin/mrtg /etc/mrtg/mrtg.cfg"
 N  5 root at linux.datarutin  Wed Jul 18 16:50  20/762   "Cron <root at linux> /usr/bin/mrtg /etc/mrtg/mrtg.cfg"
 N  6 root at linux.datarutin  Wed Jul 18 17:00  20/762   "Cron <root at linux> /usr/bin/mrtg /etc/mrtg/mrtg.cfg"
 N  7 root at linux.datarutin  Wed Jul 18 17:15  20/762   "Cron <root at linux> /usr/bin/mrtg /etc/mrtg/mrtg.cfg"
 N  8 root at linux.datarutin  Wed Jul 18 17:35  20/762   "Cron <root at linux> /usr/bin/mrtg /etc/mrtg/mrtg.cfg"
 N  9 root at linux.datarutin  Wed Jul 18 17:45  20/762   "Cron <root at linux> /usr/bin/mrtg /etc/mrtg/mrtg.cfg"



--
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