I am running Apache on an Ubuntu Server 14.04LTS with multiple vhosts. I’m trying to issue a certificate for my domain (example.com). What I did was first stop my Apache service (sudo service apache2 stop), then run LetsEncrypt through the CLI (./letsencrypt-auto --apache -d example.com).
However, upon running the command, I get the following output.
`Error while running apache2ctl -k graceful.
httpd not running, trying to start
Action ‘-k graceful’ failed.
The Apache error log may have more information.
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:443
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
AH00015: Unable to open logs`
I’m quite sure I do not have anything listening on port 443 and the command was running as sudo. I can restart the Apache service just fine with the daemon. I currently have mod_ssl disabled, but if I enable it, I can’t get Apache to start at all. It just throws the same error about port binding.
Can anyone help me figure out what is going on?