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

Re: error mrtg + crontab



* heva <help_debian@yahoo.fr> [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.


Fred

-- 
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Code de conduite des listes Debian
http://www.fr.debian.org/MailingLists/#codeofconduct



Reply to: