Skip to content

OpenLiteSpeed is Running but systemd Status Inactive #444

@eveneme

Description

@eveneme

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions