good morning.
from one day to another the web interface does not work, I get this error and I dont know what may be due.
I think it may be a problem with the ssl certificate?
thanks for your help
Code
Description: failed to start (exit status 1) -- /bin/systemctl: Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
Code
[root@nuc ~]# journalctl -xn
-- Logs begin at Thu 2018-06-07 09:08:28 CEST, end at Thu 2018-06-07 09:23:25 CEST. --
Jun 07 09:23:07 nuc monit[991]: 'nginx' trying to restart
Jun 07 09:23:07 nuc monit[991]: 'nginx' start: /bin/systemctl
Jun 07 09:23:07 nuc systemd[1]: Starting A high performance web server and a reverse proxy server...
-- Subject: Unit nginx.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has begun starting up.
Jun 07 09:23:07 nuc nginx[4358]: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/ssl/private/openmediavault-29390923-c1aa-4ae8-bab5-eed8c49ead30.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
Jun 07 09:23:07 nuc nginx[4358]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jun 07 09:23:07 nuc systemd[1]: nginx.service: control process exited, code=exited status=1
Jun 07 09:23:07 nuc systemd[1]: Failed to start A high performance web server and a reverse proxy server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has failed.
--
-- The result is failed.
Jun 07 09:23:07 nuc systemd[1]: Unit nginx.service entered failed state.
Jun 07 09:23:25 nuc systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: Unit systemd-tmpfiles-clean.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has begun starting up.
Jun 07 09:23:25 nuc systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has finished starting up.
--
-- The start-up result is done.
Display More
Code
[root@nuc ~]# systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Thu 2018-06-07 09:22:07 CEST; 31s ago
Process: 4035 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Jun 07 09:22:07 nuc systemd[1]: Starting A high performance web server and a reverse proxy server...
Jun 07 09:22:07 nuc nginx[4035]: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/ssl/private/openmediavault-29390923-c1aa-4ae8-bab5-eed8c49ead30.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
Jun 07 09:22:07 nuc nginx[4035]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jun 07 09:22:07 nuc systemd[1]: nginx.service: control process exited, code=exited status=1
Jun 07 09:22:07 nuc systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Jun 07 09:22:07 nuc systemd[1]: Unit nginx.service entered failed state.
Display More