No rrd files created so obviously no graphs

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

Moderators: Developers, Moderators

Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

No rrd files created so obviously no graphs

Post by Lmiller »

I am trying to install and run Cacti to monitor router traffic. I am having trouble and cannot get my graphs to display. I am running the following applications

Windows XP Pro (I am on a work domain if that makes a difference)
Apache 2.0.54
PHP 5.0.5.5
Net-SNMP 5.2.1.2-1.win32.exe
Mysql 4.0.20d
Cactid 0.8.6e
Cacti 0.8.6g
IIS 5.1

I finally got cacti to create the webpage, I have logged in, ensured all my paths are correct, however I cannot get it to create any graphs. I looked in my rra directory, and there is a placeholder file but no rrd files. I am sure this is part of my problem, however I have no idea how and where to look to fix this trouble.

I am completely stumped and have no idea where to turn.
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

What version or rrdtool do you have?

Also, make sure permissions are right on cmd.exe in your system32 directory so the web user can read & execute. [this one got me earlier]

Finally post up a debug output if you could. ;)
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

(machinename)/IUSR_(machinename) has permissions to read and execute the CMD.exe in the Windows\system32 directory.

I am using rrd tool rrdtool-1.0.48.win32-perl58-distr.zip because I read about the problems with the new version in another post.

I do have the RRDtool 1.0X set in cacti web interface.
Attachments
cacti.log.txt
Log in debug mode
(2.9 KiB) Downloaded 255 times
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

Actually [from what I've read] you want to use one of the Cacti-distributed versions.

http://www.cacti.com/downloads
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

I tried rrdtool-cygwin-1.2.11.zip and I am still having the same problem. Got any other ideas?
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

Can you turn debug mode on and run one run on the poller and post the results from both the log and the std out?
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

I know where to put the thing in debug, (in the web interface) and I know where it outputs the log file to. But I dont know where the STD out is. Can you explain that to me?
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

std out is just the output you get at the command prompt when you manually run a "php poller.php" process ... you can pipe it into a text file if you want as well -- "php poller.php > logfile.txt"
jd5646
Posts: 6
Joined: Wed Sep 14, 2005 11:41 am

Path in Shceduled task?

Post by jd5646 »

I was having this same problem two days ago as I was setting up Cacti. I checked the syntax in my scheduled poller task and found that I had an invalid path included.

I found this in my poller task.... "C:\PHP\php.exe c:\cacti-0.8.6e\poller.php"

I changed this syntax to "C:\PHP\php.exe c:\cacti\poller.php" (Note I corrected the path to the poller in the cacti directory.) and the poller immediately began to generage RRD files.
jd5646
Posts: 6
Joined: Wed Sep 14, 2005 11:41 am

Path in Shceduled task?

Post by jd5646 »

I was having this same problem two days ago as I was setting up Cacti. I checked the syntax in my scheduled poller task and found that I had an invalid path included.

I found this in my poller task.... "C:\PHP\php.exe c:\cacti-0.8.6e\poller.php"

I changed this syntax to "C:\PHP\php.exe c:\cacti\poller.php" (Note I corrected the path to the poller in the cacti directory.) and the poller immediately began to generage RRD files.
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

C:\cacti>php poller.php
09/16/2005 08:57:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: C:\cactid\cactid.exe, ARGS: 0 3]
Waiting on 1/1 pollers.
c:\rrdtool\rrdtool.exe (4088): *** system shared memory version mismatch detecte
d - 0x75BE0081/0x75BE0084.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
^C

This seems to go on and on forever. Does this mean anything to anyone?
(I dont know what cygwin is and I dont have a cygwin directory.) I did find that there were 2 cygwin1.dll files on my computer, 1 in the cacti directory and 1 in the rrrdtool directory. I did as the instructions said, I deleted the older one. then ran the php poller.php again. Here is the output of cmd prompt run....


C:\cacti>php poller.php
09/16/2005 09:05:31 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: C:\cactid\cactid.exe, ARGS: 0 3]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
^C
C:\cacti>
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

Any new ideas yet? I am still stumpted
Utildayael
Posts: 34
Joined: Wed Sep 14, 2005 9:25 am
Location: Omaha, NE

Post by Utildayael »

Ya download the RRDTOOL binary from Cacti's download page and it has a bunch of CYGWIN dll files that go in the RRDTOOL directory with RRDTOOL.exe :)

http://www.cacti.net/downloads

Should fix it for ya.
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes, your cygwin1.dll file (distribution) version is not compatible with the one being used by RRDtool. Search your C: drive for cygwin1.dll and then flip a coin on which one to delete.

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?
Lmiller
Posts: 23
Joined: Thu Sep 15, 2005 1:03 pm
Contact:

Post by Lmiller »

Ok, I found 2 cygwin1.dll files on my computer, I deleted one, still was unable to create RRD files. So I restored it out of the recycle bin and tried to delete the other. Access denied. It seems it is in use. So I stopped the task scheduler service and tried to delete the file again. Still access denied. So I renamed the file (by putting an underscore in front of it) and the file was re-created. Does this mean anything to anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest