Unable to start Nginx service: Failed with result 'timeout'

Started by mahesh, Dec 19, 2024, 05:50 AM

Previous topic - Next topic

mahesh

Symptoms
  • Unable to start Nginx service with the error:
nginx.service: Failed with result 'timeout'
  • Many messages as below can be found in /var/log/nginx/error.log file:
[warn] 25236#0: "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/usr/local/psa/var/certificates/scfTdclNf"
Cause
Unable to resolve r3.o.lencr.org (Let's Encrypt OCSP domain) from the server-side.

Resolution
  • Log into the server via SSH.
  • Using the vi text editor open the /etc/hosts file.
  • Add the line below:
  • 23.38.123.241 r3.o.lencr.org
  • Save the changes.
  • Try to restart Nginx service:
#systemctl restart nginx