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 error loading shared libraries

Discussion in 'General Discussion' started by sh4ka, Sep 22, 2005.

  1. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    MRTG still not working :(

    :( I installed MRTG on my RH-cPanel server and I got the followin error:
    The curious thing is that at the error apparently the libgd libraries are not installed.. but they are, I tried recompiling apache again and again checkin the GD module but the error continues..

    /usr/bin/rateup: error while loading shared libraries: libgd.so.1.8: cannot open shared object file: No such file or directory
    ERROR: Skipping webupdates because rateup did not return anything sensible
    WARNING: rateup died from Signal 0
    with Exit Value 127 when doing router 'index'
    Signal was 0, Returncode was 127

    Can anyone help me with this?
     
    #1 sh4ka, Sep 22, 2005
    Last edited: Sep 23, 2005
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yup, reinstall the RHE gd libraries like this:

    rpm -e --justdb --nodeps gd gd-devel
    up2date -ui gd gd-devel
     
  3. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    MRTG still not working :(

    Hi Chirpy, I did what you told me and the primary rateup error dissapear, but now i got lot of rateups errors :(...

    Any idea how to fix it ?????, I already tried but the error don't dissapear

    thkz!

    .....
    ....
    Testing package set / solving RPM inter-dependencies...
    ########################################
    gd-1.8.4-12.3.1.i386.rpm: ########################## Done.
    gd-devel-1.8.4-12.3.1.i386. ########################## Done.
    Preparing ########################################### [100%]

    Installing...
    1:gd ########################################### [100%]
    2:gd-devel ########################################### [100%]
    root@server [~]# rpm -qv gd
    gd-1.8.4-12.3.1
    root@server [~]# service mrtg stop
    Shutting down MRTG: [ OK ]
    root@server [~]# service mrtg start
    Starting MRTG: Daemonizing MRTG ...

    root@server [~]# warning, got duplicate tcp line.
    warning, got duplicate tcp line.
    Rateup WARNING: /usr/bin/rateup could not read the primary log file for index
    Rateup WARNING: /usr/bin/rateup The backup log file for index was invalid as well
    Rateup WARNING: /usr/bin/rateup Can't remove index.old updating log file
    Rateup WARNING: /usr/bin/rateup Can't rename index.log to index.old updating log file
    Rateup WARNING: /usr/bin/rateup could not read the primary log file for tcp
    Rateup WARNING: /usr/bin/rateup The backup log file for tcp was invalid as well
    Rateup WARNING: /usr/bin/rateup Can't remove tcp.old updating log file
    Rateup WARNING: /usr/bin/rateup Can't rename tcp.log to tcp.old updating log file
     
  4. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    Fixed it! :) :D

    thkz!
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Those "errors" are completely normal and disappear after the 3rd run of the mrtg scripts.
     
  6. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    Thank you very much chirpy!
     
Loading...

Share This Page