Problem FC3

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

Moderators: Developers, Moderators

mindsick
Posts: 10
Joined: Fri Apr 01, 2005 5:04 am

Problem FC3

Post by mindsick »

why on FC3 with all full instalation cacti doesn't create graphs?
i have all the packages installed no problem. rrdtool creates rrd's in rra/ directory. but when i go to view graphs it doesn't appear anything.

this is what i get if i use the wrench:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="kilobytes" \
DEF:a="/var/www/html/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/var/www/html/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105:"Free" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
STACK:b#FFC73B:"Swap" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"


this is for Local Host - Memory Usage.
if anyone had the same problem and solved it please i want to know where is the problem.
thanks
no one can.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Check to make sure that the poller is running from cron every 5 minutes.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mindsick
Posts: 10
Joined: Fri Apr 01, 2005 5:04 am

Post by mindsick »

yup is running in crondtab no problem with that.. few hours ago i was looking for errors in "Graph Management" tab. I've chose a device and i've Turned On Graphic Debug, there must be the problem with rrdtool it says nothing... there must say it's OK or to show any other error message, to me it shows nothing.

RRDTool Says:

i have a slackware 10.0 box that working no problem with cacti0.8.6c.
i don't have any ideea what to do. i've reinstalled all the packages from begining ... i've removed completly, reintalled other versions old versins, new versions etc..

:roll:
no one can.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

You are not the first person to have this problem on FC3, I have yet to track down what is doing it.

Are you using updated from a certain yum archive? What updates have you applied?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mindsick
Posts: 10
Joined: Fri Apr 01, 2005 5:04 am

Post by mindsick »

i've updated all (apache/php/mysql/perl) .. and instaleld new versions of rrdtool and net-snmp.
what i have to do ?! can u give me other packages ?
no one can.
mindsick
Posts: 10
Joined: Fri Apr 01, 2005 5:04 am

Post by mindsick »

no one can.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Um.....

What version of rrdtool is it?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mindsick
Posts: 10
Joined: Fri Apr 01, 2005 5:04 am

Post by mindsick »

rrdtool-1.0.49-1.1.fc3.rf

installed from rpm.

but i've installed from source too the same version, i've compiled and installed, got the same problem.
no one can.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

So going to have to test this.

I already have my FC3 Virtual machine setup, I think updates have been applied, I just need to install and test cacti.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Linzer
Posts: 31
Joined: Tue Sep 24, 2002 12:26 pm

Post by Linzer »

mindsick wrote:rrdtool-1.0.49-1.1.fc3.rf

installed from rpm.

but i've installed from source too the same version, i've compiled and installed, got the same problem.
See my post here http://forums.cacti.net/viewtopic.php?t=6675&highlight=
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

mindsick,

Did you remove the old package when you compiled rrdtool?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mindsick
Posts: 10
Joined: Fri Apr 01, 2005 5:04 am

Post by mindsick »

believe me that i've reinstalled all the packages..
can u give me a order to install?!

i'll remove all php/rrdtool

i want to install others. i suppose rrdtool and php aren't working OK.
no one can.
mindsick
Posts: 10
Joined: Fri Apr 01, 2005 5:04 am

Post by mindsick »

yup i've removed everything. and installed new one. from rpm's and rrdtool i've installed from source too. didn't got any solvation.
no one can.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Typically, I install:

Apache 2.x
Php 4.x
mysql 3.x, 4.x will work, but you have to worry about password format
net-snmp 5.x
rrdtool 1.0.49
cacti0.8.6c fully patched

In that order. I will usually check that php is working right and that snmp and mysql modules are working with it.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mindsick
Posts: 10
Joined: Fri Apr 01, 2005 5:04 am

Post by mindsick »

i've deleted all packages and reinstalled all the packages from 0

now i have

httpd-2.0.52-3
php-mysql-4.3.10-3.2
mysql-3.23.58-13
net-snmp-5.1.2-11
rrdtool-1.0.49-1.1.fc3.rf

but now i have another problem
i've installd all modules for php
php-mysql-4.3.10-3.2
php-gd-4.3.10-3.2
php-snmp-4.3.10-3.2
php-pear-4.3.10-3.2
php-rrdtool-1.0.49-1.1.fc3.rf

and now i got this
PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'rrdtool.so' in Unknown on line 0
Content-type: text/html
X-Powered-By: PHP/4.3.10

any ideea on FC3 ? or a path from where i can take the php-rrdtool module ...
thanks
no one can.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest