|
|
| Author |
Message |
leonardo07746
Joined: 19 Nov 2008 Posts: 39
|
Posted: Thu Nov 27, 2008 8:03 pm Post subject: RRDTool Says:...rrd': No such file or directory |
|
|
Previously Cacti 0.8.7b, I have already installed the xampp 1.6.7 which is a application that includes a big package with php 5.2.6, Apache, filezilla and mysql all together at once, so I installed all these softwares on window xp in my computer and later, I installed the Cacti following the standard procedure led by the documentation, I started to work on it but there is a problem with my graphs, and I m afraid that is given to a error messages that comes out from the rrdtool application, the error is the following:
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Logged in Users" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="users" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/xampp/htdocs/cacti/rra/localhost_users_6.rrd":users:AVERAGE \
AREA:a#4668E4FF:"Users" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf"
RRDTool Says:
ERROR: opening 'C:/xampp/htdocs/cacti/rra/localhost_users_6.rrd': No such file or directory |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Fri Nov 28, 2008 9:22 am Post subject: |
|
|
You double-checked that the crontab entry is in place and crond is running?
Reinhard |
|
| Back to top |
|
 |
leonardo07746
Joined: 19 Nov 2008 Posts: 39
|
Posted: Fri Nov 28, 2008 12:41 pm Post subject: answer for Gandalf |
|
|
| gandalf wrote: | You double-checked that the crontab entry is in place and crond is running?
Reinhard |
Gandalf, I downloaded the cron.zip from http://www.kalab.com/freeware/cron/cron.htm, I extracted it to a directory which a renamed cron, I ran the application cron.exe and automatically a cron.log file was created in that folder, I opened that log and says "28.11.2008 10:25 Cron started", that means that cron is already running, right? so I looked into the contrab.add and it says something like this:
#
# Some samples how to call the rrd log scripts from crontab.
# A Win32 cron service can be downloaded from here:
# http://www.kalab.com/freeware/cron/cron.htm
#
# start rrdtool every 5 mins
0,5,10,15,20,25,30,35,40.45,50,55 * * * * c:\rrdtool\memlog.pl
2,7,12,17,22,27,32,37,42.47,52,57 * * * * c:\rrdtool\memlog.pl
# start rrdtool every 3 mins
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * c:\rrdtool\memlog.pl
What comes next, I m still having the same problem, what am I doing wrong, what am I missing? |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Mon Dec 01, 2008 7:45 am Post subject: |
|
|
Moved to windows as I'm not familiar with the cron/at there
Reinhard |
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6876 Location: WA, USA
|
Posted: Mon Dec 01, 2008 2:19 pm Post subject: |
|
|
1) Why on earth are you using cron instead of scheduled tasks?
2) Read http://forums.cacti.net/viewtopic.php?t=11747 and repost. You really should follow my installation guide completely. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|