EXPORT FATAL ERROR "You must be out of your mind."

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Leddy
Cacti User
Posts: 93
Joined: Sun May 15, 2005 6:55 pm

EXPORT FATAL ERROR "You must be out of your mind."

Post by Leddy »

EXPORT FATAL ERROR: Export path '/var/www/html/cacti/graphs' is to closely related to the Cacti web root. You must be out of your mind.

This has worked in a previous version any particular reason I must be out of my mind?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

There an unfortunate event where someone set the cacti root as the export directory and it deleted itself. :(

So, now, there is checks to prevent that.
[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]
Leddy
Cacti User
Posts: 93
Joined: Sun May 15, 2005 6:55 pm

Post by Leddy »

Where do I need to edit to remove this behavior? :)
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Don't know off hand.... I didn't make the change.

But I would have to guess some file named export something.. :)
[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]
Leddy
Cacti User
Posts: 93
Joined: Sun May 15, 2005 6:55 pm

Post by Leddy »

I was able to find it and modify. I can see why the checksum was added "del_directory" is not your friend.

I was able to modify and suite my needs in moving files around once completed.

Thanks
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Now just remember that change so that you can reapply it when you upgrade again.. :)
[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]
kirigoe
Posts: 17
Joined: Fri Aug 27, 2004 5:44 am
Location: sweden
Contact:

Post by kirigoe »

what was the fix? this is kind of a crappy check, my root is /var/www/html/cacti and i can't use either /var/www/html/cacti/static or /var/www/html/cacti_static, couldn't the check just decide if the path is the actual cacti root or not instead of trying to guess it?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest