PDA

View Full Version : LSWS dies after every account is created


ffeingol
07-31-2008, 04:56 PM
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
07-31-2008, 06:49 PM
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
07-31-2008, 06:56 PM
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
07-31-2008, 07:06 PM
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

ffeingol
07-31-2008, 07:29 PM
I PM'ed you the info.

Frank

mistwang
08-01-2008, 03:48 PM
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?