rrdtool no such file or directory

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

Moderators: Developers, Moderators

Post Reply
ugob
Posts: 27
Joined: Thu Jun 21, 2007 9:24 pm

rrdtool no such file or directory

Post by ugob »

Hi,

I've been using cacti for a while, and now whenever I add a host, the interface graph that I ask for doesn't work.

When I go in graph management, click on the graph, then turn on debug mode, I get:

RRDTool Says:

ERROR: opening '/var/www/cacti/rra/server_traffic_in_1657.rrd': No such file or directory

I've tried everything that seemed relevant here: http://docs.cacti.net/node/283

but it is still not working.

The permissions are ok.
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Check your poller cache, are there entries there? What happens when you login as the poller user and run the command by hand?

Code: Select all

php -q poller.php -f
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?
ugob
Posts: 27
Joined: Thu Jun 21, 2007 9:24 pm

Post by ugob »

Yes, there are entries for these graphs in the poller cache, in fact they're even there twice.

php -q poller.php -f gives something like this (I cut some of the OK u:x.xx s: x.xx r:x.xx at top)

Code: Select all

OK u:0.01 s:0.02 r:2.16
OK u:0.01 s:0.02 r:2.16
OK u:0.01 s:0.02 r:2.16
No log handling enabled - turning on stderr logging
read_config_store open failure on /var/net-snmp/spine.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
07/31/2008 08:35:55 AM - SYSTEM STATS: Time:4.3060 Method:spine Processes:1 Threads:25 Hosts:30 HostsPerProcess:30 DataSources:535 RRDsProcessed:238
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.19
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
OK u:0.01 s:0.02 r:4.20
Thanks,
ugob
Posts: 27
Joined: Thu Jun 21, 2007 9:24 pm

Post by ugob »

Anyone has an idea of what could be wrong?

I can't add any new interface graphs, but all current graphs are working ok. If I create another kind of interface (like in/out bits + total bandwidth), it works ok. Only Interface - Traffic (bits/sec) graph doesn't work.

Please let me know if you need more info.
arevelo
Posts: 6
Joined: Thu Aug 07, 2008 8:09 pm
Location: ecuador

poller doesn't run

Post by arevelo »

pleaaaase

i have run poller.php from cli but I think isn't working 'cause i only recive these lines:

[root@localhost cacti]# php poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.9

any idea please , I havent done any graph with cacti yet, and i belive that poller is the problem

tks
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests