vibol hou

Rebuild RRDTool when upgrading cPanel’s Perl

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 Comments

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

Posted by Rony on 7 November 2006 @ 8pm

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

Posted by J on 14 June 2007 @ 5pm

Leave a Comment


Long Beach Cambodian New Year Parade 2008The Huntington LibraryCSULB Cambodian Student Society Culture Show 2008Laguna BeachAudi Driving ExperienceChicagoPaintball 6/27/2009Julian + YoshiSan Pedro