RRDTOOL error => symbol lookup error ...

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
mcolas
Posts: 25
Joined: Fri Jan 30, 2009 4:46 am
Location: Bruxelles, Belguim

RRDTOOL error => symbol lookup error ...

Post by mcolas »

Hello,

I have a problem to view my graph in cacti 0.8.7c

When I turn ON the debuging mode I have this result :

/usr/bin/rrdtool: symbol lookup error: /usr/lib/librrd.so.2: undefined symbol: art_alloc

My server is an Ubuntu 8.04.2

Someone know this issue and help me ?

Have a good day,
Matthieu
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Were did you get rrdtool from? Does rrdtool run successfully from command line?
Reinhard
mcolas
Posts: 25
Joined: Fri Jan 30, 2009 4:46 am
Location: Bruxelles, Belguim

Post by mcolas »

I get the rrdtool from the ubuntu package.
I install it with the command apt-get install rrdtool.

I don't try with the command line.
Have you got a example for do that ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Sure. Visit Graph Management, DEBUG. This will give you an rrdtool command. run that from cli but pipe it into /dev/null
Reinhard
mcolas
Posts: 25
Joined: Fri Jan 30, 2009 4:46 am
Location: Bruxelles, Belguim

Post by mcolas »

So, I see that in the debug graph mode :

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="SW_FLOOR0_1 - Traffic - = Fa0/1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/sw_floor0_1_traffic_in_156.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/cacti/rra/sw_floor0_1_traffic_in_156.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"Total In\: 10.82 GB\n" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"Total Out\: 925.93 MB\n"
RRDTool Says:

/usr/bin/rrdtool: symbol lookup error: /usr/lib/librrd.so.2: undefined symbol: art_alloc

When I push the command in cli folder I received this result :

root@ipg-nagios:/var/www/cacti/cli# rrdtool graph -
rrdtool: symbol lookup error: /usr/lib/librrd.so.2: undefined symbol: art_alloc

So I try to reinstall rrdtool but same result also. Perhaps an upgrade of the rrdtool version help to resolve the problem ?

I don't know how put in the /dev/null file ...

Matthieu
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is which version of rrdtool? 1.3.x versions require different packages compared to 1.2.x. Please read rrdtool docs
Reinhard
mcolas
Posts: 25
Joined: Fri Jan 30, 2009 4:46 am
Location: Bruxelles, Belguim

Post by mcolas »

This is the version 1.2.19 of the rrdtool.
I try to install the 1.3 but same result, the installation is correct but when I try to use the rrdtool the version is always 1.2.19 ...

Matthieu
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests