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/we...-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
------------------



LinkBack URL
About LinkBacks
Reply With Quote




