No RRA Files created

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
rgdaoust
Posts: 3
Joined: Mon Jan 17, 2005 7:39 pm

No RRA Files created

Post by rgdaoust »

The poller seems to be running every 5 minutes. However, no RRA files are being created in the RRA folder.

Included is a copy of the log file.
Attachments
cacti.txt
Log File
(50.93 KiB) Downloaded 286 times
Brashquido
Cacti User
Posts: 99
Joined: Sat Feb 28, 2004 10:16 pm
Location: Melbourne, Australia
Contact:

Post by Brashquido »

Sounds very similar to a problem I had last night. Try setting Cacti to use cactid, but leave the poller.php sheduled task going.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Run poller.php from the command line and post the output.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
rgdaoust
Posts: 3
Joined: Mon Jan 17, 2005 7:39 pm

Post by rgdaoust »

From the c:\mycacti\website\cacti\poller.php directory I ran c:\php\php-win.exe c:\mycacti\website\cacti\poller.php. However, no output was generated. I then tried c:\php\php.exe c:\mycacti\website\cacti\poller.php and I received the following error "Could not open input file c:\mycacti\website\cacti\poller.php
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Is this a permissions issue?
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Brashquido
Cacti User
Posts: 99
Joined: Sat Feb 28, 2004 10:16 pm
Location: Melbourne, Australia
Contact:

Post by Brashquido »

If you are running IIS, try stopping it and then running the command. Does it run now?
Dominic Ryan
www.iis-aid.com
pbulteel
Cacti User
Posts: 150
Joined: Fri Sep 05, 2003 9:20 am
Location: London
Contact:

Post by pbulteel »

rgdaoust wrote:From the c:\mycacti\website\cacti\poller.php directory I ran c:\php\php-win.exe c:\mycacti\website\cacti\poller.php. However, no output was generated. I then tried c:\php\php.exe c:\mycacti\website\cacti\poller.php and I received the following error "Could not open input file c:\mycacti\website\cacti\poller.php
How come in one you are using php-win.exe and in the other php.exe? (Sorry, I am running Cacti on Linux, but that's something I saw.)

What happens if you write "type c:\mycacti\website\cacti\poller.php" ? can you see the output of the file (i.e. read it)

You might want to also check for spaces in the path. I don't know if the path is REALLY c:\mycacti\website\ and not c:\Program Files\cacti\


-P
uname -a
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It's an issue with calling parameters. When we launch cmd.php or Cactid 5.x in Windows, the "/B /I" options are not well received using php.exe, but if you use php-win.exe, there are no problems. I may change this in the next release.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
fisher
Posts: 1
Joined: Fri Jan 21, 2005 1:48 am

Post by fisher »

me too.

in graph debug mode:

RRDTool Says:

ERROR: opening 'D:\cacti/rra/gateway_snmp_oid_8.rrd': No such file or directory

and D:\cacti\rra\ is empty.
Quindor
Posts: 10
Joined: Sat Jan 22, 2005 5:16 pm

I seem to be having the same problem

Post by Quindor »

Fresh install, using all the newest downloads available at the time. Running it with IIS 6 on a windows 2003 with SP1 RC1. It's a dual proc machine.

Whatever I do, the rra directory stays empty. I've started over a few times, created new devices, new graphs, etc. etc. etc. Running the poller or using cactid. Nothing seems to mather, the directory remains empty and my graph's stay little red X'es... :(

Any help would be greatly appreciated. Cacti seems exactly what I am looking for.

Also, the installation manual seems to be lacking a little bit in the PHP and IIS instructions.... If you know allready, won't bother you, if not, please let me know, and I'll specify which steps are missing to get PHP running under IIS. There have more forum posts about this allready though.

But any help would be greatly appreciated to solving these problems.... Whatever I do, I do not seem able to write anything and to make a graph, it says it creates them and such, just never get any data to create anything? Or well, the RRA directory stays empty, which offcourse is wrong to start with.

ANY help would be appreciated.

Kind regards,
Quindor
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Quindor,

We are always looking for someone to help in the development. We need quite a bit of work on installation. I think there is a good IIS 6.x installation post somewhere out there. Unfortunately, I am a bit behind XP Pro and even then, I am using Apache, since I could never quite seem to get IIS working. It's a sad admission, but true.

Ok, so there are a few things. To test to eliminate possible problems:

1) Make the ID that is running as the started task an Administrator (for a while anyway)
2) Make sure your are running "c:\php\php-win.exe" as your path in "Settings->Paths".
3) If you are using cactid, then make sure you have a valid path. I would suggest that you select "cmd.php" for testing. "Settings->Poller".
4) Test poller.php from a command line in DEBUG mode. Use php.exe in this case and not php-win.exe and you will receive output that is beneficial.

