日志(/var/log)体现如下:

Feb 10 12:47:12 XXX systemd: lshttpd.service holdoff time over, scheduling restart.
Feb 10 12:47:12 XXX systemd: Stopped OpenLiteSpeed HTTP Server.
Feb 10 12:47:12 XXX systemd: Starting OpenLiteSpeed HTTP Server…
Feb 10 12:47:12 XXX systemd: Failed at step EXEC spawning /usr/local/lsws/bin/lswsctrl: No such file or directory
Feb 10 12:47:12 XXX systemd: lshttpd.service: control process exited, code=exited status=203
Feb 10 12:47:12 XXXsystemd: Failed to start OpenLiteSpeed HTTP Server.
Feb 10 12:47:12 XXX systemd: Unit lshttpd.service entered failed state.
Feb 10 12:47:12 XXX systemd: lshttpd.service failed

解决方法:

从服务器中删除 LiteSpeed Web Server 文件。
使用以下命令从 /usr/local 目录中删除 LiteSpeed Web 服务器目录 ( lsws ):

/usr/local/lsws/admin/misc/uninstall.sh

卸载 |LiteSpeed Web 服务器 |LiteSpeed 文档 --- Uninstall | LiteSpeed Web Server | LiteSpeed

LiteSpeed未正确卸载导致的系统日志报错

https://bluish.cc/archives/1615/

作者

bluish

发布时间

2024-02-12

许可协议

CC BY-SA 4.0

标签: debug, linux, 服务器, Litespeed

添加新评论