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 : 

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

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

Versions and also OS used?