LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Litespeed not doing graceful restart. (http://www.litespeedtech.com/support/forum/showthread.php?t=5780)

webzi 03-19-2012 02:26 PM

Litespeed not doing graceful restart.
 
Hi,

I'm running litespeed with cPanel.

When a user creates a new subdomain, the litespeed dosnt make graceful restart automaticly, why ?

If I go to the litespeed interface and press graceful restart, the subdomain works just fine.

Anyone got any ideas ?

/C

webizen 03-19-2012 03:23 PM

please check /usr/local/cpanel/logs/safeapacherestart_log and /usr/local/lsws/logs/ap_cmd_param.log after adding/removing a domain. safeapacherestart_log shows when cPanel restart Apache. usually, cpanel wait up-to 1 minutes to apply new changes. Please make sure you do not disable Apache httpd service from WHM.

jackwilliams 06-04-2012 02:39 AM

Hello,

Even I am facing the same issue in one of my shared server. I tried to look the same in the log. But I am receiving the following error.
=========
# tail -f /usr/local/cpanel/logs/safeapacherestart_log
[2012-06-04 17:10:37 +0800] info [safeapacherestart] Apache httpd is disabled, cannot be restarted
[2012-06-04 17:28:23 +0800] info [safeapacherestart] Apache httpd is disabled, cannot be restarted
=========

Apache is disabled via /etc/apachedisable. I am not sure how to fix it. or how to disable apache via cPanel. Can you please elaborate?

webizen 06-04-2012 09:54 AM

To enable/disable httpd in cpanel:

WHM/cPanel => Service Configuration => Service Manger => check/uncheck - Enabled httpd


All times are GMT -7. The time now is 04:53 PM.