ispCP - Board - Support
FREEBSD7.1:open_basedir restriction in effect....help - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: FREEBSD7.1:open_basedir restriction in effect....help (/thread-5805.html)



FREEBSD7.1:open_basedir restriction in effect....help - wayking - 02-24-2009 09:40 PM

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?????????


RE: FREEBSD7.1:open_basedir restriction in effect....help - BeNe - 02-24-2009 10:02 PM

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/showthread.php?tid=2537&pid=43976#pid43976

Greez BeNe


RE: FREEBSD7.1:open_basedir restriction in effect....help - wayking - 02-24-2009 10:20 PM

thank you ,
but how can i use the patchfile?
use perl execute it ?


RE: FREEBSD7.1:open_basedir restriction in effect....help - BeNe - 02-24-2009 10:24 PM

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


RE: FREEBSD7.1:open_basedir restriction in effect....help - wayking - 02-24-2009 11:00 PM

thank you!