LSWS stop working; stop worker processes

#1
Hello there
I realized that my webserver is not responding to http requests anymore. While checking LSWS console i realized that LSWS service is stopped, after running it everything goes fine.

Just for tracing the issue i check the error_log file under:
/usr/local/apache/logs/

And these are what i observed there:

2014-02-16 09:34:24.080 [ERROR] wrapper script /usr/local/apache/bin/httpd is too small, read: 0.
2014-02-16 09:34:24.112 [NOTICE] /usr/local/apache/bin/httpd_ls_bak exists, force recreating wrapper script.
2014-02-16 09:34:24.146 [NOTICE] [config] chroot is disabled.
2014-02-16 09:34:24.335 [ERROR] [ModSecurity] unknown server variable while parsing: MULTIPART_STRICT_ERROR
2014-02-16 09:34:24.874 [ERROR] [/usr/local/apache/conf/httpd.conf:17108] Listener for X.X.X.X:80 is not available!
2014-02-16 09:34:25.045 [ERROR] [/usr/local/apache/conf/httpd.conf:19661] Listener for X.X.X.X:80 is not available!

After above error every new user's request will be granted a PID and then the PID will be removed and the process will be end so no user is able to have a process.

2014-02-16 09:34:55.001 [INFO] [CLEANUP] Send signal: 10 to process: 153856
2014-02-16 09:34:55.038 [NOTICE] [APVH_mahannam_Suphp:] stop worker processes
2014-02-16 09:34:55.041 [INFO] Remove pid: 154040, exitcode: 123
2014-02-16 09:34:55.041 [INFO] [APVH_sambooki_Suphp:] PID: 153799, add child process pid: 154041, procinfo: 0x33b9dc0
2014-02-16 09:34:55.043 [INFO] Remove pid: 154041, exitcode: 123
2014-02-16 09:34:55.043 [INFO] [APVH_sambooki_Suphp:] PID: 153799, add child process pid: 154042, procinfo: 0x33b9dc0


What are on my httpd.conf file on the referenced lines:
httpd.conf line 17108

Line 17101 : <VirtualHost X.X.X.X:80>

Line 17102 : ServerName xxxxxxx.com

Line 17103 : ServerAlias www.xxxxxxx.com

Line 17104 : DocumentRoot /home/webmailb/public_html

Line 17105 : ServerAdmin webmaster@xxxxxxx.com

Line 17106 : UseCanonicalName Off

Line 17107 : Options -ExecCGI -Includes

Line 17108 : RemoveHandler cgi-script .cgi .pl .plx .ppl .perl
httpd.conf lines:
Line 19653: <VirtualHost 127.0.0.1:80 X.X.X.197:443 X.X.X.197:80 X.X.X.202:443 X.X.X.202:80 X.X.X.206:80 *>
Line 19653: ServerName server34.bertina.us

Line 19653: ServerAlias cpanel.* whm.* webmail.* webdisk.*

Line 19653: DocumentRoot /usr/local/apache/htdocs
Line 19653: ServerAdmin my@loclahost.ln
Line 19653: <IfModule mod_security2.c>
Line 19653: SecRuleEngine Off
</IfModule>


Do you have any clue what is the reason of LSWS service stopped status?
Thank you for your replies.
 

NiteWave

Administrator
#2
please check error_log right before lsws stopped.
when lsws start or restart, it'll leave a log message like
"...[NOTICE] Free software update of your owned license will expire in..."
check the time stamp of error logs around above log entry.
 
Top