Images not displaying...

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

Moderators: Developers, Moderators

Post Reply
Guest

Images not displaying...

Post by Guest »

Hi,

Can anybody help with this error?...
Notice: Undefined variable: fp in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 86

Warning: feof(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 86

Notice: Undefined variable: fp in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 87

Warning: fgets(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 87
I am just getting a page full of this error until the script times out, for all images, eg http://server.com/cacti/graph.php?local ... ource=true

This is running on W2k with IIS which PHP in cgi mode

Any suggestinos are most welcome!

Thanks
User avatar
dieter
Cacti User
Posts: 164
Joined: Fri Feb 20, 2004 3:08 pm

Post by dieter »

a guess: he cannot find rrdtool.exe or he has no privileges to run a dos command. Try to make shure that cacti has te right pad to rrdtool and that IIS is given an administrator account because otherwise he is not allowed to call dos commands (which that fgets() or popen() is doing)
Guest

Post by Guest »

Thanks for you suggestions - I did that but it did not make any difference, I don;t particularly like give these sorts of rights to and internet account though :-? I think I may install it on a Linux box instead :wink:
User avatar
dieter
Cacti User
Posts: 164
Joined: Fri Feb 20, 2004 3:08 pm

Post by dieter »

you can make a special account for it, with just the rights needed. Or a local admin on that PC...

But didn't solve the problem? :-?

ok, waiting for the next to answer then :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest