On Wed, Oct 01, 2003 at 05:45:30PM +0200, Fr�d�ric Bothamy wrote:
> * heva <[EMAIL PROTECTED]> [2003-10-01 16:47] :
> > Bonjour,
> > 
> > Je viens d'installer mrtg et je l'ai insere dans ma crontab:
> > */5 * * * * /usr/bin/mrtg /etc/mrtg.cfg
> > 
> > Tout semble bien marcher, les graphs generes semble corrects
> > mais je recois des mails d'erreurs:
> > 
> > ERROR : it looks as if you are running two copies of mrtg in parallel on
> >     the same config file.There is a lockfile
> >     (/var/lock/mrtg/_etc_mrtg.cfg_l) and its is 
> >     only 0 seconds old ... Check your crontab.
> >     (/etc/crontab and /var/spool/cron/root)
> > 
> > Et j'ai bien verifie qu'il n'y ai pas de deamon mrtg.
> 
> S'il n'y a aucun d�mon mrtg, tu peux sans probl�me supprimer le fichier
> de verrouillage /var/lock/mrtg/_etc_mrtg.cfg_l. V�rifie tout de m�me
> avant � qui appartient ce fichier avec lsof
> /var/lock/mrtg/_etc_mrtg.cfg_l.
> 

Le probleme c'est que ce fichier semble etre le lock du mrtg de la
crontab puisqu'il n'est pas present dans /var/lock/mrtg/.
Si j'ai bien compris, on dirait qu'il se lance 2 fois 
(cf le "and its is only 0 second olds")

Répondre à