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.

RRDs causing logs not to work:

Discussion in 'General Discussion' started by michaeln, Apr 28, 2003.

  1. michaeln

    michaeln Member

    Joined:
    Nov 20, 2001
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    A few weeks ago I upgraded CPanel and the logs stopped working. I traced the problem down to a copy of the RRDs.so installed in the cpanel directory.

    After upgrading RRDs.so and CPing the new RRDs.so file over CPanel's copy the logs work. For those that want to know the procedure see the bottom of this post.

    However I am writing this in the hopes that Nick or someone else that might write CPanel might see it. It seems every time I upgrade CPanel the upgrade script overwrites my newer version of RRDs with the older one which does not work. Could you please change this to not overwrite newer versions of the script as this is getting cumbersom to have to upgrade CPanel and then reupgrade RRDs.

    Thank you:


    ------------------

    cd /

    mkdir install

    cd install

    wget http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-1.0.40.tar.gz

    tar -zxvf rrdtool-1.0.40.tar.gz

    cd rrdtool-1.0.40

    sh configure

    make

    cd /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/

    cp RRDs.so RRDs.so.backup

    cd /install/rrdtool-1.0.40/perl-shared/blib/arch/auto/RRDs

    cp RRDs.so /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/

    cd /usr/local/cpanel/3rdparty/lib/perl/

    cp RRDs.pm RRDs.pm.backup

    cd /install/rrdtool-1.0.40/perl-shared/

    cp RRDs.pm /usr/local/cpanel/3rdparty/lib/perl/

    ------------------

    At this points your logs will work

    If you want to finish install RRDs to your server you can type the following:

    ------------------

    cd ../

    make install

    ------------------
     
  2. michaeln

    michaeln Member

    Joined:
    Nov 20, 2001
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    When will this problem be fixed?

    It is getting cumbersom to have to run this fix everytime cpanel updates....

    Not to mention it is easy to forget and customers start complaining that stats do not work.

    cPanel.net Support Ticket Number:
     
  3. michaeln

    michaeln Member

    Joined:
    Nov 20, 2001
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Bumping this up as CPanel still has not fixed this issue..

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page