Results 1 to 5 of 5

Thread: Mrtg

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

    Default Mrtg

    i have installed MRTG onto my server but for some reason the images do not show up. When i try to restart MRTG i get this error:

    WARNING: rateup died from Signal 11
    with Exit Value 0 when doing router 'mail-host-email-queue'
    Signal was 11, Returncode was 0
    libpng warning: Application was compiled with png.h from libpng-1.2.2
    libpng warning: Application is running with png.c from libpng-1.0.15
    gd-png: fatal libpng error: Incompatible libpng version in application and library

    Can someone help?

    Tom

  2. #2
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,780

    Default

    Quoted from another forum

    quote:
    --------------------------------------------------------------------------------
    Originally posted by DavidL
    service mrtg stop
    rpm -e --nodeps mrtg
    rpm -e --nodeps libpng10
    cd /usr/lib
    ln -s libpng.so.3 libpng.so.2
    cd to your directory your mrtg rpm is in
    rpm -Uvh mrtg-package-name.rpm
    service mrtg start
    --------------------------------------------------------------------------------

    That should work. (no sense rewriting what has already been written)
    Regards,
    David
    Forum Moderator

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    4

    Default

    lol i got it working by restarting apache....i dunno what it was but thanks for your replies in both forums!

  4. #4
    Member
    Join Date
    Apr 2004
    Location
    Brisbane, Queensland, Australia
    Posts
    66

    Default

    I had the same problem with the images not shownig with my MRTG stats, so what i did was right click on the image that didnt show, selected "Properties" and then viewed the file name, then went into ssh and type: locate file-name.png
    then copied the file-name.png to the directory where mrtg site is located and the image worked

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jan 2003
    Posts
    120

    Default

    1. cd /usr/lib
    2. mv libpng.so.2 libpng.so.2.OLD
    3. ln -s libpng.so.3 libpng.so.2
    4. /etc/init.d/mrtg stop
    5. 4. /etc/init.d/mrtg start

    And works again...

Similar Threads

  1. Mrtg
    By stuartd in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 11-19-2007, 10:12 AM
  2. Mrtg
    By Mysteerie in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 11-30-2004, 01:25 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