LSWS dies after every account is created

ffeingol

Well-Known Member
#1
Hello,

We have a server with LSWS and cPanel. Every time a new account is created we get this:

At [31/Jul/2008:17:49:02 -0500], web server with pid=3991 received unexpected signal=9, no core file is created. A new instance of web server will be started automatically!
LSWS = 3.3.15
CentOS 5, 32 bit all patches applied
cPanel - Release all patches applied

let me know if I can provide anymore information.

Frank
 

mistwang

LiteSpeed Staff
#2
Which cPanel release are you using? Still run Apache behind LSWS?
Have you tried "Using Apache httpd wrapper" option?

cPanel may kill lshttpd with "-9", but it will start /usr/local/apache/bin/httpd again, with the wrapper, LSWS will get started and it should start apache if need.
 

ffeingol

Well-Known Member
#3
Yes, we need Apache still there because of SSI. Yes, LSWS gets restarted but Apache does not.

"override cPanel restart HTTPD script"
running the latest cPanel Release tree

Apache is not restarting.
 

mistwang

LiteSpeed Staff
#4
can you post the content of the wrapper script
/usr/local/apache/bin/httpd

it should be a shell script.

Also the content of
lsws/logs/ap_cmd_param.log

it logs the command parameters used when run /usr/local/apache/bin/httpd
 

mistwang

LiteSpeed Staff
#6
I tried in with cPanel 11.23.4-R26138 with Apache 2.2.9, LSWS 3.3.15 (Use Apache binary wrapper). Seems restart Apache from WHM and adding an new account both working fine.
Our wrapper script matches yours. Do you have "httpd" checked under Service Manager?
 
Top