I keep getting several errors when running the cmd.php from the actual cacti directory. The following are the errors I am getting:
[root@infinity cacti]# scripts/runit.sh
sh: /usr/bin/smbstatus: No such file or directory
ERROR: min must be less than max in DS definition
ERROR: opening '/usr/local/apache/htdocs/cacti/rra/traf_0_0_0_0_4_in.rrd': No such file or directory
ERROR: min must be less than max in DS definition
ERROR: opening '/usr/local/apache/htdocs/cacti/rra/traf_0_0_0_0_4_out.rrd': No such file or directory
ERROR: min must be less than max in DS definition
ERROR: opening '/usr/local/apache/htdocs/cacti/rra/traf_wan1_5_in.rrd': No such file or directory
ERROR: min must be less than max in DS definition
ERROR: opening '/usr/local/apache/htdocs/cacti/rra/traf_wan1_5_out.rrd': No such file or directory
ERROR: min must be less than max in DS definition
ERROR: opening '/usr/local/apache/htdocs/cacti/rra/traf_wan2_6_in.rrd': No such file or directory
ERROR: min must be less than max in DS definition
ERROR: opening '/usr/local/apache/htdocs/cacti/rra/traf_wan2_6_out.rrd': No such file or directory
ERROR: min must be less than max in DS definition
ERROR: opening '/usr/local/apache/htdocs/cacti/rra/traf_wan3_7_in.rrd': No such file or directory
ERROR: min must be less than max in DS definition
ERROR: Template contains more DS definitions than RRD
ERROR: Template contains more DS definitions than RRD
ERROR: Template contains more DS definitions than RRD
I have given the rra and log directory 777 permissions. For testing purposes only. I have gotten the ethernet portion of my lucent hst dsl router to report incoming traffic but not able to get any other port on the router to report without getting all of these errors. Any help would be much appreciative. One more thing. I have tried several things to get the crontab to work and still have gotten nowhere with it. I have the following in my crontab:
*/5 * * * * root /usr/local/apache/htdocs/cacti/scripts/runit.sh > /dev/null 2>&1
and I have the following in the /usr/local/apache/htdocs/cacti/scripts/runit.sh file:
#! /bin/sh
cd /usr/local/apache/htdocs/cacti
/usr/local/bin/php /usr/local/apache/htdocs/cacti/cmd.php >> /usr/local/apache/htdocs/cacti/cactirun.log (word wrapped)
Thanks For any help in advance.
Jerry
Several errors:
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 1 guest