Hi.
I recently moved my cacti stuff to a bigger and more powerfull machine.
The problem im having is that whenever i make a new graph, after moving the stuff, the *.rra file will come oput blank.
So the graph i generated will output an error when cmd.php is run.
/var/www/html/load/rra/switch.rra <- not an rra file.
I have tryed everything, but i cant seem to put my finger on it what could be the problem.
Every time i make a new graph.
ERROR: '/var/www/html/load/rra/dslam_hofn_155_out.rrd' is not an RRD file
ERROR: '/var/www/html/load/rra/dogma-eth_in.rrd' is not an RRD file
ERROR: '/var/www/html/load/rra/dogma-eth_out.rrd' is not an RRD file
ERROR: '/var/www/html/load/rra/dslam_hofn_155_in.rrd' is not an RRD file
ERROR: invalid rpn expression ',8,*'
ERROR: invalid rpn expression ',8,*'
ERROR: invalid rpn expression ',8,*'
ERROR: invalid rpn expression ',8,*'
ERROR: '/var/www/html/load/rra/dslam_hofn_155_in.rrd' is not an RRD file
ERROR: invalid rpn expression ',8,*'
ERROR: '/var/www/html/load/rra/dogma-eth_in.rrd' is not an RRD file
output of ls -l /var/www/html/load/rra/....
-rw-r--r-- 1 root root 0 Sep 24 12:45 dslam_hofn_155_in.rrd
-rw-r--r-- 1 root root 0 Sep 24 12:45 dslam_hofn_155_out.rrd
-rw-r--r-- 1 root root 0 Sep 24 12:47 dogma-eth_in.rrd
-rw-r--r-- 1 root root 0 Sep 24 12:47 dogma-eth_out.rrd
This is how cacti makes the graph
My files
Cacti-0.68
rrdtool-1.0.38-1
[root@Trukkur src]# rpm -qa|grep php
asp2php-0.76.2-1
php-4.1.2-7.3.4
php-manual-4.1.2-7.3.4
php-snmp-4.1.2-7.3.4
php-ldap-4.1.2-7.3.4
php-devel-4.1.2-7.3.4
php-mysql-4.1.2-7.3.4
php-pgsql-4.1.2-7.3.4
php-imap-4.1.2-7.3.4
php-odbc-4.1.2-7.3.4
apache-1.3.23-11
mysql-3.23.49-3
mysql-devel-3.23.49-3
mysqlclient9-3.23.22-6
php-mysql-4.1.2-7.3.4
mysql-server-3.23.49-3
Problems with new graphs.
Moderators: Developers, Moderators
Problems with new graphs.
Best regards
Karl Heidar
Karl Heidar
Looking through your post, the following error jumped out at me:
That is an rrdtool error, not a cacti one. Are you sure the rrd files made the conversion ok? You are not moving from Win32 to Unix or anything?
What happens if you try doing an 'rrdtool dump' on the rrd files it is complaining about?
Once you get rrdtool happy with the rrd files, cacti should be happy (assuming you dumped and re-imported cacti's database too).
-Ian
Code: Select all
ERROR: '/var/www/html/load/rra/dslam_hofn_155_out.rrd' is not an RRD file
What happens if you try doing an 'rrdtool dump' on the rrd files it is complaining about?
Once you get rrdtool happy with the rrd files, cacti should be happy (assuming you dumped and re-imported cacti's database too).
-Ian
Re:
Hi Rax.
Thats the problem.
If i dump the database, its fine... and graphs make perfect.
But if i use my current db, then it will not.
Hmmm... Im downgrading gcc now, and making some tests... but still this machine is the same setup as the other one
Thats the problem.
If i dump the database, its fine... and graphs make perfect.
But if i use my current db, then it will not.
Hmmm... Im downgrading gcc now, and making some tests... but still this machine is the same setup as the other one
Best regards
Karl Heidar
Karl Heidar
Who is online
Users browsing this forum: No registered users and 1 guest