Upgrade to Ubuntu9.4 cacti8.7d does not shows graphs anymore
Moderators: Developers, Moderators
Upgrade to Ubuntu9.4 cacti8.7d does not shows graphs anymore
Hy, i'm having a big problem with cacti after upgrading my Ubuntu 8.10 to 9.4. I cannot see anymore grapsh. From what i have checked, data are being colected and put into rra, but no graps are shown in html page.
The poller seems to be ok:
cosmin@Dell:/opt/lampp/htdocs/cacti$ sudo /opt/lampp/bin/php poller.php
05/08/2009 11:31:38 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '122', Max Runtime '298', Poller Runs: '1'
05/08/2009 11:31:38 AM - POLLER: Poller[0] NOTE: Cron is configured to run too often! The Poller Interval is '300' seconds, with a minimum Cron period of '300' seconds, but only 122 seconds have passed since the poller last ran.
If i do a debug on a graph i get:
RRDTool Says:
/usr/local/rrdtool-1.3.7/bin/rrdtool: symbol lookup error: /usr/lib/libcairo.so.2: undefined symbol: FT_Library_SetLcdFilter
I have no clue why it sais that and neither "google" doesnt seems to know:)
Anyone had this problem after upgrading to Ubuntu 9.4?
The poller seems to be ok:
cosmin@Dell:/opt/lampp/htdocs/cacti$ sudo /opt/lampp/bin/php poller.php
05/08/2009 11:31:38 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '122', Max Runtime '298', Poller Runs: '1'
05/08/2009 11:31:38 AM - POLLER: Poller[0] NOTE: Cron is configured to run too often! The Poller Interval is '300' seconds, with a minimum Cron period of '300' seconds, but only 122 seconds have passed since the poller last ran.
If i do a debug on a graph i get:
RRDTool Says:
/usr/local/rrdtool-1.3.7/bin/rrdtool: symbol lookup error: /usr/lib/libcairo.so.2: undefined symbol: FT_Library_SetLcdFilter
I have no clue why it sais that and neither "google" doesnt seems to know:)
Anyone had this problem after upgrading to Ubuntu 9.4?
Did some more checkings, and data are collected right into rrd files. I manually made a .png file from one of my rrd files:
cosmin@Dell:/usr/local/rrdtool-1.3.7/bin$ sudo ./rrdtool graph proc.png --start 1241770418 --end 1241780418 DEF:procvar=/opt/lampp/htdocs/cacti/rra/localhost_proc_7.rrd:proc:AVERAGE LINE2:procvar#FF0000
481x149
And it made a nice graph whit the processes running on my PC...but in cacti i still cand see no graphs.
Plsm realy need some help here.
cosmin@Dell:/usr/local/rrdtool-1.3.7/bin$ sudo ./rrdtool graph proc.png --start 1241770418 --end 1241780418 DEF:procvar=/opt/lampp/htdocs/cacti/rra/localhost_proc_7.rrd:proc:AVERAGE LINE2:procvar#FF0000
481x149
And it made a nice graph whit the processes running on my PC...but in cacti i still cand see no graphs.
Plsm realy need some help here.
OK, so i have purged the rrdtool and did a fresh reinstall, did not complain about anything when installing it.
But the same problem remained:
RRDTool Says:
/opt/rrdtool-1.3.7/bin/rrdtool: symbol lookup error: /usr/lib/libcairo.so.2: undefined symbol: FT_Library_SetLcdFilter
I will try to see whats with that libcairo.so.2...but if google gives me no answer, i really need some help.
But the same problem remained:
RRDTool Says:
/opt/rrdtool-1.3.7/bin/rrdtool: symbol lookup error: /usr/lib/libcairo.so.2: undefined symbol: FT_Library_SetLcdFilter
I will try to see whats with that libcairo.so.2...but if google gives me no answer, i really need some help.
I have double checked that. The path is ok:
/opt/rrdtool-1.3.7/bin/rrdtool
And cacti sais:
[OK: FILE FOUND]
I have tried again to make a graph manually and it works. But no graph is displayed in cacti.
This are the properties of the graph in cacti:
/opt/rrdtool-1.3.7/bin/rrdtool graph - \
--imgformat=PNG \
--start=1241699087 \
--end=1241785487 \
--title="Localhost - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2009/05/07 15\:24\:47 To 2009/05/08 15\:24\:47\c" \
COMMENT:" \n" \
--vertical-label="kilobytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/opt/lampp/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/opt/lampp/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105FF:"Free" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#FFC73BFF:"Swap":STACK \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n"
Using those properties, i could make manually a graph like the one that i have attached in command line:
cosmin@Dell:/opt/rrdtool-1.3.7/bin$ sudo ./rrdtool graph proc.png \
> --start=1241699087 \
> --end=1241785487 \
> --title="Localhost - Memory Usage" \
> --rigid \
> --base=1000 \
> --height=120 \
> --width=500 \
> --alt-autoscale-max \
> --lower-limit=0 \
> COMMENT:"From 2009/05/07 15\:24\:47 To 2009/05/08 15\:24\:47\c" \
> COMMENT:" \n" \
> --vertical-label="kilobytes" \
> --slope-mode \
> --font TITLE:12: \
> --font AXIS:8: \
> --font LEGEND:10: \
> --font UNIT:8: \
> DEF:a="/opt/lampp/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
> DEF:b="/opt/lampp/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
> AREA:a#FF4105FF:"Free" \
> GPRINTLAST:"Current\:%8.2lf %s" \
> GPRINTAVERAGE:"Average\:%8.2lf %s" \
> GPRINTMAX:"Maximum\:%8.2lf %s\n" \
> AREA:b#FFC73BFF:"Swap":STACK \
> GPRINTLAST:"Current\:%8.2lf %s" \
> GPRINTAVERAGE:"Average\:%8.2lf %s" \
> GPRINTMAX:"Maximum\:%8.2lf %s\n"
[sudo] password for cosmin:
603x261
So, i think you are right it is a problem of cacti when it calls rrdtool, but i really dont know how to fix it.
/opt/rrdtool-1.3.7/bin/rrdtool
And cacti sais:
[OK: FILE FOUND]
I have tried again to make a graph manually and it works. But no graph is displayed in cacti.
This are the properties of the graph in cacti:
/opt/rrdtool-1.3.7/bin/rrdtool graph - \
--imgformat=PNG \
--start=1241699087 \
--end=1241785487 \
--title="Localhost - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2009/05/07 15\:24\:47 To 2009/05/08 15\:24\:47\c" \
COMMENT:" \n" \
--vertical-label="kilobytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/opt/lampp/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/opt/lampp/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105FF:"Free" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#FFC73BFF:"Swap":STACK \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n"
Using those properties, i could make manually a graph like the one that i have attached in command line:
cosmin@Dell:/opt/rrdtool-1.3.7/bin$ sudo ./rrdtool graph proc.png \
> --start=1241699087 \
> --end=1241785487 \
> --title="Localhost - Memory Usage" \
> --rigid \
> --base=1000 \
> --height=120 \
> --width=500 \
> --alt-autoscale-max \
> --lower-limit=0 \
> COMMENT:"From 2009/05/07 15\:24\:47 To 2009/05/08 15\:24\:47\c" \
> COMMENT:" \n" \
> --vertical-label="kilobytes" \
> --slope-mode \
> --font TITLE:12: \
> --font AXIS:8: \
> --font LEGEND:10: \
> --font UNIT:8: \
> DEF:a="/opt/lampp/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
> DEF:b="/opt/lampp/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
> AREA:a#FF4105FF:"Free" \
> GPRINTLAST:"Current\:%8.2lf %s" \
> GPRINTAVERAGE:"Average\:%8.2lf %s" \
> GPRINTMAX:"Maximum\:%8.2lf %s\n" \
> AREA:b#FFC73BFF:"Swap":STACK \
> GPRINTLAST:"Current\:%8.2lf %s" \
> GPRINTAVERAGE:"Average\:%8.2lf %s" \
> GPRINTMAX:"Maximum\:%8.2lf %s\n"
[sudo] password for cosmin:
603x261
So, i think you are right it is a problem of cacti when it calls rrdtool, but i really dont know how to fix it.
- Attachments
-
- proc.png (21.94 KiB) Viewed 3320 times
No...i compiled it myself like that
473 wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.7.tar.gz
474 tar -xzf rrdtool-1.3.7.tar.gz
475 sudo rm -rI /usr/local/rrdtool-1.3.7/
476 cd rrdtool-1.3.7/
477 sudo mkdir /opt/rrdtool-1.3.7
479 ./configure --prefix=/opt/rrdtool-1.3.7/
480 make
481 sudo make install
473 wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.7.tar.gz
474 tar -xzf rrdtool-1.3.7.tar.gz
475 sudo rm -rI /usr/local/rrdtool-1.3.7/
476 cd rrdtool-1.3.7/
477 sudo mkdir /opt/rrdtool-1.3.7
479 ./configure --prefix=/opt/rrdtool-1.3.7/
480 make
481 sudo make install
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I just recently had a user complain that their 1.3.7 would not properly detect from CentOS 5.3 as well. Looks like a library issue definately. Goto Tech Support and see if the auto-detection logic works there. If it's 2 for 2, then it's likely a shared library mismatch somewhere. It could be that there is a library being injected into the LD_LIBRARY_PATH for the Apache server that conflicts with the RRDtool required version without a shared library version change.
With Cacti, right now, there is no reason to be running RRDtool 1.3.x anyway.
TheWitness
With Cacti, right now, there is no reason to be running RRDtool 1.3.x anyway.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I believe that the 1.3.7 is a packaging issue on the Ubuntu/Debian side. RRDtool 1.3.x is supported under Cacti 0.8.7d. There are a few reports of 1.3.7 breaking things.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 4 guests