New Main PID does not exist or is a zombie

#1
Hello guys,

I can't restart LiteSpeed after an involontary exit from the SSH. When I try to restart the service I need to wait for some seconds just to read that a time out occurred.

If a try to see the status of the service this is what the system tells me:

Code:
lshttpd.service - OpenLiteSpeed HTTP Server
     Loaded: loaded (/etc/systemd/system/lshttpd.service; enabled; vendor preset: enabled)
     Active: activating (start) since Sat 2022-01-08 20:08:31 UTC; 37s ago
    Process: 5885 ExecStart=/usr/local/lsws/bin/lswsctrl start (code=exited, status=0/SUCCESS)
     CGroup: /system.slice/lshttpd.service
             └─5940 openlitespeed (lscgid)
Jan 08 20:08:31 openlitespeed-wordpress-1-vm systemd[1]: lshttpd.service: Scheduled restart job, restart counter is at 2.
Jan 08 20:08:31 openlitespeed-wordpress-1-vm systemd[1]: Stopped OpenLiteSpeed HTTP Server.
Jan 08 20:08:31 openlitespeed-wordpress-1-vm systemd[1]: Starting OpenLiteSpeed HTTP Server...
Jan 08 20:08:32 openlitespeed-wordpress-1-vm lswsctrl[5885]: [OK] litespeed: pid=5915.
Jan 08 20:08:36 openlitespeed-wordpress-1-vm lswsctrl[5885]: [OK] litespeed: pid=5938.
Jan 08 20:08:36 openlitespeed-wordpress-1-vm systemd[1]: lshttpd.service: New main PID 5938 does not exist or is a zombie.
I tried a lot of stuff found in this forum and in other supports website, but nothing seems to change. I need to reconfigure everything from the beginning?

Thanks in advance
 

Cold-Egg

Administrator
#2
Have you tried to kill all the litespeed processes and start the service again? If it's still not working, what's the output of
Code:
ps aux | grep http
 
#3
Have you tried to kill all the litespeed processes and start the service again? If it's still not working, what's the output of
Code:
ps aux | grep http
Yeah I tried. But it didn't work.

I resolved by my self at the end. Checking the error log I notice that the SSL of the admin listener was wrong. I changed it and the issue was resolved.
 
Top