Help - Search - Members - Calendar
Full Version: MRTG not working
The Planet Forums > Control Panels > cPanel/WHM
chapsrulez
About six months ago i installed MRTG through the following rpm

mrtg-2.9.17-1cpanel.i386.rpm

a few days before i installed mailscanner-mrtg

MailScanner-4.22-5.rpm.tar.gz

They both worked fine, but today i noticed that mrtg was not working, but mailscanner-mrtg was working fine, i came to the forums to find what was going on, and by mistake i installed the following mrtg

mrtg-2.9.17-4ct.i386.rpm

which is for exim, then i rpm -e mrtg to unistall it, and ran again the first rpm, but when i try to start the service i recive the following error.

root@gaudi [/temporales/mailscanner]# service mrtg start
Starting MRTG: Daemonizing MRTG ...

root@gaudi [/temporales/mailscanner]# ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg/mrtg.pid

how can i uninstall all of my mrtg installations to correct this error??
tnks.
eth00
#locate mrtg

see if there is another mrtg folder. If not try

#killall -9 mrtg
maybe it was somehow able to keep running even after the uninstall
chapsrulez
eth00:

root@gaudi [~]# whereis mrtg
mrtg: /etc/mrtg

root@gaudi [/etc/mrtg]# dir
./ ../ aux/ mailscanner-mrtg.cfg mailscanner-mrtg.ok mrtg.ok mrtg.pid

root@gaudi [~]# killall -9 mrtg
mrtg: no process killed

i have tried once again rpm -e mrtg but without success, any idea how to remove it?
eth00
QUOTE
Originally posted by chapsrulez


root@gaudi [/temporales/mailscanner]# ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg/mrtg.pid


QUOTE
root@gaudi [/etc/mrtg]# dir
./ ../ aux/ mailscanner-mrtg.cfg mailscanner-mrtg.ok mrtg.ok mrtg.pid


Delete the /etc/mrtg/mrtg.pid file and that should fix the problem. The pid file is still there so it thinks that mrtg is still running.
chapsrulez
deleting /etc/mrtg/mrtg.pid worked

thanks eth00
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.