uneedawebsite

Active Member
Apr 14, 2003
27
0
151
Since the system updated last night, we have been getting this from cron every 5 minutes:

Daemonizing MRTG ...
ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg/mrtg.pid

What's going on here?
 

FWC

Well-Known Member
May 13, 2002
349
0
316
Ontario, Canada
I haven't figured out how to stop it yet. In the meantime I've got a filter on my email account discarding those specific cron notices.
 

FWC

Well-Known Member
May 13, 2002
349
0
316
Ontario, Canada
Originally posted by wayhawke
To stop mrtg, run this:

killall mrtg
That won't stop the cron that is trying to restart it. If you kill it, it will start on the next cycle. Then it will try to start agan 5 minutes later and continue spamming.
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,764
319
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
I am not getting these emails.

There is no instances of MRTG running on our server anymore.

Stats stopped getting updated yesterday morning at 0400.

There IS an entry in the crontab for it.

Anyone know how I can get my mrtg back?
 

jamesbond

Well-Known Member
Oct 9, 2002
737
1
168
Originally posted by pcgh
Bump - Same problem here since the update.
Yes same here too.

I got the error messages, then stopped our own version of MRTG and then started CPanel's MRTG. I did not get any error messages anymore after that but MRTG isn't working either.
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,764
319
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
Nothing! Zero, zip, nada!

I am rather irate that cpanel has broken my isntallation of mrtg.

I am all for cpanel integrating mrtg, but why oh why did they implement it in a broken state?!?!?!?!

Did anyone actually pay the 1500 or so for a license? Geesh I'd be torqued if I was spending more than the $10 a month I am for cpanel.
 

andyf

Well-Known Member
Jan 7, 2002
249
0
316
UK
Try building your own mrtg rather than using an RPM, that way cpanel shouldn't touch it since IIRC it uses the RPM.

Edit: either that or specify a different PID file in your config as opposed to the one cpanel uses.
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
9
318
back woods of NC, USA
I have had this happen to me a few times. The cPanel updates sometimes update my own version of MRTG to a later version. I wake up to a mess of emails. This has happened a couple of times. So all I do is remove the current version of MRTG and install my RPM again.

I do wish I had enough sense to tell the updates to skip MRTG but lack of time doesn't help me much :(
 

jamesbond

Well-Known Member
Oct 9, 2002
737
1
168
Originally posted by GotHosting
Well, I just reinstalled the mrtg by gpan, and all is well again. I was just hoping that cpanel was going to incorporate it, but oh well.
I'm going to do the same, because it doesn't seem that the CPanel incorporation of MRTG is going anywhere.
 

Steve-PWH

Well-Known Member
Jun 30, 2002
116
0
166
All u having problems same as me, I had gpan RPM installed:

The latest MRTG versions run MRTG as a cronjob every 5 minutes to update the MRTG results. However, gpan's MRTG runs MRTG as a daemon
 

bicho44

Registered
Apr 9, 2003
3
0
151
Bariloche, Patagonia, Argentina
Hi:

im very new at this, but i try to learn, also i have this problem :D

So, anyone can gimme a step by step solution to this?

I really apreciate this.

Thx. in advance.