Hi Larry,
I always "rm -fr /usr/local/hobbit" and "rm -fr /var/log/hobbit/*" before
recompiling to ensure everything is totally clean.
Nonetheless, I get "hobbitd_rrd: error while loading shared libraries:
librrd.so.4: cannot open shared object file: No such file or directory
2008-11-06 06:09:22 Worker process died with exit code 32512, terminating"
in my logs now as it appears to still be looking for the 1.3.4 rrdtool for
some reason (there must be something still on the system that tells it to
look for librrd.so.4)?
This is despite this showing up during configure (having removed the 1.3.4
rrdtool directory entirely before running configure):
"Checking for RRDtool ...
test-rrd.c: In function âmainâ:
test-rrd.c:30: error: too few arguments to function ârrd_graphâ
make: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool-1.2.28/include
Found RRDtool libraries in /usr/local/rrdtool-1.2.28/lib
Linking RRD with PNG library: -L/usr/lib -lpng
"
My apologies for getting sidetracked here, but perhaps this will be useful
to archive for other people who need to downgrade their RRDtool (if this is
indeed the problem anyway!).
Jeremy.
On Wed, Nov 5, 2008 at 3:07 PM, Larry Barber <user-6ef9c2864140@xymon.invalid> wrote:
You may need to remove your .rrd. files that 1.3.4 generated and start from
scratch.
Thanks,
Larry Barber
On Wed, Nov 5, 2008 at 4:56 PM, Jeremy Cappilero <
user-ecc73dbeb460@xymon.invalid> wrote:
I have install RRDTool 1.2.28 now so I have:
[root at zzz hobbit-4.2.0]# ll /usr/local/ | grep rrd
drwxr-xr-x 6 root root 4096 Nov 6 05:41 rrdtool-1.2.28
drwxr-xr-x 6 root root 4096 Nov 5 04:44 rrdtool-1.3.4
I seem to be having trouble getting hobbit to use 1.2.28. At first I
just removed the 1.3.4 directory, hobbit configure reported that it detected
and was using rrdtool 1.2, but when it ran the logs filled with errors about
not finding 1.3.4 files.
I then restored 1.3.4 and tried using:
./configure --server --rrdinclude=/usr/local/rrdtool-1.2.28/include
--rrdlib=/usr/local/rrdtool-1.2.28
However ./configure appears to ignore the extra commands and says it will
use 1.3.4 files:
"Checking for RRDtool ...
test-rrd.c: In function âmainâ:
test-rrd.c:30: error: too few arguments to function ârrd_graphâ
make: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool-1.3.4/include
Found RRDtool libraries in /usr/local/rrdtool-1.3.4/lib
Linking RRD with PNG library: -L/usr/lib -lpng
"
Can anyone advise how to properly remove RRDtool 1.3.4 or get hobbit to
configure using 1.2.28?
TIA!
Jeremy.
On Wed, Nov 5, 2008 at 2:45 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote:
Apparently your rrdtool is quite new. I'm running a very current
snapshot and my rrd is only 1.2.12.
Jeremy Cappilero wrote:
Thanks, I had no idea that page existed!
FWIW, I am using RRDTool 1.3.4. <http://1.3.4.>
After patching, now during hobbit ./configure I get this (which doesn't
appear to present a problem at the time as it continues apparently ok):
Checking for RRDtool ...
test-rrd.c: In function âmainâ:
test-rrd.c:30: error: too few arguments to function ârrd_graphâ
make: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool-1.3.4/include
Found RRDtool libraries in /usr/local/rrdtool-1.3.4/lib
Linking RRD with PNG library: -L/usr/lib -lpng
--
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service: XXX-XXX-XXXX
http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009