Current time: 05-06-2024, 10:00 PM Hello There, Guest! (LoginRegister)


Post Reply 
apache is not restarting
Author Message
chani Offline
Junior Member
*

Posts: 10
Joined: Jul 2010
Reputation: 0
Post: #1
apache is not restarting
Hello,

as soon as i add a domain, a subdomain or remove a domain or subdomain i get a mail, telling me that "Apache config file is corrupted. Please check before restarting Apache server!!!" - I tried to track down the issue, so the mail is telling me "A critical error just was encountered while executing function restart_httpd() in /var/www/ispcp/engine/ispcp-serv-mngr". Alright - Looking into this file to restart_httpd shows me that there is just the exit code of apache2ctl restart checked:

Code:
alia:/# apache2ctl configtest
Syntax OK
alia:/# echo $?
0

I also checked that the CMD_HTTPD is correctly defined in /etc/ispcp/ispcp.conf. Any ideas how i can find out what's causing this? Due to this bug, ispcp is nearly unusable (i have to restart the apache manually everytime someone's adding a subdomain or domain)


running /var/www/ispcp/engine# ./ispcp-rqst-mngr with DEBUGGING gives:

Code:
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: del_file(), msg: Starting...
DEBUG: push_el() sub_name: del_file(), 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: 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: 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(), msg: ERROR: External command '/var/www/ispcp/engine/ispcp-serv-mngr 1 0 0 0 0 1>/var/log/ispcp/ispcp-serv-mngr.stdout 2>/var/log/ispcp/ispcp-serv-mngr.stderr' returned '1' status !
DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command '/var/www/ispcp/engine/ispcp-serv-mngr 1 0 0 0 0 1>/var/log/ispcp/ispcp-serv-mngr.stdout 2>/var/log/ispcp/ispcp-serv-mngr.stderr' returned '1' status !
DEBUG: push_el() sub_name: get_el_error(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
....

Those two Errors might cause it?
(This post was last modified: 08-22-2010 12:22 PM by chani.)
08-22-2010 12:01 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
apache is not restarting - chani - 08-22-2010 12:01 PM
RE: apache is not restarting - pgentoo - 08-22-2010, 02:19 PM
RE: apache is not restarting - chani - 08-22-2010, 06:30 PM
RE: apache is not restarting - Nuxwin - 08-22-2010, 08:43 PM
RE: apache is not restarting - chani - 08-29-2010, 07:50 AM
RE: apache is not restarting - Nuxwin - 08-29-2010, 03:55 PM
RE: apache is not restarting - chani - 10-27-2010, 04:42 AM

Forum Jump:


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