Bonjour a tous,

je viens de ré-installer fraichement mon dédié avec le tutoriel "installation automatique de ruTorrent".

Le hic c'est que quand je me connecte sur rutorrent, celui ci m'affiche "la liste des torrents n'est pas encore disponible,la connexion a rtorrent n'a pas etait établie.

Et dans mon Journal j'ai "Bad response from server: (200 [parsererror,getplugins]) ...."

Une petite idée ?
Redémarre rtorrent depuis le manager
J'ai essayé plusieurs fois, mais toujours même message d'erreur.
Salut
Vu que c'est une install toute fraiche, pas de caractère spéciaux dans les noms d'utilisateurs et les mots de passes (juste lettre/chiffres) ?
Ex.
Salut,

Oui, que des lettres et chiffres pour noms d'utilisateur et mot de passe.
Faut aller voir du coté des logs pour avoir une piste:
tail -f -n 50 /var/log/nginx/rutorrent-access.log
et
tail -f -n 50 /var/log/nginx/rutorrent-error.log
Si ça te parle pas trop, post ça ici en masquant les ip qu'on puisse jeter un oeil.
Ex.
Je te poste ça en copier/coller ? ou il y'a un méthode particulière ?
Oui, tu fais un copié/collé et tu utilises la balise code pour poster ça ici
Ex.
Ok, alors :
root@sd-31408:~# tail -f -n 50 /var/log/nginx/rutorrent-access.log
- - [02/Aug/2014:19:47:39 +0200] "GET /rutorrent/ HTTP/1.1" 401 590 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:47:46 +0200] "GET /rutorrent/ HTTP/1.1" 200 2362 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:47:49 +0200] "GET /rutorrent/php/getplugins.php HTTP/1.1" 200 102401 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:47:49 +0200] "POST /rutorrent/php/getsettings.php HTTP/1.1" 200 2 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:47:49 +0200] "POST /rutorrent/php/setsettings.php HTTP/1.1" 200 31 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:47:49 +0200] "POST /rutorrent/php/setsettings.php HTTP/1.1" 200 31 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:47:49 +0200] "POST /rutorrent/php/setsettings.php HTTP/1.1" 200 31 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:47:49 +0200] "POST /rutorrent/plugins/create/action.php HTTP/1.1" 200 2 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:47:50 +0200] "GET /rutorrent/plugins/cpuload/action.php?_=1407001661814 HTTP/1.1" 200 14 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:47:50 +0200] "GET /rutorrent/plugins/diskspace/action.php?_=1407001661815 HTTP/1.1" 200 76 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:47:50 +0200] "POST /rutorrent/plugins/_task/action.php HTTP/1.1" 200 2 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:48:00 +0200] "GET /rutorrent/plugins/diskspace/action.php?_=1407001661816 HTTP/1.1" 200 76 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:48:10 +0200] "GET /rutorrent/plugins/diskspace/action.php?_=1407001661817 HTTP/1.1" 200 76 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:48:22 +0200] "GET /rutorrent/ HTTP/1.1" 200 2362 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:48:25 +0200] "GET /rutorrent/php/getplugins.php HTTP/1.1" 200 370704 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:48:25 +0200] "POST /rutorrent/php/getsettings.php HTTP/1.1" 200 601 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- - [02/Aug/2014:19:48:27 +0200] "GET /seedbox-manager/ HTTP/1.1" 401 590 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:48:28 +0200] "GET /seedbox-manager/ HTTP/1.1" 200 2965 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:48:29 +0200] "GET /seedbox-manager/favicon.ico HTTP/1.1" 404 191 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:48:40 +0200] "POST /seedbox-manager/index.php HTTP/1.1" 200 3257 "https://IPSERVEUR/seedbox-manager/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:48:48 +0200] "GET /rutorrent/ HTTP/1.1" 200 2362 "https://IPSERVEUR/seedbox-manager/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:48:51 +0200] "GET /rutorrent/php/getplugins.php HTTP/1.1" 200 370704 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:48:52 +0200] "POST /rutorrent/php/getsettings.php HTTP/1.1" 200 601 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:53:32 +0200] "GET /rutorrent/ HTTP/1.1" 200 2362 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:53:36 +0200] "GET /rutorrent/php/getplugins.php HTTP/1.1" 200 370704 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:19:53:36 +0200] "POST /rutorrent/php/getsettings.php HTTP/1.1" 200 601 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:20:04:49 +0200] "GET /rutorrent/ HTTP/1.1" 200 2362 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:20:04:53 +0200] "GET /rutorrent/php/getplugins.php HTTP/1.1" 200 370704 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:20:04:53 +0200] "POST /rutorrent/php/getsettings.php HTTP/1.1" 200 601 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:20:04:59 +0200] "GET /seedbox-manager/ HTTP/1.1" 200 3010 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:20:05:14 +0200] "POST /seedbox-manager/index.php HTTP/1.1" 200 3260 "https://IPSERVEUR/seedbox-manager/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:20:05:25 +0200] "GET /seedbox-manager/index.php HTTP/1.1" 200 3016 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:20:05:28 +0200] "GET /rutorrent/ HTTP/1.1" 200 2362 "https://IPSERVEUR/seedbox-manager/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:20:05:31 +0200] "GET /rutorrent/php/getplugins.php HTTP/1.1" 200 370704 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
- florian [02/Aug/2014:20:05:32 +0200] "POST /rutorrent/php/getsettings.php HTTP/1.1" 200 601 "https://IPSERVEUR/rutorrent/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
voici pour le 1er
et la deuxieme :
root@sd-31408:~# tail -f -n 50 /var/log/nginx/rutorrent-error.log
2014/08/02 19:47:49 [error] 1718#0: *20 FastCGI sent in stderr: "PHP message: PHP Warning:  fopen(/var/www/rutorrent/share/users/florian/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: MONIP, server: _, request: "POST /rutorrent/php/getsettings.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "IPSERVEUR", referrer: "https://IPSERVEUR/rutorrent/"
2014/08/02 19:48:29 [error] 1718#0: *50 open() "/var/www/seedbox-manager/public/favicon.ico" failed (2: No such file or directory), client: MONIP, server: _, request: "GET /seedbox-manager/favicon.ico HTTP/1.1", host: "IPSERVEUR"
2014/08/02 19:48:29 [error] 1718#0: *50 open() "/var/www/seedbox-manager/public/favicon.png" failed (2: No such file or directory), client: MONIP, server: _, request: "GET /seedbox-manager/favicon.png HTTP/1.1", host: "IPSERVEUR"

