In case you are unfamiliar with the block comment approach using <IfDefine IgnoreBlockComment>, I used the traditional # comment indication and got the same result: dnessett@Mount:/etc/apache2$ cat ports.conf # If you just change the port or add more ports here, you will likely also # have to change the VirtualHost statement in # /etc/apache2/sites-enabled/000-default.conf #Listen 80 <IfModule ssl_module> Listen 4443 </IfModule> #<IfModule mod_gnutls.c> # Listen 443 #</IfModule> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet dnessett@Mount:/etc/apache2$ sudo systemctl restart apache2 Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. dnessett@Mount:/etc/apache2$ sudo systemctl status apache2 ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled-runtime; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: failed (Result: exit-code) since Thu 2022-12-15 18:52:14 MST; 1min 7s ago Process: 1823 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE) Dec 15 18:52:14 Mount systemd[1]: Starting The Apache HTTP Server... Dec 15 18:52:14 Mount apachectl[1823]: (98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:4443 Dec 15 18:52:14 Mount apachectl[1823]: no listening sockets available, shutting down Dec 15 18:52:14 Mount apachectl[1823]: AH00015: Unable to open logs Dec 15 18:52:14 Mount apachectl[1823]: Action 'start' failed. Dec 15 18:52:14 Mount apachectl[1823]: The Apache error log may have more information. Dec 15 18:52:14 Mount systemd[1]: apache2.service: Control process exited, code=exited status=1 Dec 15 18:52:14 Mount systemd[1]: apache2.service: Failed with result 'exit-code'. Dec 15 18:52:14 Mount systemd[1]: Failed to start The Apache HTTP Server. dnessett@Mount:/etc/apache2$
|