Several errors:

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

Moderators: Developers, Moderators

Post Reply
jwolfe
Posts: 1
Joined: Sat Apr 12, 2003 11:53 am
Location: Illinois

Several errors:

Post by jwolfe »

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
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

First error messages are quite clear. You have maximum value equal or less than minimum value in your data source definition. Correct this and the problem should disappear.

- bulek
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest