Lets Encrypt: Failed to lock file /etc/httpd/conf.d/ssl.conf

4 posts / 0 new
Last post
#1 Sat, 02/02/2019 - 06:05
bislinks
bislinks's picture

Lets Encrypt: Failed to lock file /etc/httpd/conf.d/ssl.conf

Even though the certificate request passes, I am still getting hundreds of emails saying 'request failed!'

Here is what I get once I make a request under virtual-server/letsencrypt.cgi?dom=****

Requesting a certificate for a2z.blue, ns2.a2z.blue, ns84.a2z.blue, www.a2z.blue, ns1.a2z.blue, ns3.a2z.blue from Let's Encrypt .. .. request was successful! 
Configuring webserver to use new certificate and key .. Failed to request certificate : Failed to lock file /etc/httpd/conf.d/ssl.conf after 5 minutes. Last error was : 
Sat, 02/02/2019 - 06:28
bislinks
bislinks's picture

Resolved.

Steps:

  1. Find .lock file in /etc/httpd/conf.d /etc/httpd/conf.d/ssl.conf.lock

  2. kill PID in /etc/httpd/conf.d/ssl.conf.lock kill 29130

  3. Delete ssl.conf.lock rm -f /etc/httpd/conf.d/ssl.conf.lock

  4. Restart Apache and Bind service httpd restart; service named restart;

Thanks to Andrechek: https://www.virtualmin.com/node/64476

Business Impact Solutions Computer Repair, Web Hosting, Web Design, and Web Development

Sat, 02/02/2019 - 07:29
bislinks
bislinks's picture

Also, i had to disable automatic renewal to avoid getting hundreds of emails which continued even after taking the above steps.

Business Impact Solutions Computer Repair, Web Hosting, Web Design, and Web Development

Mon, 02/04/2019 - 04:40
Jfro

Versions and also OS used?

Topic locked