I'm having a bit of an issue w/ Beta2. Some background info first. The server is a new CentOS 5 install, PHP 5.2.3, MySQL - 5.0.45, RRDTool - 1.2.23 , Net-SNMP - 5.4.1, Apache 2.2.3.
The install went fine until I got to the part where it wanted me to specify paths for everything (snmpwalk, php, etc...) I gave it the correct paths but it continued to say, "[ERROR: FILE NOT FOUND]." It let me continue with the install, I figured I would fix it later. I confirmed that the Cacti user I created was able to read and execute the needed binaries. Cacti continued to give the same error message. For fun I created a directory (owned by the cactiuser) and copied all the binaries there, then pointed cacti towards the "new" binaries. Now cacti seem to like the new paths, gives "[OK: FILE FOUND]." What gives?? I've got 3 other Cacti installs in production right now and I've never come across this problem before. It usually finds the binaries right away w/o issue.
If more info is needed please let me know.
Cacti 0.8.6k Beta 2 Available for Testing
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This is likely an issue with the "file_exists" function in PHP. Write a little script that does the following:
Access it from the browser, if it comes back "0", you know you have a problem with the file_exists function.
TheWitness
Code: Select all
<?php echo file_exists("some_good_filename");?>
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?
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?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I expect to be able to post the new announcement tonight. The Cacti Group wanted to have a conference call first.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 0 guests