Mahfuz-SS-EHL
Verified User
- Joined
- Oct 11, 2019
- Messages
- 7
Hello, Whenever I restart OpenLiteSpeed, it shows it's failed & it takes about 5 minutes. I tried restarting from SSH, System Information > LiteSpeed > Reload, Service Monitor > LiteSpeed > Restart/Reload, /usr/local/lsws/bin/lswsctrl start etc. The log is as following:
But, surprisingly, LiteSpeed is running & everything is working. DirectAdmin also showing it's running. Only, in the service list, it's showing failed & sometimes it shows it can't be started because it's in inactive mode.
Do you have any idea why litespeed doesn't start if I issue a restart command ??
Code:
[root@srv1 ~]# service litespeed status -l
Redirecting to /bin/systemctl status -l litespeed.service
● litespeed.service - The LiteSpeed HTTP Server
Loaded: loaded (/etc/systemd/system/litespeed.service; enabled; vendor preset: disabled)
Active: failed (Result: protocol) since Mon 2021-08-16 20:46:04 +06; 1h 6min ago
Process: 18500 ExecStop=/usr/local/lsws/bin/lswsctrl stop (code=exited, status=0/SUCCESS)
Process: 4968 ExecStart=/usr/local/lsws/bin/lswsctrl start (code=exited, status=0/SUCCESS)
Main PID: 25058 (code=exited, status=1/FAILURE)
Aug 16 20:46:01 srv1.ecarehost.com systemd[1]: Starting The LiteSpeed HTTP Server...
Aug 16 20:46:01 srv1.ecarehost.com lswsctrl[4968]: [OK] Send SIGUSR1 to 15497
Aug 16 20:46:04 srv1.ecarehost.com systemd[1]: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain: /tmp/lshttpd/lshttpd.pid
Aug 16 20:46:04 srv1.ecarehost.com systemd[1]: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain: /tmp/lshttpd/lshttpd.pid
Aug 16 20:46:04 srv1.ecarehost.com systemd[1]: Failed to start The LiteSpeed HTTP Server.
Aug 16 20:46:04 srv1.ecarehost.com systemd[1]: Unit litespeed.service entered failed state.
Aug 16 20:46:04 srv1.ecarehost.com systemd[1]: litespeed.service failed.
But, surprisingly, LiteSpeed is running & everything is working. DirectAdmin also showing it's running. Only, in the service list, it's showing failed & sometimes it shows it can't be started because it's in inactive mode.
Do you have any idea why litespeed doesn't start if I issue a restart command ??