Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4466

Apache2 is not starting after upgrading version 22:04

$
0
0

After upgrading Ubuntu 16.04 to 18.04, then to 20.04 and finally to version 22.04, I got this error:

How can I fix it ?

root@vmi155065:/etc/apache2/mods-enabled# sudo service apache2 status× apache2.service - The Apache HTTP Server     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)     Active: failed (Result: exit-code) since Sun 2022-05-01 17:27:12 CEST; 1 day 20h ago       Docs: https://httpd.apache.org/docs/2.4/    Process: 621 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)        CPU: 31msMay 01 17:27:12 vmi155065.contaboserver.net systemd[1]: Starting The Apache HTTP Server...May 01 17:27:12 vmi155065.contaboserver.net apachectl[636]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot >May 01 17:27:12 vmi155065.contaboserver.net apachectl[621]: Action 'start' failed.May 01 17:27:12 vmi155065.contaboserver.net apachectl[621]: The Apache error log may have more information.May 01 17:27:12 vmi155065.contaboserver.net systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILUREMay 01 17:27:12 vmi155065.contaboserver.net systemd[1]: apache2.service: Failed with result 'exit-code'.May 01 17:27:12 vmi155065.contaboserver.net systemd[1]: Failed to start The Apache HTTP Server.

Viewing all articles
Browse latest Browse all 4466

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>