The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MRTG problems since 11/14 updates

Discussion in 'General Discussion' started by uneedawebsite, Nov 14, 2003.

  1. uneedawebsite

    uneedawebsite Active Member

    Joined:
    Apr 14, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  2. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
  3. wayhawke

    wayhawke Registered

    Joined:
    Dec 27, 2002
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    To stop mrtg, run this:

    killall mrtg
     
  4. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    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.
     
  5. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    kill it and then edit /etc/crontab to remove it. Also delete pid file in /etc/mrtg
     
  6. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    Crap, I never looked at the crontab itself. :eek:
     
  7. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, 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?
     
  8. pcgh

    pcgh Active Member

    Joined:
    Jun 25, 2003
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Bump - Same problem here since the update.
     
  9. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
  10. hunet

    hunet Member

    Joined:
    Mar 29, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Is there any updates on this issue?

    I miss it already :(

    Kevin
     
  11. pcgh

    pcgh Active Member

    Joined:
    Jun 25, 2003
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Hello, cPanel???? Please at least acknowledge the issue!
     
  12. andyf

    andyf Well-Known Member

    Joined:
    Jan 7, 2002
    Messages:
    246
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK
    ps auxwwf|grep mrtg

    what do you see?
     
  13. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, 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.
     
  14. andyf

    andyf Well-Known Member

    Joined:
    Jan 7, 2002
    Messages:
    246
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
  15. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    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 :(
     
  16. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    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.
     
  17. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    18
    I'm going to do the same, because it doesn't seem that the CPanel incorporation of MRTG is going anywhere.
     
  18. Steve-PWH

    Steve-PWH Well-Known Member

    Joined:
    Jun 30, 2002
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  19. bicho44

    bicho44 Registered

    Joined:
    Apr 9, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  20. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
Loading...

Share This Page