Results 1 to 6 of 6

Thread: MRTG error loading shared libraries

  1. #1
    Member sh4ka's Avatar
    Join Date
    May 2005
    Posts
    434

    Cool 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?
    Last edited by sh4ka; 09-23-2005 at 02:13 PM.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    Yup, reinstall the RHE gd libraries like this:

    rpm -e --justdb --nodeps gd gd-devel
    up2date -ui gd gd-devel
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member sh4ka's Avatar
    Join Date
    May 2005
    Posts
    434

    Cool 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. #4
    Member sh4ka's Avatar
    Join Date
    May 2005
    Posts
    434

    Smile

    Fixed it!

    thkz!

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    Those "errors" are completely normal and disappear after the 3rd run of the mrtg scripts.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  6. #6
    Member sh4ka's Avatar
    Join Date
    May 2005
    Posts
    434

    Default

    Thank you very much chirpy!

Similar Threads

  1. Replies: 5
    Last Post: 04-07-2011, 02:08 PM
  2. up2date: error while loading shared libraries: libwnck-1.so.4
    By rprix in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 04-25-2007, 06:56 AM
  3. Replies: 3
    Last Post: 06-22-2006, 12:48 AM
  4. error while loading shared libraries: libssl.so.0.9.7
    By fdnet1 in forum New User Questions
    Replies: 9
    Last Post: 05-18-2006, 04:30 PM
  5. Sendmail - error while loading shared libraries
    By prodigy in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 05-22-2005, 04:41 AM