- Modifié
Bonjour,
Je reviens vers vous après une énième installation de mon serveur. (Petite précision : je suis débutant en système Linux ... ne nage un peu)
Ma dernière installation :
- Rutorrent avec 4 user en suivant ce tuto : https://mondedie.fr/d/5302
- Seedbox-manager en suivant ce tuto : https://mondedie.fr/d/5394
- RuFy en suivant ce tuto : https://mondedie.fr/d/8018
- Tardistart en suivant ce tuto : https://mondedie.fr/d/8067
Jusque ici tout fonctionnait correctement.
Ensuite, hier soir j'ai installé Plex en suivant ce tuto : https://mondedie.fr/d/5732
J'ai tout suivi à la lettre, fait la configuration comme expliqué dans le tuto. Tout avait l'air de fonctionner. J'avais accès a mon rutorrent, pouvais lire mes vidéos avec plex.
Ce matin je me connecte à mon rutorrent, je reçois une erreur me disant qu'il est impossible d’accéder à rtorrent. Seedbox-manager m'envoie sur une page m’expliquant comment l'installer et le configurer.
Je me connecte en ssh et lance un "service nginx restart".
Je reçois l'erreur :
Pour info mon fichier rutorrent.conf :
Je suis preneur de toutes idées (ou solution
)
Merci d'avance.
Je reviens vers vous après une énième installation de mon serveur. (Petite précision : je suis débutant en système Linux ... ne nage un peu)
Ma dernière installation :
- Rutorrent avec 4 user en suivant ce tuto : https://mondedie.fr/d/5302
- Seedbox-manager en suivant ce tuto : https://mondedie.fr/d/5394
- RuFy en suivant ce tuto : https://mondedie.fr/d/8018
- Tardistart en suivant ce tuto : https://mondedie.fr/d/8067
Jusque ici tout fonctionnait correctement.
Ensuite, hier soir j'ai installé Plex en suivant ce tuto : https://mondedie.fr/d/5732
J'ai tout suivi à la lettre, fait la configuration comme expliqué dans le tuto. Tout avait l'air de fonctionner. J'avais accès a mon rutorrent, pouvais lire mes vidéos avec plex.
Ce matin je me connecte à mon rutorrent, je reçois une erreur me disant qu'il est impossible d’accéder à rtorrent. Seedbox-manager m'envoie sur une page m’expliquant comment l'installer et le configurer.
Je me connecte en ssh et lance un "service nginx restart".
Je reçois l'erreur :
Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
systemctl status nginx.service :
root@ns398013:~# 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 mer. 2016-09-28 09:17:20 CEST; 24min ago
Docs: man:nginx(8)
Process: 11837 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 12274 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Main PID: 31008 (code=exited, status=0/SUCCESS)
sept. 28 09:17:20 ns398013.ip-151-80-41.eu systemd[1]: Starting A high performance web server and a reverse pr...r...
sept. 28 09:17:20 ns398013.ip-151-80-41.eu nginx[12274]: nginx: [alert] could not open error log file: open() "...em)
sept. 28 09:17:20 ns398013.ip-151-80-41.eu nginx[12274]: 2016/09/28 09:17:20 [emerg] 12274#12274: open() "/var/...em)
sept. 28 09:17:20 ns398013.ip-151-80-41.eu nginx[12274]: nginx: configuration file /etc/nginx/nginx.conf test failed
sept. 28 09:17:20 ns398013.ip-151-80-41.eu systemd[1]: nginx.service: control process exited, code=exited status=1
sept. 28 09:17:20 ns398013.ip-151-80-41.eu systemd[1]: Failed to start A high performance web server and a rev...ver.
sept. 28 09:17:20 ns398013.ip-151-80-41.eu systemd[1]: Unit nginx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
journalctl -xn :
root@ns398013:~# 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 mer. 2016-09-28 09:17:20 CEST; 24min ago
Docs: man:nginx(8)
Process: 11837 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 12274 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Main PID: 31008 (code=exited, status=0/SUCCESS)
sept. 28 09:17:20 ns398013.ip-151-80-41.eu systemd[1]: Starting A high performance web server and a reverse pr...r...
sept. 28 09:17:20 ns398013.ip-151-80-41.eu nginx[12274]: nginx: [alert] could not open error log file: open() "...em)
sept. 28 09:17:20 ns398013.ip-151-80-41.eu nginx[12274]: 2016/09/28 09:17:20 [emerg] 12274#12274: open() "/var/...em)
sept. 28 09:17:20 ns398013.ip-151-80-41.eu nginx[12274]: nginx: configuration file /etc/nginx/nginx.conf test failed
sept. 28 09:17:20 ns398013.ip-151-80-41.eu systemd[1]: nginx.service: control process exited, code=exited status=1
sept. 28 09:17:20 ns398013.ip-151-80-41.eu systemd[1]: Failed to start A high performance web server and a rev...ver.
sept. 28 09:17:20 ns398013.ip-151-80-41.eu systemd[1]: Unit nginx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
root@ns398013:~# journalctl -xn
-- Logs begin at sam. 2016-09-24 14:22:50 CEST, end at mer. 2016-09-28 09:43:01 CEST. --
sept. 28 09:35:01 ns398013.ip-151-80-41.eu CRON[12996]: (CRON) error (create tmpfile)
sept. 28 09:36:01 ns398013.ip-151-80-41.eu CRON[13035]: (CRON) error (create tmpfile)
sept. 28 09:37:01 ns398013.ip-151-80-41.eu CRON[13072]: (CRON) error (create tmpfile)
sept. 28 09:38:01 ns398013.ip-151-80-41.eu CRON[13111]: (CRON) error (create tmpfile)
sept. 28 09:39:01 ns398013.ip-151-80-41.eu CRON[13150]: (CRON) error (create tmpfile)
sept. 28 09:39:01 ns398013.ip-151-80-41.eu CRON[13151]: (CRON) error (create tmpfile)
sept. 28 09:40:01 ns398013.ip-151-80-41.eu CRON[13203]: (CRON) error (create tmpfile)
sept. 28 09:41:01 ns398013.ip-151-80-41.eu CRON[13243]: (CRON) error (create tmpfile)
sept. 28 09:42:01 ns398013.ip-151-80-41.eu CRON[13283]: (CRON) error (create tmpfile)
sept. 28 09:43:01 ns398013.ip-151-80-41.eu CRON[13322]: (CRON) error (create tmpfile)
Tout cela ne me parle pas trop.Pour info mon fichier rutorrent.conf :
upstream rufy_server {
server unix:/var/www/RuFy/run/gunicorn.sock fail_timeout=0;
}
server {
listen 80 default_server;
listen 443 default_server ssl;
server_name _;
charset utf-8;
index index.html index.php;
client_max_body_size 10M;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
ssl_dhparam /etc/nginx/ssl/dhparam.pem;
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 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;
}
location /KHOBAL {
include scgi_params;
scgi_pass 127.0.0.1:5001;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_khobal";
}
location /WOLVIE {
include scgi_params;
scgi_pass 127.0.0.1:5002;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_wolvie";
}
location /MIKLNET {
include scgi_params;
scgi_pass 127.0.0.1:5003;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_miklnet";
}
location /TOUFFIC {
include scgi_params;
scgi_pass 127.0.0.1:5004;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_touffic";
}
## fin config rutorrent ##
## 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 ##
## début config rufy ##
location ^~/rufy/static {
satisfy any;
allow all;
alias /var/www/RuFy/static/;
}
location ^~/rufy {
satisfy any;
allow all;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
if (!-f $request_filename) {
proxy_pass http://127.0.0.1:8000;
break;
}
}
## fin config rufy ##
## début config tardistart ##
location ^~/{
root /var/www/tardistart;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
satisfy any;
allow all;
location ~ admin {
auth_basic "TARDIStart Admin Page";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_khobal";
deny all;
}
}
## fin config tardistart ##
}
Besoin d'autre info ?Je suis preneur de toutes idées (ou solution

Merci d'avance.