Good Luck!

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Quindor
Posts: 10
Joined: Sat Jan 22, 2005 5:16 pm

truely wonderfull!!

Post by Quindor »

Thank you so much for your tips TheWitness....

I checked everything you mentioned. And indeed, I did not preform something in the installation correctly. I assumed that when I got php running and everything, all the default settings in cacti would be fine.

Offcourse you get this little screen, and it says it finds php.exe . Great! After that, I kind of cut offef the manual and started clicking around.

So I overlooked that I needed to change php.exe into php-win.exe :o My bad my bad.

Right now I see graphs beying created and after a little while, realistic values appearing inside of them. Perfect!! Now I can toy around with it and see what all it can do. :)

Thank you again, I know it's my fault that I didn't read the instructions correctly. But after I finally got php working IIS6 (the manual is MISSING that you need to allow php5isapi.dll to be executed in the Web Service Extension. Normall php installation using wizard only puts php-cgi.exe there. And it said nowhere I needed to do that...so that took me..... a while to figure out! :lol: ).

Maybe make this part of the manual a bit clearer with a little headline that after installing and testing cacti, you still need to preform a little more actions to make sure it works! And not to trust the "ok" which verifies it can find the files, I think that threw me off. :oops:

Thank you again,
Quindor
gacoch
Posts: 1
Joined: Tue Feb 22, 2005 9:57 am

Post by gacoch »

TheWitness wrote:Quindor,

We are always looking for someone to help in the development. We need quite a bit of work on installation. I think there is a good IIS 6.x installation post somewhere out there. Unfortunately, I am a bit behind XP Pro and even then, I am using Apache, since I could never quite seem to get IIS working. It's a sad admission, but true.

Ok, so there are a few things. To test to eliminate possible problems:

1) Make the ID that is running as the started task an Administrator (for a while anyway)
2) Make sure your are running "c:\php\php-win.exe" as your path in "Settings->Paths".
3) If you are using cactid, then make sure you have a valid path. I would suggest that you select "cmd.php" for testing. "Settings->Poller".
4) Test poller.php from a command line in DEBUG mode. Use php.exe in this case and not php-win.exe and you will receive output that is beneficial.

Good Luck!

TheWitness


hello i have the same problem (no rrd created)with cacti installed with easyphp
I've followed yours directives:
-> i've obtained some rrd with graph
-> le result of command in cmd is


Y:\>C:\EasyPHP1-7\php\php.exe c:\cacti\poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.3

02/22/2005 03:54:40 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proce
s [CMD: c:\EasyPHP1-7\php\php.exe, ARGS: -q c:\cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
'grep' is not recognized as an internal or external command,
operable program or batch file.
'grep' is not recognized as an internal or external command,
operable program or batch file.
'uptime' is not recognized as an internal or external command,
operable program or batch file.
'who' is not recognized as an internal or external command,
operable program or batch file.
'ps' is not recognized as an internal or external command,
operable program or batch file.
'-O' is not recognized as an internal or external command,
operable program or batch file.
02/22/2005 03:54:41 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe up
ate c:\cacti\rra\localhost_mem_buffers_3.rrd --template mem_buffers 1109084080:

02/22/2005 03:54:41 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe up
ate c:\cacti\rra\localhost_mem_swap_4.rrd --template mem_swap 1109084080:U
OK
02/22/2005 03:54:41 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe up
ate c:\cacti\rra\localhost_users_6.rrd --template users 1109084080:U
02/22/2005 03:54:41 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe up
ate c:\cacti\rra\localhost_proc_7.rrd --template proc 1109084080:U
02/22/2005 03:54:41 PM - SYSTEM STATS: Time: 1.0497 s, Method: cmd.php, Process
s: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
OK
OK
OK

-> i don't have win-php.exe
-> what's the matter
-> how i can have values with the normal functionnement ?
-> maybe i must use a bat in the task scheduler ?

thanks[/code]
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

gacoch,
'grep' is not recognized as an internal or external command,
operable program or batch file.
'grep' is not recognized as an internal or external command,
operable program or batch file.
'uptime' is not recognized as an internal or external command,
operable program or batch file.
'who' is not recognized as an internal or external command,
operable program or batch file.
'ps' is not recognized as an internal or external command,
operable program or batch file.
'-O' is not recognized as an internal or external command,
operable program or batch file.
You have many graphs assigned that are more appropriate for a linux box than a Windows box. Those graphs and associated data sources need to be eliminated.

Please become more familiar with "Data Input Methods" and which ones apply to Unix/Linux vs. Windows and you will have much better luck.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest