Results 1 to 5 of 5

Thread: Mrtg

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    4

    Default Mrtg

    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. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by stuartd
    ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg/mrtg.pid Daemonizing MRTG ...
    /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
    Andy Reed
    CCNA, RHCE, and Ubuntu Technologist
    ServerTune.com

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    1

    Default

    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. #4
    Member SageBrian's Avatar
    Join Date
    Jun 2002
    Location
    NY/CT (US)
    Posts
    398
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by AndyReed View Post
    /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
    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. #5
    Registered User
    Join Date
    Jul 2005
    Posts
    3

    Default

    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.

Similar Threads

  1. Mrtg
    By Mysteerie in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 11-30-2004, 01:25 PM
  2. Mrtg
    By TomNiq in forum cPanel Developers
    Replies: 4
    Last Post: 11-04-2004, 05:16 PM
  3. Mrtg
    By br3ach in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 07-28-2004, 01:02 PM
  4. Mrtg
    By r3diensten in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 02-25-2004, 08:23 PM
  5. Help - MRTG
    By phpman in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 11-20-2003, 04:24 PM