chapsrulez
Mar 1 2004, 07:01 PM
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
Mar 1 2004, 09:01 PM
#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
Mar 2 2004, 02:15 AM
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
Mar 2 2004, 07:34 AM
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
Mar 2 2004, 11:37 AM
deleting /etc/mrtg/mrtg.pid worked
thanks eth00