Current time: 05-05-2024, 01:25 PM Hello There, Guest! (LoginRegister)


Post Reply 
FREEBSD7.1:open_basedir restriction in effect....help
Author Message
wayking Offline
Newbie
*

Posts: 8
Joined: Feb 2009
Reputation: 0
Post: #1
FREEBSD7.1:open_basedir restriction in effect....help
login very slow,,,
when i logined.
and use the system tools.it`s show :
Quote:Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/bin/mount) is not within the allowed path(s): (/usr/local/www/ispcp/gui/:/usr/local/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/local/lib/php/20060613/) in /usr/local/www/ispcp/gui/include/phpsysinfo/common_functions.php on line 137

Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/sbin/mount) is not within the allowed path(s): (/usr/local/www/ispcp/gui/:/usr/local/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/local/lib/php/20060613/) in /usr/local/www/ispcp/gui/include/phpsysinfo/common_functions.php on line 137
......................

how can i fix it?????????
02-24-2009 09:40 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: FREEBSD7.1:open_basedir restriction in effect....help
As i said, there are still some problems with FreeBSD.
Blocker created a patch, this file is also included. Maybe it fix something.
--> http://www.isp-control.net/forum/showthr...6#pid43976

Greez BeNe
02-24-2009 10:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
wayking Offline
Newbie
*

Posts: 8
Joined: Feb 2009
Reputation: 0
Post: #3
RE: FREEBSD7.1:open_basedir restriction in effect....help
thank you ,
but how can i use the patchfile?
use perl execute it ?
02-24-2009 10:20 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: FREEBSD7.1:open_basedir restriction in effect....help
Change in the ispcp directory an patch it like this:
Code:
patch < patch.diff
patch.diff is the patch itself.
Output should be someting like
Code:
patch < patch.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: gui/include/phpsysinfo/class.BSD.common.inc.php
|===================================================================
|--- gui/include/phpsysinfo/class.BSD.common.inc.php    (revision 1459)
|+++ gui/include/phpsysinfo/class.BSD.common.inc.php    (working copy)
--------------------------
Patching file gui/include/phpsysinfo/class.BSD.common.inc.php using Plan A...
Hunk #1 succeeded at 50.
Hunk #2 succeeded at 229.
Hunk #3 succeeded at 251.
...
...

Greez BeNe
02-24-2009 10:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
wayking Offline
Newbie
*

Posts: 8
Joined: Feb 2009
Reputation: 0
Post: #5
RE: FREEBSD7.1:open_basedir restriction in effect....help
thank you!
02-24-2009 11:00 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)