ispCP - Board - Support
Addition in progress (again) - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Addition in progress (again) (/thread-2401.html)

Pages: 1 2


RE: Addition in progress (again) - chrisisearth - 02-12-2008 12:16 AM

Post: #11RE: Addition in progress (again)

Aha,

maybe some progress Mr joximu,

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/run/ispcp.lock) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin) in /var/www/ispcp/gui/include/ispcp-functions.php on line 25

Daemon returned 250 as status code


RE: Addition in progress (again) - joximu - 02-12-2008 12:19 AM

hm, normally the list of open_basedirs do also contain the lock-file...

have a look at the /var/www/fcgid/master/php5(or 4)/php.ini:

open_basedir = "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"

Would be fine if you could explain this. On a fresh, new debian + ispcp this should not happen. Did you import some older files?

the lock file is in the list since 2007-07-31
http://www.isp-control.net/ispcp/changeset/736/trunk/configs/fcgi/parts/master/php5/php.ini

/J


RE: Addition in progress (again) - chrisisearth - 02-12-2008 12:26 AM

No older files imported wat so ever!!!!!

Very strange!


RE: Addition in progress (again) - joximu - 02-12-2008 12:53 AM

Yes - I really am interested what's going on here...

do you use php-fastcgi or mod-php?

ah - I think you use mod-php and there, the open_basedir is not complete...

ok, so you have to edit /etc/apache2/sites-enabled/00_master.conf (you'll see where) and also the wiorking copy /etc/ispcp/apache/working/00_master.conf

Hope you see what I mean

Cheers
J


RE: Addition in progress (again) - chrisisearth - 02-13-2008 07:37 AM

Hi again,

What I've done is reinstalled debian 4.0 again and its completely up to date,

and using the latest ispcp rc3 from sourceforge,

and I can still getting the following,

Addition in progress - with any newly added domians,

also when i run the reguest manager i get at the very top of the web page

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/run/ispcp.lock) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin) in /var/www/ispcp/gui/include/ispcp-functions.php on line 25

and Daemon returned 250 as status code

is the current apache modules I've installed are:

actions.load auth_pam.load authz_user.load cgi.load include.load perl.load proxy_http.load ssl.conf
alias.load authz_default.load autoindex.load dir.conf jk.load php5.conf proxy.load ssl.load
auth_basic.load authz_groupfile.load cgid.conf dir.load mime.load php5.load rewrite.load status.load
authn_file.load authz_host.load cgid.load env.load negotiation.load proxy.conf setenvif.load suexec.load


RE: Addition in progress (again) - joximu - 02-13-2008 07:47 AM

Yes I see:

there is an error in the php configuration. We mostly use php fastcgi and therefore did not get to know to this error.

You have to put the path /var/run/ispcp.lock into the open_basedir declaration in 00_master.conf

so it looks like:
/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/run/ispcp.lock:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

You see?

Hope this helps - we have to corrrect this.

/J