no rrdtool files
Moderators: Developers, Moderators
no rrdtool files
ERROR: opening '/usr/local/apache/htdocs/cacti-0.8.6h/rra/localhost_proc_7.rrd': No such file or directory
ERROR: opening '/usr/local/apache/htdocs/cacti-0.8.6h/rra/temp_sensor_1_temp_8.rrd': No such file or directory
ERROR: opening '/usr/local/apache/htdocs/cacti-0.8.6h/rra/temp_sensor_1_temp_8.rrd': No such file or directory
ERROR: opening '/usr/local/apache/htdocs/cacti-0.8.6h/rra/temp_sensor_1_temp_8.rrd': No such file or directory
ERROR: opening '/usr/local/apache/htdocs/cacti-0.8.6h/rra/temp_sensor_1_temp_8.rrd': No such file or directory
ERROR: opening '/usr/local/apache/htdocs/cacti-0.8.6h/rra/temp_sensor_1_temp_8.rrd': No such file or directory
im a complete n00b and this is my first time installing it so i probably screwed something up but it doesnt seem like rrdtool is working correctly. no graphs are showing up and thats in my apache error_log... help!
ERROR: opening '/usr/local/apache/htdocs/cacti-0.8.6h/rra/temp_sensor_1_temp_8.rrd': No such file or directory
ERROR: opening '/usr/local/apache/htdocs/cacti-0.8.6h/rra/temp_sensor_1_temp_8.rrd': No such file or directory
ERROR: opening '/usr/local/apache/htdocs/cacti-0.8.6h/rra/temp_sensor_1_temp_8.rrd': No such file or directory
ERROR: opening '/usr/local/apache/htdocs/cacti-0.8.6h/rra/temp_sensor_1_temp_8.rrd': No such file or directory
ERROR: opening '/usr/local/apache/htdocs/cacti-0.8.6h/rra/temp_sensor_1_temp_8.rrd': No such file or directory
im a complete n00b and this is my first time installing it so i probably screwed something up but it doesnt seem like rrdtool is working correctly. no graphs are showing up and thats in my apache error_log... help!
[root@xpb-monitoring ~]# /usr/local/apache/htdocs/cacti/poller.php
-bash: /usr/local/apache/htdocs/cacti/poller.php: Permission denied
[cactiuser@xpb-monitoring ~]$ /usr/local/apache/htdocs/cacti/poller.php
-bash: /usr/local/apache/htdocs/cacti/poller.php: Permission denied
but i did notice when running this command like the directions say it doesnt update any rows...
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cacti';
Query OK, 0 rows affected (0.03 sec)
-bash: /usr/local/apache/htdocs/cacti/poller.php: Permission denied
[cactiuser@xpb-monitoring ~]$ /usr/local/apache/htdocs/cacti/poller.php
-bash: /usr/local/apache/htdocs/cacti/poller.php: Permission denied
but i did notice when running this command like the directions say it doesnt update any rows...
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cacti';
Query OK, 0 rows affected (0.03 sec)
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please try
Reinhard
Code: Select all
/full/path/to/php /usr/local/apache/htdocs/cacti/poller.php
[cactiuser@xpb-monitoring root]$ /usr/local/php/bin/php /usr/local/apache/htdocs/cacti/poller.php
10/03/2006 02:55:52 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/php/bin/, ARGS: -q /usr/local/apache/htdocs/cacti-0.8.6h/cmd.php 0 5]
sh: /usr/local/php/bin/: is a directory
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
and it continues to do that
10/03/2006 02:55:52 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/php/bin/, ARGS: -q /usr/local/apache/htdocs/cacti-0.8.6h/cmd.php 0 5]
sh: /usr/local/php/bin/: is a directory
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
and it continues to do that
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
This seems to be an issue with cactiuser and access to php binary. Please login as cactiuser and try , to see, if this binary is in the search path.
Unfortunately, I currently don't have access to my testing system, so all this is out of my memory and may lead into a false direction
Reinhard
Code: Select all
which php
Unfortunately, I currently don't have access to my testing system, so all this is out of my memory and may lead into a false direction
Reinhard
i did the which php from cactiuser and it came up
/bin/php
tried this
[cactiuser@xpb-monitoring root]$ /bin/php /usr/local/apache/htdocs/cacti/poller.php
10/03/2006 03:35:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/php/bin/, ARGS: -q /usr/local/apache/htdocs/cacti-0.8.6h/cmd.php 0 5]
sh: /usr/local/php/bin/: is a directory
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
/bin/php
tried this
[cactiuser@xpb-monitoring root]$ /bin/php /usr/local/apache/htdocs/cacti/poller.php
10/03/2006 03:35:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/php/bin/, ARGS: -q /usr/local/apache/htdocs/cacti-0.8.6h/cmd.php 0 5]
sh: /usr/local/php/bin/: is a directory
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1159986047 \
--end=1160072147 \
--title="Localhost - Load Average" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent=0 \
COMMENT:"From 2006/10/04 14\:20\:47 To 2006/10/05 14\:15\:47\c" \
COMMENT:" \n" \
--vertical-label="processes in the run queue" \
--slope-mode \
DEF:a="/usr/local/apache/htdocs/cacti-0.8.6h/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE \
DEF:b="/usr/local/apache/htdocs/cacti-0.8.6h/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE \
DEF:c="/usr/local/apache/htdocs/cacti-0.8.6h/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE \
CDEF:cdefg=TIME,1160072149,GT,a,a,UN,0,a,IF,IF,TIME,1160072149,GT,b,b,UN,0,b,IF,IF,TIME,1160072149,GT,c,c,UN,0,c,IF,IF,+,+ \
AREA:a#EACC00:"1 Minute Average" \
GPRINTLAST:" Current\:%8.2lf\n" \
AREA:b#EA8F00:"5 Minute Average":STACK \
GPRINTLAST:" Current\:%8.2lf\n" \
AREA:c#FF0000:"15 Minute Average":STACK \
GPRINT:c:LAST:"Current\:%8.2lf\n" \
LINE1:cdefg#000000:""
Who is online
Users browsing this forum: No registered users and 0 guests