rrdtool not installing on cPanel

Today I have ordered new cPanel/WHM server (CentOS 6.3) but it had problems with rrdtool and not reporting bandwidth usage. When I wanted to see the usage in cPanel I would get error saying “RRDTOOL is missing, please install rrdtool with a prefix of /usr/local/cpanel/3rdparty!“.

Goolge helped me to find me a solution – to run

/scripts/rrdtoolinstall

But that produced the error

Using catalogs: /etc/sgml/sgml-docbook-3.1-1.0-51.el6.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print
Working on: /usr/local/cpanel/src/3rdparty/gpl/fontconfig-2.6.0/doc/local-fontconfig-devel.sgml
nsgmls:(invalid location):E: invalid filename ""
rmdir: failed to remove `devel-man': Directory not empty
gmake[2]: *** [func.refs] Error 1
gmake[2]: Leaving directory `/usr/local/cpanel/src/3rdparty/gpl/fontconfig-2.6.0/doc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/cpanel/src/3rdparty/gpl/fontconfig-2.6.0'
gmake: *** [all] Error 2
child exited with value 2

and I would get the same thing trying to restart the cPanel service…

service cpanel restart

I was stuck with no idea how to solve this and what that gibberish code really means..
So I had to Goooooooogle some more, and I found a simple but working solution:

The solution is to run:

yum remove docbook-utils

and after that

/scripts/rrdtoolinstall

That would remove docbook that is causing problems and other command would then install it properly.
And after that rrdtool should work just fine.

This post helped you out? Why not buy me a coffee?

Amount
Your message for me
How to edit .po language files in WordPress themes
Solution for yum problems on new CentOS 6 + WHM installations

Comments

  1. Thanks – Problem with fontconfig Getting errors when cpanel 11.32 freshly installed on centos 6.2 disappeared.

Leave a Reply

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