If you’ve upgraded Perl in cPanel, you need to make sure you’ve got an up-to-date build of rrdtool or stats will not run properly on the server. To do this, run:

/scripts/rrdtoolinstall

If there is no output, you will have to manual edit the file and comment out the version comparison to force the rebuild. You have a bad build if the following error occurs when running /scripts/runstatsonce:

root@system [~]# /scripts/runstatsonce
This script requires cPanel 6.4.2 Build 11+
/usr/bin/perl: relocation error: /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/RRDs.so: undefined symbol: Perl_Gthr_key_ptr
/usr/bin/perl: relocation error: /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/RRDs.so: undefined symbol: Perl_Gthr_key_ptr

 

2 Responses to Rebuild RRDTool when upgrading cPanel’s Perl

  1. Rony says:

    Thank you for that, that was exacly the problem I had and using your instraction solved it.

  2. J says:

    cPanel is getting bigger and buggier with every release. Thanks for this quick recipe that got me going again.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>