Permission problem on new server?

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

Moderators: Developers, Moderators

Post Reply
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Permission problem on new server?

Post by BSOD2600 »

Win2K3, Cacti 0.8.6c, PHP 4.3.9.

I'm sorta mirroring two web servers, using windows 2003 distrubuted file system. Anyways, I've got everything up and working (finally..yay for corrupt file system) but the graphs are not showing up. I see the following when I turn on debugging:

Code: Select all

RRDTool Says:

Warning:  popen(c:/rrdtool/rrdtool.exe graph -  --imgformat=PNG  --start=-86400  --end=-300  --title="Ares - CPU Utilization"  --rigid  --base=1000  --height=120  --width=500  --alt-autoscale-max  --lower-limit=0  --vertical-label="percent"  DEF:a="C\:\efeigner\cacti/rra/ares_snmp_oid_13.rrd":snmp_oid:AVERAGE  AREA:a#F5F800:"CPU Utilization"   GPRINT:a:LAST:"Current\:%8.0lf"   GPRINT:a:AVERAGE:"Average\:%8.0lf"   GPRINT:a:MAX:"Maximum\:%8.0lf"  2>&1,rb): No error in C:\efeigner\cacti\lib\rrd.php on line 89

Warning:  fgets(): supplied argument is not a valid stream resource in C:\efeigner\cacti\lib\rrd.php on line 112
Is this a permission problem the folders/files?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Permissions or safe mode is turned on.

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?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

After spending some time with sysinternals filemon, I found the problem! Seems I forgot to give the Windows user for the Cacti webpage Execute rights to cmd.exe. Woops.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests