Fredß wrote:bonjour,
J'ai également un problème. J'ai suivi le tuto pour faire une installation sur deux serveurs différents. Sur le premier pas de soucis tout fonctionne correctement. Par contre sur le second j'ai une erreur :
13.03.2014 10:44:55] Bad response from server: (502 [error,getsettings]) <!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>
J'ai refais l'installation complétement 2 fois pour être sur de ne pas faire de faute de frappe mais j'ai toujours la même erreur.
le fichier de logs /var/log/nginx/rutorrent-error.log
014/03/13 10:33:41 [error] 17964#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning: fopen(/var/www/rutorrent/share/users/fredb/settings/uisettings.json): failed to open stream: No such file or directory in /var/www/rutorrent/php/getsettings.php on line 7" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: _, request: "POST /rutorrent/php/getsettings.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xxx.xxx.xxx.xxx", referrer: "[url]http://xxx.xxx.xxx.xxx/rutorrent/[/url]"
2014/03/13 10:35:09 [error] 17964#0: *27 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: _, request: "POST /FRE0 HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "xxx.xxx.xxx.xxx", referrer: "[url]http://xxx.xxx.xxx.xxx/rutorrent/[/url]"
2014/03/13 10:37:09 [error] 17964#0: *27 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: _, request: "POST /FRE0 HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "xxx.xxx.xxx.xxx", referrer: "[url]http://xxx.xxx.xxx.xxx/rutorrent/[/url]"
2014/03/13 10:39:09 [error] 17964#0: *27 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: _, request: "POST /FRE0 HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "xxx.xxx.xxx.xxx", referrer: "[url]http://xxx.xxx.xxx.xxx/rutorrent/[/url]"
2014/03/13 10:41:10 [error] 17964#0: *27 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: _, request: "POST /FRE0 HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "xxx.xxx.xxx.xxx", referrer: "[url]http://xxx.xxx.xxx.xxx/rutorrent/[/url]"
2014/03/13 10:44:10 [error] 17964#0: *27 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: _, request: "POST /FRE0 HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "xxx.xxx.xxx.xxx", referrer: "[url]http://xxx.xxx.xxx.xxx/rutorrent/[/url]"
2014/03/13 10:44:13 [error] 17964#0: *27 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: _, request: "POST /FRE0 HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "xxx.xxx.xxx.xxx", referrer: "[url]http://xxx.xxx.xxx.xxx/rutorrent/[/url]"
2014/03/13 10:46:13 [error] 17964#0: *135 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: _, request: "POST /FRE0 HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "xxx.xxx.xxx.xxx", referrer: "[url]http://xxx.xxx.xxx.xxx/rutorrent/[/url]"
J'ai masqué mon IP perso en XXX.XXX.XXX.XXX
J'ai vérifié et je ne vois pas d'où cela peut venir. Je débute en linux.
Si quelqu'un pouvait m'aider.
Auriez vous une idée?
D'avance merci.
EDIT Hydrog3n : j'ai enlevé les autres ip de ton serv que tu avais oublié
Bonjour,
Je rencontre le même problème que Fredß.
Je suis parti d'une nouvelle installation de Debian 7.4 64Bits (un VPS chez FirstHeberg). J'ai utilisé le script d'ex_rat qui s'est déroulé sans problème. Après installation, je me rend sur rutorrent, pas d'erreur dans le "Journal" mais après quelque minutes j'obtiens dans celui-ci :
[02.05.2014 12:35:03] 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>
Ce message semble arriver toute les 5 minutes.
Dans le fichier rutorrent-error.log de nginx :
2014/05/02 11:59:48 [error] 31453#0: *9 FastCGI sent in stderr: "PHP message: PHP Warning: fopen(/var/www/rutorrent/share/users/%user%/settings/uisettings.json): failed to open stream: No such file or directory in /var/www/rutorrent/php/getsettings.php on line 7" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: _, request: "POST /rutorrent/php/getsettings.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "rutorrent.exemple.fr", referrer: "http://rutorrent.exemple.fr/rutorrent/"
2014/05/02 12:00:03 [error] 31453#0: *8 connect() failed (111: Connection refused) while connecting to upstream, client: XXX.XXX.XXX.XXX, server: _, request: "POST /%user% HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "rutorrent.exemple.fr", referrer: "http://rutorrent.exemple.fr/rutorrent/"
2014/05/02 12:05:04 [error] 31453#0: *124 connect() failed (111: Connection refused) while connecting to upstream, client: XXX.XXX.XXX.XXX, server: _, request: "POST /%user% HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "rutorrent.exemple.fr", referrer: "http://rutorrent.exemple.fr/rutorrent/"
Mon fichier nginx.conf :
user nginx;
worker_processes auto;
pid /var/run/nginx.pid;
events { worker_connections 1024; }
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /var/log/nginx/access.log combined;
error_log /var/log/nginx/error.log error;
sendfile on;
keepalive_timeout 20;
keepalive_disable msie6;
keepalive_requests 100;
tcp_nopush on;
tcp_nodelay off;
server_tokens off;
gzip on;
gzip_buffers 16 8k;
gzip_comp_level 5;
gzip_disable "msie6";
gzip_min_length 20;
gzip_proxied any;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application$
gzip_vary on;
include /etc/nginx/sites-enabled/*.conf;
}
rutorrent.conf :
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;
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;
include /etc/nginx/conf.d/cache;
location ~ /\.svn {
deny all;
}
location ~ /\.ht {
deny all;
}
}
location ^~ /rutorrent/conf/ {
deny all;
}
location ^~ /rutorrent/share/ {
deny all;
}
location /USER {
include scgi_params;
scgi_pass 127.0.0.1:5001;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_USER";
}
## fin config rutorrent ##
}
J'ai réinstallé Debian et suivis l'installation manuel de MagicAlex, idem, Même erreur.
Je ne sais pas si Fredß avait pu résoudre son problème ? Ou si vous avez une idée d'où pourrais provenir le problème ?
Merci d'avance pour votre aide