Yop,

A tout hasard un reboot du serveur (Toujours après une install -> ça te prouve que ça tourne)
Poste nous des fichiers de conf :
/etc/ngix/nginx.conf
et
/etc/nginx/sites-enabled/rutorrent.conf
Pour /etc/nginx/nginx.conf :
user www-data;
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/xml+rss  text/javascript;
        gzip_vary on;

        include /etc/nginx/sites-enabled/*.conf;
}

et pour /etc/nginx/site-enabled/rutorrent.conf
server {
        listen 80 default_server;
        listen 443 default_server ssl;
        server_name _;

        index index.html index.php;
        charset utf-8;
        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 accueil serveur ##

        location ^~ / {
            root /var/www/base;
            include /etc/nginx/conf.d/php;
            include /etc/nginx/conf.d/cache;
            satisfy any;
            allow all;
        }

        ## fin config accueil serveur ##

        ## 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 ##

        ## config utilisateurs  ##

        location /FLORIAN {
            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_florian";
        }
}



Yop,

Essaye ce post : http://mondedie.fr/d/5651 ---- #15 de Wagner

On a eut pas mal ce problème.
Essaye de rebooter le serveur avant (c'est important et ça résout plus de problème qu'on ne pense !)

poste nous aussi :
/home/alexis/.rtorrent.rc
J'ai rebooté mon Serveur, regardé un peu ce qu'il se disait sur le post.

Et quand j'essaie de ré-installer les plugin, j'ai un souci avec le pausewebui.
 root@sd-31408:/var/www/rutorrent/plugins# cd /var/www/rutorrent/plugins/
root@sd-31408:/var/www/rutorrent/plugins# svn co http://rutorrent-pausewebui.googlecode.com/svn/trunk/ pausewebui
svn: Your .svn/tmp directory may be missing or corrupt; run 'svn cleanup' and try again
svn: Can't open file 'pausewebui/.svn/tmp/entries': No such file or directory
Je pense que ce n'est pas normal ?
Et voici mon /home/florian/.rtorrent.rc
scgi_port = 127.0.0.1:5001
encoding_list = UTF-8
port_range = 45000-65000
port_random = no
check_hash = no
directory = /home/florian/torrents
session = /home/florian/.session
encryption = allow_incoming, try_outgoing, enable_retry
schedule = watch_directory,1,1,"load_start=/home/florian/watch/*.torrent"
schedule = untied_directory,5,5,"stop_untied=/home/florian/watch/*.torrent"
schedule = espace_disque_insuffisant,1,30,close_low_diskspace=500M
use_udp_trackers = yes
dht = off
peer_exchange = no
min_peers = 40
max_peers = 100
min_peers_seed = 10
max_peers_seed = 50
max_uploads = 15
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php florian &}
Pour pausewebui, celui du script est peut-être pas bien standard, y'a des tripatouillage au niveau des icônes pour le thème de base...
tu le supprimes et tu relances l'install'
rm -r /var/www/rutorrent/plugins/pausewebui
cd /var/www/rutorrent/plugins/
svn co http://rutorrent-pausewebui.googlecode.com/svn/trunk/ pausewebui
Ca devrait être ok.
Ex.
est ce que le script nécessite d'avoir un utilisateur avec + de 3 lettres pour que ça marche car moi j'ai pareil ""la liste des torrents n'est pas encore disponible,la connexion a rtorrent n'a pas etait établie." et le bad réponse from server
bernad18 wrote:est ce que le script nécessite d'avoir un utilisateur avec + de 3 lettres pour que ça marche car moi j'ai pareil ""la liste des torrents n'est pas encore disponible,la connexion a rtorrent n'a pas etait établie." et le bad réponse from server
Je t'avais répondu là ce matin: http://mondedie.fr/d/5304/304
Y'a des chances que oui, c'était une condition sur l'ancien tuto pour le nom d'user, je ne sais pas si c'est encore valable par contre... Fais une nouvelle install avec un pseudo plus long, ça prend qu'une heures
Ex.
C'est ok pour le plugin, mais le problème ne vient pas de la, toujours le même défaut.

D'apres mon tail -f -n 50 /var/log/nginx/rutorrent-error.log
root@sd-31408:~# tail -f -n 50 /var/log/nginx/rutorrent-error.log
2014/08/02 19:47:49 [error] 1718#0: *20 FastCGI sent in stderr: "PHP message: PHP Warning:  fopen(/var/www/rutorrent/share/users/florian/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: MONIP, server: _, request: "POST /rutorrent/php/getsettings.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "IPSERVEUR", referrer: "https://IPSERVEUR/rutorrent/"
2014/08/02 19:48:29 [error] 1718#0: *50 open() "/var/www/seedbox-manager/public/favicon.ico" failed (2: No such file or directory), client: MONIP, server: _, request: "GET /seedbox-manager/favicon.ico HTTP/1.1", host: "IPSERVEUR"
2014/08/02 19:48:29 [error] 1718#0: *50 open() "/var/www/seedbox-manager/public/favicon.png" failed (2: No such file or directory), client: MONIP, server: _, request: "GET /seedbox-manager/favicon.png HTTP/1.1", host: "IPSERVEUR"
Il y aurait il pas un problème dans /var/www/rutorrent/php/getsettings.php sur la ligne 7 ?
<?php

require_once( 'util.php' );

$s = '{}';
$fname = getSettingsPath()."/uisettings.json";
$fo = fopen($fname, 'r');
if($fo!==false)
{
        if(flock($fo, LOCK_SH))
        {
                $s = @file_get_contents($fname);
                if($s==false)
                        $s = '{}';
                flock($fo, LOCK_UN);
        }
        fclose($fo);
}
Répondre…