Following up on the mod_gnutls entry in ports.conf, I commented out the entry and restarted apache. It didn’t fix the problem. 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> <IfDefine IgnoreBlockComment> <IfModule mod_gnutls.c> Listen 443 </IfModule> </IfDefine> # 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:38:56 MST; 5min ago Process: 1771 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE) Dec 15 18:38:56 Mount systemd[1]: Starting The Apache HTTP Server... Dec 15 18:38:56 Mount apachectl[1771]: (98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:4443 Dec 15 18:38:56 Mount apachectl[1771]: no listening sockets available, shutting down Dec 15 18:38:56 Mount apachectl[1771]: AH00015: Unable to open logs Dec 15 18:38:56 Mount apachectl[1771]: Action 'start' failed. Dec 15 18:38:56 Mount apachectl[1771]: The Apache error log may have more information. Dec 15 18:38:56 Mount systemd[1]: apache2.service: Control process exited, code=exited status=1 Dec 15 18:38:56 Mount systemd[1]: apache2.service: Failed with result 'exit-code'. Dec 15 18:38:56 Mount systemd[1]: Failed to start The Apache HTTP Server. dnessett@Mount:/etc/apache2$
|