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

日志(/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

留下评论

您的电子邮箱地址不会被公开。 必填项已用*标注