New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSCache and CWP CageFS at no extra cost with all CWPpro licences. The LSCache plugin is integrated into our WordPress and other script installers, and CWP CageFS gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Job for nginx.service failed because the control process exited with error code

Started by aueibrasil, May 10, 2018, 06:00:06 AM

Previous topic - Next topic

aueibrasil

Hi,

systemctl status nginx.service
Quote
nginx.service - nginx - high performance web server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2018-05-10 05:48:51 UTC; 6min ago
     Docs: http://nginx.org/en/docs/
  Process: 7153 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
May 10 05:48:51 servidor.aueibrasil.com.br systemd[1]: Starting nginx - high performance web server...
May 10 05:48:51 servidor.aueibrasil.com.br nginx[7153]: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/pki/tls/private/servidor.aueibrasil.com.br.key") failed (SSL: error:0B080074:x509 certificate routines:X509...alues mismatch)
May 10 05:48:51 servidor.aueibrasil.com.br systemd[1]: nginx.service: control process exited, code=exited status=1
May 10 05:48:51 servidor.aueibrasil.com.br systemd[1]: Failed to start nginx - high performance web server.
May 10 05:48:51 servidor.aueibrasil.com.br systemd[1]: Unit nginx.service entered failed state.
May 10 05:48:51 servidor.aueibrasil.com.br systemd[1]: nginx.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

nginx -t -c /etc/nginx/nginx.conf
Quote
nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/pki/tls/private/servidor.aueibrasil.com.br.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
nginx: configuration file /etc/nginx/nginx.conf test failed

I already did apache rebuild vhosts, but it continues, apache and varnish are running normally.
This happened after my server rebooted.

thank you, who can help me

cubehost

Well that error is telling you there is a key and certificate mismatch for the domain "servidor.aueibrasil.com"

You need to fix the certificate for that domain and then restart nginx.