openlitespeed icon indicating copy to clipboard operation
openlitespeed copied to clipboard

OpenLiteSpeed is Running but systemd Status Inactive

Open eveneme opened this issue 10 months ago • 0 comments

Since OpenLiteSpeed itself is working, the issue seems to be with how systemd tracks its process. It looks like systemd loses track because the lswsctrl start command exits too quickly, making it think OLS failed. Another possibility is that the PID file isn’t being read at the right moment, causing unnecessary restarts.

This is actually a known problem in the OLS community. It’s been reported several times:

Examples: https://forum.openlitespeed.org/threads/strange-issue-with-lshttpd-service-and-lswsctrl-restart.4589/

https://forum.openlitespeed.org/threads/litespeed-service-inactive-but-web-service-is-still-running.6052/

https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:troubleshooting:litespeed_is_running_but_systemd_status_inactive

eveneme avatar Feb 28 '25 22:02 eveneme