Windows 20003 Server - Very Strange Issue

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

Moderators: Developers, Moderators

Post Reply
delinquent
Posts: 10
Joined: Thu Oct 25, 2007 1:27 am

Windows 20003 Server - Very Strange Issue

Post by delinquent »

OK, I've done some looking followed the tutorials that have been mentioned, gone over all of the topics I can find similar to this issue and here's the issue:

First of the all the setup:

Windows 2003 SBS
IIS6
PHP5.2.4
MySQL 5.0.45
RRDTool 1.2.15(Win32)
Cacti 0.86j

I've followed the Windows Install Guide to the letter (because i read all of the forum posts and know that it must get annoying for BSOD2600 to post back to the guides.

So this is the issue, devices are setup, graphs are added, data is being collected, recorded and saved (the logs attached will prove this). When you go to graph view the images are broken here is a example

network traffic graphs

Filemon doesn't report any file permission errors, i've set the cacti logs to debug and looks to be doing everything right (i've attached the logs of a poll, there are two devices setup, but its happening to all and the one i'm using as a example is atteris-sbspdc.atteris.local which is the server) its just when it goes to make the graph images it dont work. Under Graph Management for a graph with Debug mode turned on RRDTool returns nothing (which has me worried, i've attached a screenie to show you)

I've included everything i can think of, any suggestions?

Cheers
Chris
Attachments
graphman_graphdebugon.jpg
graphman_graphdebugon.jpg (392.36 KiB) Viewed 2581 times
cacti.txt
A part of the cacti log file (for a single poll with log level @ DEBUG)
(8.36 KiB) Downloaded 113 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Hmm, thats a new one.

I would initially jump to a permission issue, but you said nothing was in Filemon's logs? Also the fact you get no output it odd.

1) Did you patch cacti?
2) using plugin arch too?
3) Are your rrd files getting updated every 5 minutes?
4) Running: php -m from the command prompt throw any errors?
5) Running: rrdtool from the command prompt throw any errors?
6) Mind posting a FileMon log for when you only try to view a single graph in graph management ?
delinquent
Posts: 10
Joined: Thu Oct 25, 2007 1:27 am

Post by delinquent »

1) Did you patch cacti?
No, this is a first time install from bottom up (using the version metioned in my OP
2) using plugin arch too?
No. I dont believe so....
3) Are your rrd files getting updated every 5 minutes?
Yes, i tripple checked this, cause I know its a common issue. ;)
4) Running: php -m from the command prompt throw any errors?
Neg. everythings fine from that point of view...
5) Running: rrdtool from the command prompt throw any errors?
You might need to throw me a bone here, obviously I run the command from the command prompt, but whats the command exactly?
6) Mind posting a FileMon log for when you only try to view a single graph in graph management ?
No problems, the log is of a single view of one of the grahps (its the same source as above in the screenie)

Thanks greatly for you help.
Attachments
filemon.txt
(231.66 KiB) Downloaded 248 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Alright, then you need to install the various patches.

2) Just run 'rrdtool' from the command prompt. If you're using the cygwin version, some times missing dlls cause it not to work. Basically just making sure it can be run fine.

3) For the filemon log, did you initially filter out other procs while you were logging? I don't see rrdtool.exe being run/called at all, which is an obvious problem. You've made sure php.exe, rrdtool.exe, cmd.exe all have read/execute rights by the IUSR_ account?
delinquent
Posts: 10
Joined: Thu Oct 25, 2007 1:27 am

Post by delinquent »

Appricate the help dude!

1) Alright, then you need to install the various patches.

Now done and done! still the same issue..... :(

2) Just run 'rrdtool' from the command prompt. If you're using the cygwin version, some times missing dlls cause it not to work. Basically just making sure it can be run fine.

Done, screenie attached!

3a) For the filemon log, did you initially filter out other procs while you were logging? I don't see rrdtool.exe being run/called at all, which is an obvious problem.

Yes there is a filter, but before you got crazy mad ill explain why. Everything is in contained within a structure.

Base folder: C:\Data\Cacti
MySQL: C:\Data\Cacti\MySQL
PHP: C:\Data\Cacti\PHP
RRDTool: C:\Data\Cacti\RRDTool
Cacti: C:\Data\Cacti\Web

see attached folders_screenie.jpg

I've done a filter for just the word cacti, so even when the rrdtool is being called it shouldn't matter that i have the filter because the rrdtool path will have cacti in the path... to satisfy your curiosity, i did it again without any filters.....

3b) You've made sure php.exe, rrdtool.exe, cmd.exe all have read/execute rights by the IUSR_ account?

OH &#$^*$(*~!@%!#$(*$(#%Y^!#$%!**@$%^%!#$%!@&

I feel like a tool, the IUSR_ account hadn't been given read/write on cmd.exe (it was the only permission that hadn't been applied, all others had been. i must of overlooked that last night when i checked).

Sorry to waste your time dude! its now all working!

Thanks a million!
Attachments
screenie for question #2
screenie for question #2
cmd_rrdtool.jpg (135.12 KiB) Viewed 2535 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

delinquent wrote:I feel like a tool, the IUSR_ account hadn't been given read/write on cmd.exe (it was the only permission that hadn't been applied, all others had been. i must of overlooked that last night when i checked).
*cough* was covered in the installation guide, I do believe ;-). It's alright -- at least you're one of the better posters who actually reads around, does his hw before posting a question which has been asked a million times.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests