[solved] Failed to open stream...

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

Moderators: Developers, Moderators

Post Reply
ksj
Posts: 16
Joined: Fri Jun 25, 2010 2:07 am

[solved] Failed to open stream...

Post by ksj »

Getting several of these in php_errors. Any ideas?

[29-Aug-2010 15:15:01] PHP Warning: include_once(E:/inetpub/wwwroot/cacti/plugins/internal/): failed to open stream: No such file or directory in E:\inetpub\wwwroot\cacti\lib\plugins.php on line 35
[29-Aug-2010 15:15:01] PHP Warning: include_once(): Failed opening 'E:/inetpub/wwwroot/cacti/plugins/internal/' for inclusion (include_path='.;C:\php5\pear') in E:\inetpub\wwwroot\cacti\lib\plugins.php on line 35

Somone installed PEAR to \php5... It's at \php. I have systems at both so it didn't look unusual to me until I turned on procmon again and realized the paths were actually different. Fixed by moving /php/PEAR to /php5/PEAR.

:oops:
Last edited by ksj on Wed Sep 01, 2010 12:22 am, edited 1 time in total.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

versions? http://forums.cacti.net/viewtopic.php?t=11747

double-check ntfs permissions are properly set on those files/folders per the installation guide.
ksj
Posts: 16
Joined: Fri Jun 25, 2010 2:07 am

Post by ksj »

Win2008r2 IIS 7.5, Cacti 0.8.7e, Win32 rrdtool 1.2.30, php 5.2.14, mysql 5.0.88, Spine 0.8.7e, cygwin 1.7.6, PIA 2.5

Permissions all appear to be fine. I've gone over them several times. Everything appears to work OK, but I can't figure out why I get these errors every 2 minutes.
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Internal?
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 0 guests