|
|
| Author |
Message |
jwolfe
Joined: 12 Apr 2003 Posts: 1 Location: Illinois
|
Posted: Sat Apr 12, 2003 12:10 pm Post subject: Several errors: |
|
|
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 |
|
| Back to top |
|
 |
bulek Cacti Pro User
Joined: 20 May 2002 Posts: 852 Location: Poland
|
Posted: Sat Apr 12, 2003 3:46 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|