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
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: *** [func.refs] Error 1 gmake: Leaving directory `/usr/local/cpanel/src/3rdparty/gpl/fontconfig-2.6.0/doc' gmake: *** [all-recursive] Error 1 gmake: 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
That would remove docbook that is causing problems and other command would then install it properly.
And after that rrdtool should work just fine.