[HELP] Can't start after add listener with IP on CentOS 7

b0ngma01

Active Member
#1
Hi,

I'm running Litespeed on CentOS 7 64bit. I've tried to add listener but after restart lsws listener is error does not work and it's work only if I reboot server. I'm using: Litespeed Web Server - Enterprise Edition - Version 4.2.21

Please help me to fix it.
 

b0ngma01

Active Member
#3
Please re-produce this error by step:
1. Install Litespeed to CentOS 7
2. Create new listener with ANY & Graceful restart
3. Create new listener with special IP & Graceful restart
4. You will see error
5. Try to Graceful restart but error still happen
6. Login to SSH, use cmd: systemctl restatrt lshttpd.service, but error still happen
7. Reboot server => Litespeed work again
 

mistwang

LiteSpeed Staff
#6
if you change that, you need to to stop the server fully, then start, cannot do graceful restart.

service lsws stop

then

service lsws start


should work.
 

b0ngma01

Active Member
#7
if you change that, you need to to stop the server fully, then start, cannot do graceful restart.

service lsws stop

then

service lsws start


should work.
On CentOS 7, I can't use service lsws stop/start because lsws service not found.
I only can use: systemctl restart/stop/start lshttpd.service
And I've try to stop but I've get error message fail to kill process. It's a bug from Litespeed.
 

b0ngma01

Active Member
#9
You can also do
killall -9 litespeed

to stop LSWS.
I think you need to fix for CentOS 7. Not only for me, currently my service is work fine. But please check why we can't use cmd:
# service lsws restart/stop/reload/start
# systemctl restart/stop/start lshttpd.service
 
Top