Run install certbot in Google Cloud Apache Debian 8 . Errors


#1

Certbot gives me these errors:

Error while running apache2ctl graceful.
httpd not running, trying to start
Action ‘graceful’ failed.
The Apache error log may have more information.
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1. Set the ‘ServerName’ directiv
e globally to suppress this message
(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


#2

Please fill out the fields below so we can help you better.

My domain is:

I ran this command:

It produced this output:

My operating system is (include version):

My web server is (include version):

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


#3

My domain is: gbigshop.com

I ran this command:

It produced this output:

My operating system is (include version):

My web server is (include version):

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):[quote=“Osiris, post:2, topic:23561”]
My domain is: gbigshop.com

I ran this command:

$ cd /tmp
$ git clone https://github.com/letsencrypt/letsencrypt
$ cd letsencrypt
$ ./letsencrypt-auto

It produced this output:

Saving debug log to /var/log/letsencryp
t/letsencrypt.log │
│ Failed to find apache2ctl in PATH:

│ /usr/local/sbin:/usr/local/bin:/usr/sbi
n:/usr/bin:/sbin:/bin │
















└────────────────────────────────────────
──────────────────────────────┘
Certbot doesn’t know how to automatically configure the web server on this system. However, it can still get a certificate
for you. Please run “letsencrypt-auto certonly” to do so. You’ll need to manually configure your web server to use the resu
lting certificate.

My operating system is (include version): Debian GNU/Linux 8 \n \l

My web server is (include version): Launch bitnami Google Cloud WordPress

My hosting provider, if applicable, is: Google Cloud

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

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Google cloud Platform


#4

Bitnami uses custom versions of software like apache, installed to /opt/bitnami rather than in the more conventional locations that certbot expects apache to be.

The apache plugin in certbot works best with the versions of apache shipped by Ubuntu (and other distros).

If you want to keep using the Bitnami version of apache, you’ll probably need to use the certonly webroot or standalone plugin - https://certbot.eff.org/docs/using.html#webroot


#5

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