I cannot start httpd, After running certbot to renew my certificate for my site, I received an error
My domain is:
I ran this command: /certbot.sh
It produced this output:
[root@vgc certbot]# ./certbot.sh
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
1: xxx1.edu
2: xxx2.edu
3: xxx3.edu
4: xxx4.edu
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel): 3
Obtaining a new certificate
Deploying Certificate to VirtualHost /etc/httpd/conf/vhosts.d/vgc.poly.edu.ssl.conf
Error while running apachectl graceful.
httpd not running, trying to start
Unable to restart apache using [‘apachectl’, ‘graceful’]
Error while running apachectl restart.
httpd not running, trying to start
Rolling back to previous server configuration…
Error while running apachectl graceful.
httpd not running, trying to start
Unable to restart apache using [‘apachectl’, ‘graceful’]
Error while running apachectl restart.
httpd not running, trying to start
Encountered exception during recovery:
Traceback (most recent call last):
File “/srv/certbot/venv/lib/python2.7/site-packages/certbot/error_handler.py”, line 124, in _call_registered
self.funcs-1
File “/srv/certbot/venv/lib/python2.7/site-packages/certbot/client.py”, line 622, in _rollback_and_restart
self.installer.restart()
File “/srv/certbot/venv/lib/python2.7/site-packages/certbot_apache/configurator.py”, line 2203, in restart
self._reload()
File “/srv/certbot/venv/lib/python2.7/site-packages/certbot_apache/configurator.py”, line 2230, in _reload
raise errors.MisconfigurationError(error)
MisconfigurationError: Error while running apachectl restart.
httpd not running, trying to start
Error while running apachectl restart.
httpd not running, trying to start
IMPORTANT NOTES:
- An error occurred and we failed to restore your config and restart
your server. Please post to
https://community.letsencrypt.org/c/help with details about your
configuration and this error you received. - Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/vgc.poly.edu-0003/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/vgc.poly.edu-0003/privkey.pem
Your cert will expire on 2020-01-16. 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”
My web server is (include version):
httpd-2.2.15-69.sl6.x86_64
httpd-tools-2.2.15-69.sl6.x86_64
The operating system my web server runs on is (include version):
Scientific Linux 8
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):