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

Discussion in 'General Discussion' started by stuartd, Jun 4, 2006.

  1. stuartd

    stuartd Registered

    Joined:
    May 25, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    keep getting this email after i installed mrtg.. does anyone know how to fix this

    Cron <root@sp3> /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok

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

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    /etc/rc.d/init.d/mrtg stop
    then
    /etc/rc.d/init.d/mrtg start
    If you get the same error message, then
    ps auxf
    Find the PID number and kill it using this command:
    kill -9 PID
    Then
    /etc/rc.d/init.d/mrtg start
     
  3. raphillips

    raphillips Registered

    Joined:
    Mar 30, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I had this same problem and before i found this thread i reran cfgmaker and killed me cfg file. Not i am sure the system is hosed up. Does anybody have a cfg file i can look at to try to regenerate mine.

    Thanks,
     
  4. SageBrian

    SageBrian Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    415
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    NY/CT (US)
    cPanel Access Level:
    Root Administrator
    Andy.
    After killing the process, and trying to mrtg start, I get:

    WARNING: Problem with External get '/etc/mrtg/system network eth1':
    Expected a Number for 'in' but got ''
     
  5. digitaleffex

    digitaleffex Registered

    Joined:
    Jul 20, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    your server had the wrong mrtg package installed. It should have had the cpanel mrtg package.

    You have to remove the old mrtg rpm, and installed the correct cpanel version.

    /etc/init.d/mrtg restart
    Shutting down MRTG: [ OK ]
    Starting MRTG: Daemonizing MRTG ...

    Then add it to the up2date skiplist to prevent this from happening again.
     

Share This Page