Bonjour à tous,
J'ai un serveur avec qui je fais une coloc avec 4 personnes et que j'ai réinstaller récemment.
Tout marche sauf le Ruttorent d'un user qui m'affiche une erreur 502...
Erreur journal :
[16.02.2015 16:07:44] WebUI started.
[16.02.2015 16:08:00] Bad response from server: (502 [error,list]) <!DOCTYPE html> <html> <head> <title>Error</title> <style> body { width: 35em; margin: 0 auto; font-family: Tahoma, Verdana, Arial, sans-serif; } </style> </head> <body> <h1>An error occurred.</h1> <p>Sorry, the page you are looking for is currently unavailable.<br/> Please try again later.</p> <p>If you are the system administrator of this resource then you should check the <a href="http://nginx.org/r/error_log">error log</a> for details.</p> <p><em>Faithfully yours, nginx.</em></p> </body> </html>
[16.02.2015 16:08:00] FILE MANAGER ignited
[16.02.2015 16:08:00] Bad response from server: (502 [error,list]) <!DOCTYPE html> <html> <head> <title>Error</title> <style> body { width: 35em; margin: 0 auto; font-family: Tahoma, Verdana, Arial, sans-serif; } </style> </head> <body> <h1>An error occurred.</h1> <p>Sorry, the page you are looking for is currently unavailable.<br/> Please try again later.</p> <p>If you are the system administrator of this resource then you should check the <a href="http://nginx.org/r/error_log">error log</a> for details.</p> <p><em>Faithfully yours, nginx.</em></p> </body> </html>
[16.02.2015 16:10:00] Bad response from server: (502 [error,list]) <!DOCTYPE html> <html> <head> <title>Error</title> <style> body { width: 35em; margin: 0 auto; font-family: Tahoma, Verdana, Arial, sans-serif; } </style> </head> <body> <h1>An error occurred.</h1> <p>Sorry, the page you are looking for is currently unavailable.<br/> Please try again later.</p> <p>If you are the system administrator of this resource then you should check the <a href="http://nginx.org/r/error_log">error log</a> for details.</p> <p><em>Faithfully yours, nginx.</em></p> </body> </html>
Log Rutorrent-Error :
2015/02/16 16:07:55 [error] 16344#0: *637 connect() failed (111: Connection refused) while connecting to upstream, client: IPDUSERVEUR, server: _, request: "POST /HORIZON3 HTTP/1.1", upstream: "scgi://127.0.0.1:5005", host: "horizonbox.nl", referrer: "https://horizonbox.nl/rutorrent/"
2015/02/16 16:07:55 [error] 16344#0: *637 connect() failed (111: Connection refused) while connecting to upstream, client: IPDUSERVEUR, server: _, request: "POST /HORIZON3 HTTP/1.1", upstream: "scgi://127.0.0.1:5005", host: "horizonbox.nl", referrer: "https://horizonbox.nl/rutorrent/"
2015/02/16 16:08:01 [error] 16342#0: *659 open() "/var/www/rutorrent/favicon.ico" failed (2: No such file or directory), client: IPDUSERVEUR, server: _, request: "GET /rutorrent/favicon.ico HTTP/1.1", host: "horizonbox.nl"
2015/02/16 16:08:01 [error] 16342#0: *659 open() "/var/www/rutorrent/favicon.ico" failed (2: No such file or directory), client: IPDUSERVEUR, server: _, request: "GET /rutorrent/favicon.ico HTTP/1.1", host: "horizonbox.nl"
2015/02/16 16:09:57 [error] 16344#0: *637 connect() failed (111: Connection refused) while connecting to upstream, client: IPDUSERVEUR, server: _, request: "POST /HORIZON3 HTTP/1.1", upstream: "scgi://127.0.0.1:5005", host: "horizonbox.nl", referrer: "https://horizonbox.nl/rutorrent/"
Rutorrent.conf :
server {
listen 80 default_server;
server_name _;
rewrite ^ https://horizonbox.nl$request_uri? permanent;
}
server {
listen 443 default_server ssl;
server_name _;
index index.html index.php;
charset utf-8;
client_max_body_size 10M;
ssl on;
ssl_certificate /etc/nginx/keys/horizonbox.nl.crt-unified;
ssl_certificate_key /etc/nginx/keys/horizonbox.nl.key;
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 de config wordpress ##
location ^~ / {
root /var/www/wordpress;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
try_files $uri $uri/ /index.php?q=$uri&$args;
satisfy any;
allow all;
}
## Fin de config wordpress ##
## Début config FastCGI ##
location ~ \.php$ {
fastcgi_cache mycache;
fastcgi_cache_key $request_method$host$request_uri;
fastcgi_cache_valid any 1h;
include fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_intercept_errors on;
}
## Fin config FastCGI ##
## Début config proxy ##
location ^~ /proxy {
root /var/www;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
}
## Fin config proxy ##
## Début config rutorrent ##
location ^~ /rutorrent {
root /var/www;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
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;
include /etc/nginx/conf.d/cache;
}
location ^~ /graph/img {
root /var/www;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
error_log /dev/null crit;
}
location ^~ /monitoring {
root /var/www;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
}
## Fin config munin ##
## Début config seedbox-manager ##
location ^~ /seedbox-manager {
alias /var/www/seedbox-manager/public;
include /etc/nginx/conf.d/php-manager;
include /etc/nginx/conf.d/cache;
}
## Fin config seedbox-manager ##
## Debut config utilisateurs ##
location /AYENON {
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_ayenon";
}
location /HORIZON1 {
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_horizon1";
}
location /HORIZON2 {
include scgi_params;
scgi_pass 127.0.0.1:5004; #ou socket : unix:/home/username/.session/username.socket
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_horizon2";
}
location /HORIZON3 {
include scgi_params;
scgi_pass 127.0.0.1:5005; #ou socket : unix:/home/username/.session/username.socket
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_horizon3";
}
location /HORIZON4 {
include scgi_params;
scgi_pass 127.0.0.1:5006; #ou socket : unix:/home/username/.session/username.socket
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_horizon4";
}
##Fin config utilisateurs
## Debut PhpMyAdmin ##
location /phpmyadmin {
root /usr/share/;
index index.php index.html index.htm;
location ~ ^/phpmyadmin/(.+\.php)$ {
try_files $uri =404;
root /usr/share/;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
}
location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /usr/share/;
}
}
location /phpMyAdmin {
rewrite ^/* /phpmyadmin last;
}
## Fin PhpMyAdmin ##
## Début config Codiad ##
location ^~ /codiad {
root /var/www;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
satisfy any;
allow all;
}
## Fin config Codiad ##
## Debut config cakebox-light ##
location /cakebox/ {
rewrite ^/cakebox(/.*)$ $1 break;
proxy_pass http://127.0.0.1:81;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
}
location /cakebox/ayenon/ {
alias /home/ayenon/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
location /cakebox/horizon1/ {
alias /home/horizon1/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
location /cakebox/horizon2/ {
alias /home/horizon2/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
location /cakebox/horizon3/ {
alias /home/horizon3/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
location /cakebox/horizon4/ {
alias /home/horizon4/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
## Fin config cakebox-light ##
## Début confi ZeroBin ##
location ^~ /paste {
root /var/www;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
satisfy any;
allow all;
}
## Fin config ZeroBin ##
}
Merci de votre aide