Symptoms
Apache will not start after the LiteSpeed license expires, and an error similar to the following will be in the logs:
CONFIG_TEXT: server.example.com restartsrv_httpd[1707233]: [ERROR] Cannot find /usr/local/apache/bin/litespeed
Cause
This issue occurs when the LiteSpeed license expires while it is running, which prevents LiteSpeed from switching to Apache. Reinstalling the ea-apache24-config-runtime package corrects this issue.
Resolution
- Access the server's command line as the 'root' user via SSH or Terminal in WHM.
Reinstall the
ea-apache24-config-runtimepackage:Almalinux 8/9, CloudLinux 8/9, Rocky Linux 8/9# dnf reinstall -y ea-apache24-config-runtime
Ubuntu# dpkg --purge --force-depends ea-apache24-config-runtime
# apt-get install ea-apache24-config-runtime
CentOS 7, CloudLinux 6/7# yum reinstall -y ea-apache24-config-runtime
Switch the web server to Apache:
# /usr/local/lsws/admin/misc/cp_switch_ws.sh apache
Comments
0 comments
Article is closed for comments.