Hello.
I just finished setting up Cacti and creating some graphs. I then setup a local export in order to display them on a website. However, I'm getting the following error:
EXPORT FATAL ERROR: Export path '/usr/local/www/main/graphs' is within a system path '/usr'. Can not continue.
Well, it just so happens that /usr/local/www is the path that apache uses on FreeBSD. Is there a setting to skip this check? If not, where is the check located? I would like to commit it out of the code.
Thank you.
Cannot Export Graphs - System Path
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It's in lib/graph_export.php. Although you might want to get the branches/0.8.7 version fo this file from SVN. The release version is buggy. The check is there due to the sanitization step. It can be very agressive.
I would suggest you export ot a different location and then create a symbolic link from the location to the location in /usr.
TheWitness
I would suggest you export ot a different location and then create a symbolic link from the location to the location in /usr.
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?
-
- Posts: 3
- Joined: Mon Nov 17, 2008 6:29 pm
Who is online
Users browsing this forum: No registered users and 3 guests