Apache Down after switching from Litespeed

hmaddy

Well-Known Member
May 6, 2020
330
39
28
Chennai
cPanel Access Level
Root Administrator
Apache Down after switching from Litespeed to Apache.

service httpd restart
Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

systemctl status httpd.service
● httpd.service - Apache web server managed by cPanel EasyApache
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2022-01-03 12:58:35 GMT; 7s ago
Process: 508468 ExecStart=/usr/local/cpanel/scripts/restartsrv_httpd --no-verbose (code=exited, status=1/FAILURE)

Jan 03 12:58:35 s81.hostmargin.com systemd[1]: Starting Apache web server managed by cPanel EasyApache...
Jan 03 12:58:35 s81.hostmargin.com restartsrv_httpd[508468]: httpd: Syntax error on line 27 of /etc/apache2/conf/httpd.con...ping
Jan 03 12:58:35 s81.hostmargin.com systemd[1]: httpd.service: control process exited, code=exited status=1
Jan 03 12:58:35 s81.hostmargin.com systemd[1]: Failed to start Apache web server managed by cPanel EasyApache.
Jan 03 12:58:35 s81.hostmargin.com systemd[1]: Unit httpd.service entered failed state.
Jan 03 12:58:35 s81.hostmargin.com systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
765
310
363
cPanel Access Level
DataCenter Provider
This appears to be the issue:

Jan 03 12:58:35 s81.hostmargin.com restartsrv_httpd[508468]: httpd: Syntax error on line 27 of /etc/apache2/conf/httpd.con...ping

(error on line 27), but I'd get a support ticket open and I'm sure they will have you back up quickly.
 
  • Like
Reactions: cPanelAnthony

andrew.n

Well-Known Member
Jun 9, 2020
930
345
63
EU
cPanel Access Level
Root Administrator
  • Like
Reactions: cPanelAnthony