Advertisement
Guest User

Certbot Bitnami Apache AWS

a guest
Jul 24th, 2018
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.89 KB | None | 0 0
  1. bitnami@ip-172-31-27-16:~$ sudo certbot --apache
  2. Saving debug log to /var/log/letsencrypt/letsencrypt.log
  3. Plugins selected: Authenticator apache, Installer apache
  4. Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
  5. No names were found in your configuration files. Please enter in your domain
  6. name(s) (comma and/or space separated) (Enter 'c' to cancel): topnotchsolar.com
  7. Obtaining a new certificate
  8. Performing the following challenges:
  9. http-01 challenge for topnotchsolar.com
  10. Enabled Apache rewrite module
  11. Error while running apache2ctl graceful.
  12. httpd not running, trying to start
  13. Action 'graceful' failed.
  14. The Apache error log may have more information.
  15.  
  16. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
  17. (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
  18. (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
  19. no listening sockets available, shutting down
  20. AH00015: Unable to open logs
  21.  
  22. Unable to restart apache using ['apache2ctl', 'graceful']
  23. Cleaning up challenges
  24. Error while running apache2ctl graceful.
  25. httpd not running, trying to start
  26. Action 'graceful' failed.
  27. The Apache error log may have more information.
  28.  
  29. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
  30. (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
  31. (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
  32. no listening sockets available, shutting down
  33. AH00015: Unable to open logs
  34.  
  35. Unable to restart apache using ['apache2ctl', 'graceful']
  36. Encountered exception during recovery:
  37. Traceback (most recent call last):
  38. File "/usr/lib/python3/dist-packages/certbot_apache/configurator.py", line 2023, in _reload
  39. util.run_script(self.constant("restart_cmd"))
  40. File "/usr/lib/python3/dist-packages/certbot/util.py", line 86, in run_script
  41. raise errors.SubprocessError(msg)
  42. certbot.errors.SubprocessError: Error while running apache2ctl graceful.
  43. httpd not running, trying to start
  44. Action 'graceful' failed.
  45. The Apache error log may have more information.
  46.  
  47. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
  48. (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
  49. (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
  50. no listening sockets available, shutting down
  51. AH00015: Unable to open logs
  52.  
  53.  
  54. During handling of the above exception, another exception occurred:
  55.  
  56. Traceback (most recent call last):
  57. File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 75, in handle_authorizations
  58. resp = self._solve_challenges(aauthzrs)
  59. File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 126, in _solve_challenges
  60. resp = self.auth.perform(all_achalls)
  61. File "/usr/lib/python3/dist-packages/certbot_apache/configurator.py", line 2125, in perform
  62. self.restart()
  63. File "/usr/lib/python3/dist-packages/certbot_apache/configurator.py", line 2013, in restart
  64. self._reload()
  65. File "/usr/lib/python3/dist-packages/certbot_apache/configurator.py", line 2041, in _reload
  66. raise errors.MisconfigurationError(error)
  67. certbot.errors.MisconfigurationError: Error while running apache2ctl graceful.
  68. httpd not running, trying to start
  69. Action 'graceful' failed.
  70. The Apache error log may have more information.
  71.  
  72. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
  73. (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
  74. (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
  75. no listening sockets available, shutting down
  76. AH00015: Unable to open logs
  77.  
  78.  
  79. During handling of the above exception, another exception occurred:
  80.  
  81. Traceback (most recent call last):
  82. File "/usr/lib/python3/dist-packages/certbot_apache/configurator.py", line 2023, in _reload
  83. util.run_script(self.constant("restart_cmd"))
  84. File "/usr/lib/python3/dist-packages/certbot/util.py", line 86, in run_script
  85. raise errors.SubprocessError(msg)
  86. certbot.errors.SubprocessError: Error while running apache2ctl graceful.
  87. httpd not running, trying to start
  88. Action 'graceful' failed.
  89. The Apache error log may have more information.
  90.  
  91. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
  92. (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
  93. (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
  94. no listening sockets available, shutting down
  95. AH00015: Unable to open logs
  96.  
  97.  
  98. During handling of the above exception, another exception occurred:
  99.  
  100. Traceback (most recent call last):
  101. File "/usr/lib/python3/dist-packages/certbot/error_handler.py", line 108, in _call_registered
  102. self.funcs[-1]()
  103. File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 310, in _cleanup_challenges
  104. self.auth.cleanup(achalls)
  105. File "/usr/lib/python3/dist-packages/certbot_apache/configurator.py", line 2150, in cleanup
  106. self.restart()
  107. File "/usr/lib/python3/dist-packages/certbot_apache/configurator.py", line 2013, in restart
  108. self._reload()
  109. File "/usr/lib/python3/dist-packages/certbot_apache/configurator.py", line 2041, in _reload
  110. raise errors.MisconfigurationError(error)
  111. certbot.errors.MisconfigurationError: Error while running apache2ctl graceful.
  112. httpd not running, trying to start
  113. Action 'graceful' failed.
  114. The Apache error log may have more information.
  115.  
  116. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
  117. (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
  118. (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
  119. no listening sockets available, shutting down
  120. AH00015: Unable to open logs
  121.  
  122. Error while running apache2ctl graceful.
  123. httpd not running, trying to start
  124. Action 'graceful' failed.
  125. The Apache error log may have more information.
  126.  
  127. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
  128. (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
  129. (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
  130. no listening sockets available, shutting down
  131. AH00015: Unable to open logs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement