bon j'ai tout refait, suprimé et réinstallé rutorrent puis créé de nouveau mon certificat SSL et puis après la dernière commande
service nginx restart
J'ai de nouveau cette erreur
root@monserver:/home/manuser# systemctl status nginx.service
● nginx.service - LSB: Stop/start nginx
Loaded: loaded (/etc/init.d/nginx)
Active: failed (Result: exit-code) since Wed 2016-02-10 17:09:07 CET; 12s ago
Process: 1590 ExecStart=/etc/init.d/nginx start (code=exited, status=1/FAILURE )
Feb 10 17:09:07 monserver nginx[1590]: nginx: [emerg] SSL_CTX_use_PrivateK...)
Feb 10 17:09:07 monserver systemd[1]: nginx.service: control process exite...1
Feb 10 17:09:07 monserver systemd[1]: Failed to start LSB: Stop/start nginx.
Feb 10 17:09:07 monserver systemd[1]: Unit nginx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
Un truc de oufffff
Mon dossier
bon j'ai essayé ta commande
systemctl restart nginx.service
ce qui me donne
root@monserver:/home/manuser# systemctl restart nginx.service
Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
Pour ta seconde commande j'ai essayé en root
/etc/init.d/nginx restart
ce qui donne
root@monserver:/home/manuser# /etc/init.d/nginx restart
[....] Restarting nginx (via systemctl): nginx.serviceJob for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
failed!
root@monserver:/home/manuser#
je regarde le service nginx
root@monserver:/home/manuser# systemctl status nginx.service
● nginx.service - LSB: Stop/start nginx
Loaded: loaded (/etc/init.d/nginx)
Active: failed (Result: exit-code) since Wed 2016-02-10 17:27:46 CET; 2min 12s ago
Process: 3597 ExecStart=/etc/init.d/nginx start (code=exited, status=1/FAILURE)
Feb 10 17:27:46 monserver nginx[3597]: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/ssl/nginx/server...atch)
Feb 10 17:27:46 monserver systemd[1]: nginx.service: control process exited, code=exited status=1
Feb 10 17:27:46 monserver systemd[1]: Failed to start LSB: Stop/start nginx.
Feb 10 17:27:46 monserver systemd[1]: Unit nginx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
root@monserver:/home/manuser#
Puis le journal
root@monserver:/home/manuser# journalctl -xn
-- Logs begin at Wed 2016-02-10 17:03:37 CET, end at Wed 2016-02-10 17:31:41 CET. --
Feb 10 17:27:46 monserver systemd[1]: Failed to start LSB: Stop/start nginx.
-- 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.
Feb 10 17:27:46 monserver systemd[1]: Unit nginx.service entered failed state.
Feb 10 17:28:49 monserver sshd[3639]: Connection closed by 109.74.194.6 [preauth]
Feb 10 17:30:01 monserver CRON[3660]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 10 17:30:01 monserver CRON[3661]: pam_unix(cron:session): session opened for user munin by (uid=0)
Feb 10 17:30:01 monserver CRON[3662]: (munin) CMD (if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi)
Feb 10 17:30:01 monserver CRON[3663]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/
Feb 10 17:30:01 monserver CRON[3660]: pam_unix(cron:session): session closed for user root
Feb 10 17:30:24 monserver CRON[3661]: pam_unix(cron:session): session closed for user munin
Feb 10 17:31:41 monserver sshd[4110]: Connection closed by 109.74.194.6 [preauth]
lines 1-18/18 (END)...skipping...
-- Logs begin at Wed 2016-02-10 17:03:37 CET, end at Wed 2016-02-10 17:31:41 CET. --
Feb 10 17:27:46 monserver systemd[1]: Failed to start LSB: Stop/start nginx.
-- 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.
Feb 10 17:27:46 monserver systemd[1]: Unit nginx.service entered failed state.
Feb 10 17:28:49 monserver sshd[3639]: Connection closed by 109.74.194.6 [preauth]
Feb 10 17:30:01 monserver CRON[3660]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 10 17:30:01 monserver CRON[3661]: pam_unix(cron:session): session opened for user munin by (uid=0)
Feb 10 17:30:01 monserver CRON[3662]: (munin) CMD (if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi)
Feb 10 17:30:01 monserver CRON[3663]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugin
Feb 10 17:30:01 monserver CRON[3660]: pam_unix(cron:session): session closed for user root
Feb 10 17:30:24 monserver CRON[3661]: pam_unix(cron:session): session closed for user munin
Feb 10 17:31:41 monserver sshd[4110]: Connection closed by 109.74.194.6 [preauth]
le fichier /etc/nginx/sites-enabled/rutorrent.conf
server {
listen 80 default_server;
listen 443 default_server ssl http2;
server_name _;
index index.html index.php;
charset utf-8;
client_max_body_size 10M;
## Début ##
ssl on;
ssl_certificate /etc/ssl/nginx/monserver.com.crt-unified;
ssl_certificate_key /etc/ssl/nginx/server.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers "EECDH+AESGCM:AES128+EECDH:AES256+EECDH";
ssl_prefer_server_ciphers on;
ssl_ecdh_curve secp384r1;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
ssl_stapling on;
ssl_stapling_verify on;
resolver 8.8.4.4 8.8.8.8 valid=300s;
resolver_timeout 10s;
add_header X-Frame-Options "DENY";
add_header X-Content-Type-Options "nosniff";
## Fin ##
## ssl_certificate /etc/nginx/ssl/server.crt; ##
## ssl_certificate_key /etc/nginx/ssl/server.key; ##
## include /etc/nginx/conf.d/ciphers.conf; ##
access_log /var/log/nginx/rutorrent-access.log combined;
error_log /var/log/nginx/rutorrent-error.log error;
error_page 500 502 503 504 /50x.html;
location = /50x.html { root /usr/share/nginx/html; }
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
location = /favicon.ico {
access_log off;
log_not_found off;
}
## début config accueil serveur ##
location ^~ / {
root /var/www/base;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
satisfy any;
allow all;
}
## fin config accueil serveur ##
## début config proxy ##
location ^~ /proxy {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config proxy ##
## début config rutorrent ##
location ^~ /rutorrent {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
location ~ /\.svn {
deny all;
}
location ~ /\.ht {
deny all;
}
}
location ^~ /rutorrent/conf/ {
deny all;
}
location ^~ /rutorrent/share/ {
deny all;
}
## fin config rutorrent ##
## début config munin ##
location ^~ /graph {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
location ^~ /graph/img {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
error_log /dev/null crit;
}
location ^~ /monitoring {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config munin ##
## début config seedbox-manager ##
location ^~ /seedbox-manager {
alias /var/www/seedbox-manager/public;
include /etc/nginx/conf.d/php-manager.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config seedbox-manager ##
## config utilisateurs ##
location /USER1 {
include scgi_params;
scgi_pass 127.0.0.1:5001; #ou socket : unix:/home/username/.session/username.socket
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_user1";
}
location /USER2 {
include scgi_params;
scgi_pass 127.0.0.1:5003; #ou socket : unix:/home/username/.session/username.socket
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_user2";
}
}
Je vois pas ce qui provoque ce problème vue que j'ai tout refait mêm le certificat et je suis sur que tout est bon !!