Interesting, okay
Here is the output from that command
snreloaded@Machina:~$ sudo certbot --apache
[sudo] password for snreloaded:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
No names were found in your configuration files. Please enter in your domain
name(s) (comma and/or space separated) (Enter âcâ to cancel): snreloaded.stream
Cert not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isnât close to expiry.
(ref: /etc/letsencrypt/renewal/snreloaded.stream.conf)
What would you like to do?
1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)
Select the appropriate number [1-2] then [enter] (press âcâ to cancel): 1
Keeping the existing certificate
Created an SSL vhost at /etc/apache2/sites-available/000-default-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-available/000-default-le-ssl.conf
Enabling available site: /etc/apache2/sites-available/000-default-le-ssl.conf
Error while running apache2ctl graceful.
httpd not running, trying to start
Action âgracefulâ failed.
The Apache error log may have more information.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Unable to restart apache using [âapache2ctlâ, âgracefulâ]
Rolling back to previous server configurationâŚ
Error while running apache2ctl graceful.
httpd not running, trying to start
Action âgracefulâ failed.
The Apache error log may have more information.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Unable to restart apache using [âapache2ctlâ, âgracefulâ]
Encountered exception during recovery:
Traceback (most recent call last):
File â/usr/lib/python3/dist-packages/certbot_apache/configurator.pyâ, line 2185, in _reload
util.run_script(self.option(ârestart_cmdâ))
File â/usr/lib/python3/dist-packages/certbot/util.pyâ, line 86, in run_script
raise errors.SubprocessError(msg)
certbot.errors.SubprocessError: Error while running apache2ctl graceful.
httpd not running, trying to start
Action âgracefulâ failed.
The Apache error log may have more information.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File â/usr/lib/python3/dist-packages/certbot/client.pyâ, line 526, in deploy_certificate
self.installer.restart()
File â/usr/lib/python3/dist-packages/certbot_apache/configurator.pyâ, line 2175, in restart
self._reload()
File â/usr/lib/python3/dist-packages/certbot_apache/configurator.pyâ, line 2203, in _reload
raise errors.MisconfigurationError(error)
certbot.errors.MisconfigurationError: Error while running apache2ctl graceful.
httpd not running, trying to start
Action âgracefulâ failed.
The Apache error log may have more information.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File â/usr/lib/python3/dist-packages/certbot_apache/configurator.pyâ, line 2185, in _reload
util.run_script(self.option(ârestart_cmdâ))
File â/usr/lib/python3/dist-packages/certbot/util.pyâ, line 86, in run_script
raise errors.SubprocessError(msg)
certbot.errors.SubprocessError: Error while running apache2ctl graceful.
httpd not running, trying to start
Action âgracefulâ failed.
The Apache error log may have more information.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File â/usr/lib/python3/dist-packages/certbot/error_handler.pyâ, line 108, in _call_registered
self.funcs-1
File â/usr/lib/python3/dist-packages/certbot/client.pyâ, line 626, in _rollback_and_restart
self.installer.restart()
File â/usr/lib/python3/dist-packages/certbot_apache/configurator.pyâ, line 2175, in restart
self._reload()
File â/usr/lib/python3/dist-packages/certbot_apache/configurator.pyâ, line 2203, in _reload
raise errors.MisconfigurationError(error)
certbot.errors.MisconfigurationError: Error while running apache2ctl graceful.
httpd not running, trying to start
Action âgracefulâ failed.
The Apache error log may have more information.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Error while running apache2ctl graceful.
httpd not running, trying to start
Action âgracefulâ failed.
The Apache error log may have more information.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
IMPORTANT NOTES:
- An error occurred and we failed to restore your config and restart
your server. Please post to
https://community.letsencrypt.org/c/server-config with details
about your configuration and this error you received.
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/snreloaded.stream/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/snreloaded.stream/privkey.pem
Your cert will expire on 2020-04-13. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the âcertonlyâ option. To non-interactively renew all of
your certificates, run âcertbot renewâ
- Some rewrite rules copied from
/etc/apache2/sites-enabled/000-default.conf were disabled in the
vhost for your HTTPS site located at
/etc/apache2/sites-available/000-default-le-ssl.conf because they
have the potential to create redirection loops.