View Full Version : RRDTool install on Blue Host
greenman
04-25-2008, 06:15 PM
Has anyone installed rrdtool on bluehost?
I'd like to do it, but i'm having trouble.
It says libart-2.0 isn't available.
Any clues?
greenman
04-27-2008, 04:59 PM
libart-2.0 doesn't exist on bluehost.
download, compile and install it locally first.
cd
mkdir $HOME/local_installs
cd local_installs
wget ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-2.3.9.tar.gz
tar -xzvf libart_lgpl-2.3.9.tar.gz [or whatever is most recent]
cd libart_lgpl-2.3.20
./configure --prefix=/home/myuser/local --with-libs=/home/myuser/local/lib --with-includes=/home/myuser/local/include
make
make install
cd ../You should now be in $HOME/local_installs folder.
wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.2.27.tar.gz
tar -xzvf rrdtool-1.2.27.tar.gz
cd rrdtool-1.2.27
./configure --prefix=/home/myuser/local --with-includes=/home/myuser/local/include LIBS="-lm" LDFLAGS="-L/home/myuser/local/lib" CPPFLAGS="-I/home/myuser/local/include/libart-2.0"
make
make install
cd
Should now be at your home directory
nano -w .batch_profile
change
PATH="$PATH:$HOME/bin" to
PATH="$PATH:$HOME/bin:$HOME/local/bin"
RRDTool is now installed and available from your bash configuration.
Sorry - no man pages in this install.
Good luck.
I've noticed that Bluehost has rrdtool already installed and uses it under cPanel, for example the Bandwidth graphs. From a ssh session, I have confirmed that I can execute rrdtool.
For our website, we'd like to generate some graphs using rrdtool but have hit a stumbling block. We've successfully created a rrd database and updated it. The only thing we cannot do is generate graphs. When we try we get the following errors:
(process:626): Pango-WARNING **: No builtin or dynamically
loaded modules were found. Pango will not work correctly.
This probably means there was an error in the creation of:
'/etc/pango/pango.modules'
You should create this file by running pango-querymodules.
(process:626): Pango-WARNING **: pango_shape called with bad font, expect ugly output
(process:626): Pango-WARNING **: pango_font_get_glyph_extents called with bad font, expect ugly output
We've confirmed the expected "ugly output".
As the cPanel bandwidth graphs demonstrate, the pango modules must exist, does anyone know how to point at them? i.e. eliminate the Pango-WARNING message and get pretty graphs like the bandwidth graphs?
A second question if I may, does anyone know if it is possible to generate the bandwidth graphs from ssh, rather than going through cPanel? We'd like to be able to generate them nightly.
Thanks in advance,
P_I
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.