I installed XAMPP in server and trying to install Letsencrypt

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

I installed XAMPP in server and trying to install Letsencrypt.

My domain is: theastyles.com

I ran this command:
• sudo add-apt-repository ppa:certbot/certbot
• sudo apt-get update
• sudo apt-get install python-certbot-apache
• sudo certbot --apache -d theastyles.com -d www.theastyles.com

It produced this output:
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 “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/error_handler.py”, line 125, in _call_registered

self.funcs-1

File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/_internal/client.py”, line 627, in _rollback_and_restart

self.installer.restart()

File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py”, line 2195, in restart

self._reload()

File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_apache/_internal/configurator.py”, line 2222, in _reload

raise errors.MisconfigurationError(error)

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/help with details about your

configuration and this error you received.

  • Congratulations! Your certificate and chain have been saved at:

/etc/letsencrypt/live/theastyles.com/fullchain.pem

Your key file has been saved at:

/etc/letsencrypt/live/theastyles.com/privkey.pem

Your cert will expire on 2020-05-09. To obtain a new or tweaked

version of this certificate in the future, simply run certbot-auto

again with the “certonly” option. To non-interactively renew all

of your certificates, run “certbot-auto renew”

My web server is (include version):

The operating system my web server runs on is (include version): Ubuntu 18.04

My hosting provider, if applicable, is:Amazon AWS

I can login to a root shell on my machine (yes or no, or I don’t know):yes

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): certbot 0.31.0

Hi @webappssol

checking your domain you have created a lot of certificates - https://check-your-website.server-daten.de/?q=theastyles.com#ct-logs

Issuer not before not after Domain names LE-Duplicate next LE
Let’s Encrypt Authority X3 2020-02-09 2020-05-09 theastyles.com - 1 entries duplicate nr. 4
Let’s Encrypt Authority X3 2020-02-09 2020-05-09 theastyles.com - 1 entries duplicate nr. 3
Let’s Encrypt Authority X3 2020-02-09 2020-05-09 theastyles.com, www.theastyles.com - 2 entries duplicate nr. 3
Let’s Encrypt Authority X3 2020-02-09 2020-05-09 theastyles.com, www.theastyles.com - 2 entries duplicate nr. 2
Let’s Encrypt Authority X3 2020-02-09 2020-05-09 theastyles.com - 1 entries duplicate nr. 2
Let’s Encrypt Authority X3 2020-02-09 2020-05-09 theastyles.com - 1 entries duplicate nr. 1
Let’s Encrypt Authority X3 2020-02-09 2020-05-09 theastyles.com, www.theastyles.com - 2 entries duplicate nr. 1

So that part has worked, don’t create certificates again, there is a rate limit.

Please check your system to find the reason why

apache2ctl graceful

doesn’t work. There is a running

Server: Apache/2.4.33 (Unix) OpenSSL/1.0.2o PHP/7.2.6 mod_perl/2.0.8-dev Perl/v5.16.3

http / port 80 works, https doesn’t work.

ubuntu@ip-172-31-17-95 : /etc/letsencrypt $ ls

accounts archive cli.ini csr keys live options-ssl-apache.conf renewal renewal-hooks

ubuntu@ip-172-31-17-95 : /etc/letsencrypt $ cd live

-bash: cd: live: Permission denied

ubuntu@ip-172-31-17-95 : /etc/letsencrypt $ sudo cd live

sudo: cd: command not found

ubuntu@ip-172-31-17-95 : /etc/letsencrypt $

Any idea why this is happening?

ubuntu@ip-172-31-17-95 : /etc/letsencrypt $ ls -lt

total 36

drwxr-xr-x 2 root root 4096 Feb 11 08:50 renewal

drwxr-xr-x 2 root root 4096 Feb 11 08:26 csr

drwx------ 2 root root 4096 Feb 11 08:26 keys

drwx------ 4 root root 4096 Feb 10 06:43 accounts

drwx------ 3 root root 4096 Feb 10 06:43 archive

drwx------ 3 root root 4096 Feb 10 06:43 live

-rw-r–r-- 1 root root 1619 Feb 10 06:42 options-ssl-apache.conf

drwxr-xr-x 5 root root 4096 Feb 10 06:42 renewal-hooks

-rw-r–r-- 1 root root 121 Feb 10 2019 cli.ini

Hi,

Seems problem is I don’t have cert in live folder and neither I can install fresh as I tried many time without knowing of limitation. Can you please help me on that?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.