No such file or directory

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

Moderators: Developers, Moderators

Post Reply
ruk
Posts: 2
Joined: Fri Aug 27, 2004 5:23 am

No such file or directory

Post by ruk »

I have a cacti installation on a redhat 9 server:

cacti version: cacti-0.8.5a.tar.gz

php :

php-mysql-4.2.2-17.2
php-4.2.2-17.2


apache,rrdtool and mysql:

rrdtool-1.0.49-17.rh9.at
redhat-config-httpd-1.0.1-18
httpd-2.0.40-21.9
mysql-3.23.58-1.9
mysql-server-3.23.58-1.9
php-mysql-4.2.2-17.2
mysql-devel-3.23.58-1.9

I get the following errors when I run cmd.php:

update /var/www/html/cacti/rra/switch_1_traffic_in_175.rrd --template traffic_in:traffic_out N:1196467611:1015490444
ERROR: opening '/var/www/html/cacti/rra/switch_1_traffic_in_175.rrd': No such file or directory
update /var/www/html/cacti/rra/switch_1_5min_cpu_174.rrd --template 5min_cpu N:2
time: 17

And I don't know why for the cisco CPU graph (and rrd) was created but not for any interface. I tried to delete the data sources and graphs but is still only showing a web link instead of the graphs.

The cacti folder and all the files inside have the following rights:

drwxrwxr-x 12 cacti apache 4096 Aug 27 10:18 cacti

Thank you very much,
Ruk
kgonzales
Posts: 18
Joined: Wed Aug 18, 2004 11:23 am

Re: No such file or directory

Post by kgonzales »

ruk,

Try using rrdtool 1.0.48 or earlier for now.

Also, as far as the graph creation goes, did you tell it to add graphs? It doesn't do it automagically. Sorry if that seems like a dumb question, but I know some of my people saw the interfaces listed there, and assumed they would be graphed automagically.
ruk wrote:I have a cacti installation on a redhat 9 server:

cacti version: cacti-0.8.5a.tar.gz

php :

php-mysql-4.2.2-17.2
php-4.2.2-17.2


apache,rrdtool and mysql:

rrdtool-1.0.49-17.rh9.at
redhat-config-httpd-1.0.1-18
httpd-2.0.40-21.9
mysql-3.23.58-1.9
mysql-server-3.23.58-1.9
php-mysql-4.2.2-17.2
mysql-devel-3.23.58-1.9

I get the following errors when I run cmd.php:

update /var/www/html/cacti/rra/switch_1_traffic_in_175.rrd --template traffic_in:traffic_out N:1196467611:1015490444
ERROR: opening '/var/www/html/cacti/rra/switch_1_traffic_in_175.rrd': No such file or directory
update /var/www/html/cacti/rra/switch_1_5min_cpu_174.rrd --template 5min_cpu N:2
time: 17

And I don't know why for the cisco CPU graph (and rrd) was created but not for any interface. I tried to delete the data sources and graphs but is still only showing a web link instead of the graphs.

The cacti folder and all the files inside have the following rights:

drwxrwxr-x 12 cacti apache 4096 Aug 27 10:18 cacti

Thank you very much,
Ruk
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Correct,

RRDTool 1.0.49 is not compatible with Cacti 0.8.5a or below. We have corrected in 0.8.6 which should be released soon.

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?
ruk
Posts: 2
Joined: Fri Aug 27, 2004 5:23 am

Re: No such file or directory

Post by ruk »

After downgrading to rrdtool 1.0.48 I found that my problem was the group rights for /var/www/html/cacti/rra and log directories.
After changing from cacti:apache to cacti:cacti everything started to work.

Thank you,
Ruk
kgonzales wrote:ruk,

Try using rrdtool 1.0.48 or earlier for now.

Also, as far as the graph creation goes, did you tell it to add graphs? It doesn't do it automagically. Sorry if that seems like a dumb question, but I know some of my people saw the interfaces listed there, and assumed they would be graphed automagically.
ruk wrote:I have a cacti installation on a redhat 9 server:

cacti version: cacti-0.8.5a.tar.gz

php :

php-mysql-4.2.2-17.2
php-4.2.2-17.2


apache,rrdtool and mysql:

rrdtool-1.0.49-17.rh9.at
redhat-config-httpd-1.0.1-18
httpd-2.0.40-21.9
mysql-3.23.58-1.9
mysql-server-3.23.58-1.9
php-mysql-4.2.2-17.2
mysql-devel-3.23.58-1.9

I get the following errors when I run cmd.php:

update /var/www/html/cacti/rra/switch_1_traffic_in_175.rrd --template traffic_in:traffic_out N:1196467611:1015490444
ERROR: opening '/var/www/html/cacti/rra/switch_1_traffic_in_175.rrd': No such file or directory
update /var/www/html/cacti/rra/switch_1_5min_cpu_174.rrd --template 5min_cpu N:2
time: 17

And I don't know why for the cisco CPU graph (and rrd) was created but not for any interface. I tried to delete the data sources and graphs but is still only showing a web link instead of the graphs.

The cacti folder and all the files inside have the following rights:

drwxrwxr-x 12 cacti apache 4096 Aug 27 10:18 cacti

Thank you very much,
Ruk
hakkrdan

Post by hakkrdan »

I tried downgrading, and still had errors. Although I am using 0.8.6, I thought I'd give it a chance, with no such luck. I'd be very, very interseted in watching the process in which the origional RRDs are made, and if any errors are thrown.

Is there such thing as a global debug or something of Cacti?

Thanks!
-dant
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

hakkrdan,

Please describe your problems (with Cacti). We are still in Beta and your feedback is important to the project.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest