Current time: 11-23-2024, 07:37 AM Hello There, Guest! (LoginRegister)


Post Reply 
File(/var/run/ispcp.lock) is not within the allowed path
Author Message
vanfleet Offline
Newbie
*

Posts: 5
Joined: Apr 2010
Reputation: 0
Post: #1
File(/var/run/ispcp.lock) is not within the allowed path
Hi I'm trying to get ispcp 1.0.5 working on debian lenny running on Linux Vserver. The installation went fine but when I try to create new users I get the following errors/warnings:

Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/var/run/ispcp.lock) is not within the allowed path(s): (/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/phpSmile in /var/www/ispcp/gui/include/ispcp-functions.php on line 36

Warning: fopen(/var/run/ispcp.lock) [function.fopen]: failed to open stream: Operation not permitted in /var/www/ispcp/gui/include/ispcp-functions.php on line 36
00000

It looks like the /var/run/ispcp.lock file does not exist in that location, instead there is a ispcp_daemon.pid and ispcp_network file in /var/run.

After the error/warning the new users show up but when I try to switch to them I get the message "account status is not ok!". If I try to delete the user I get the message "Wrong domain ID!".

Is there any way to get out of this without reinstalling everything? Any help would be greatly appreciated.

Thanks,
David
04-21-2010 02:21 PM
Find all posts by this user Quote this message in a reply
vanfleet Offline
Newbie
*

Posts: 5
Joined: Apr 2010
Reputation: 0
Post: #2
RE: File(/var/run/ispcp.lock) is not within the allowed path
I'm still having this same problem, if anyone can help me I would greatly appreciate it...

I couple of things I have learned:

- If I create an empty /var/run/ispcp.lock file I can get the open_basedir error to go away but I still end up with the following timeout error:

00000
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/ispcp/gui/include/ispcp-functions.php on line 55

What I don't understand is why the /var/run/ispcp.lock file is not there, or if that file needs to exist. I have a working ispcp instance on another server and that file does not exist.

- I turned on debug in /etc/ispcp/ispcp.conf and ran ispcp-rqst-mngr and got the following output, but I don't see any errors:

DEBUG: push_el() sub_name: mngr_start_up(), msg: Starting...
DEBUG: push_el() sub_name: lock_system(), msg: Starting...
DEBUG: push_el() sub_name: lock_system(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_start_up(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 8, adfadsf.com, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-dmn-mngr 8 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 22, webmaster, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 22 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 23, postmaster, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 23 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 24, abuse, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-mbox-mngr 24 1>/var/log/ispcp/ispcp-mbox-mngr.stdout 2>/var/log/ispcp/ispcp-mbox-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-serv-mngr 1 0 0 3 0 1>/var/log/ispcp/ispcp-serv-mngr.stdout 2>/var/log/ispcp/ispcp-serv-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 8, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-htusers-mngr 8 1>/var/log/ispcp/ispcp-htusers-mngr.stdout 2>/var/log/ispcp/ispcp-htusers-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 8 -> 8, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-htgroups-mngr 8 1>/var/log/ispcp/ispcp-htgroups-mngr.stdout 2>/var/log/ispcp/ispcp-htgroups-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: Ending...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Ending...

I don't understand what is going on here, any help would be appreciated.

Thanks,
David
05-13-2010 03:09 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)