• Seedbox
  • [Discussion] Installer ruTorrent sur Debian 8 (nginx & php-fpm)

Backtoback wrote:svn: E155000: URL 'http://rutorrent.googlecode.com/svn/trunk/plugins' (uuid: 'f4b6cfda-67a8-11de-ba0c-230037762ff9') doesn't match existing URL 'http://rutorrent.googlecode.com/svn/trunk/rutorrent/plugins' (uuid: 'f4b6cfda-67a8-11de-ba0c-230037762ff9') in '/var/www/rutorrent/plugins'

Quelqu'un a déjà eu cette erreur, je trouve pas grand chose sur internet
Non jamais eu ce genre d'erreur. Tu as bien supprimé le dossier plugins dans rutorrent avant d'installer tous les plugins?
Bonjour,

je ne pense pas que le problème vienne de là.
J'ai jamais rencontré cette erreur également. Après, ça serait pas mal d'indiqué la cause ainsi qu'un peu plus de détail, non ?
J'imagine qu'elle s'est produite suite à cette commande ?
svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins/
Mais auparavant quoi d'autre ?
Par détail, j'entends par exemple : il n'y a pas eu d'autres erreurs ? Pas d'interruption ? Quel était le répertoire de travail (courant) ?
Backtoback wrote:je trouve pas grand chose sur internet
Effectivement, c'est globalement pareil pour moi d'où ces questions. Cela donnera peut être une piste.
Bonjour,

J'ai suivi ce tuto à la lettre et pas de soucis, ca marche nickel avec un user.
J'ai alors voulu créer un autre user pour un pote et la, j'ai une erreur qui ressemble à celle de AYA.

La voici :
11.03.2014 09:51:53] WebUI started.
[11.03.2014 09:51:53] Bad response from server: (404 [error,list]) <html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
[11.03.2014 09:51:53] FILE MANAGER ignited

J'ai vérifié et je ne vois pas d'ou cela peut venir.

j'ai regardé les logs et je n'ai rien dans le fichier!

Auriez vous une idée?

D'avance merci.
Les logs nginx svp.
Var/log/nginx/rutorrent-error.log
le fichier de logs /var/log/nginx/rutorrent-error.log est vide!

J'ai des erreurs dans /var/log/nginx/rutorrent-error.log.1 qui datent d'hier mais ce problème est résolu vu que le fichier de log d'aujourd'hui est vide.
2014/03/10 14:43:02 [crit] 24050#0: *71066 open() "/etc/nginx/passwd/rutorrent_passwd" failed (13: Permission denied), client: 88.177.60.161, server: _, request: "GET $
2014/03/10 14:43:02 [crit] 24050#0: *71066 open() "/etc/nginx/passwd/rutorrent_passwd" failed (13: Permission denied), client: 88.177.60.161, server: _, request: "GET $
2014/03/10 14:43:02 [crit] 24050#0: *71138 open() "/etc/nginx/passwd/rutorrent_passwd" failed (13: Permission denied), client: 88.177.60.161, server: _, request: "GET $
2014/03/10 14:43:02 [crit] 24050#0: *71138 open() "/etc/nginx/passwd/rutorrent_passwd" failed (13: Permission denied), client: 88.177.60.161, server: _, request: "GET $
2014/03/10 14:43:06 [crit] 24050#0: *71141 open() "/etc/nginx/passwd/rutorrent_passwd" failed (13: Permission denied), client: 88.177.60.161, server: _, request: "GET $
2014/03/10 14:43:06 [crit] 24050#0: *71141 open() "/etc/nginx/passwd/rutorrent_passwd" failed (13: Permission denied), client: 88.177.60.161, server: _, request: "GET $
2014/03/10 14:43:11 [crit] 24050#0: *71145 open() "/etc/nginx/passwd/rutorrent_passwd" failed (13: Permission denied), client: 88.177.60.161, server: _, request: "GET $
2014/03/10 14:43:11 [crit] 24050#0: *71145 open() "/etc/nginx/passwd/rutorrent_passwd" failed (13: Permission denied), client: 88.177.60.161, server: _, request: "GET $
EDIT : J'ai trouve l'erreur était du a un numero de port qui était different pour un user dans un fichier de config.

Erreur de frappe en ce qui me concerne

Encore desole et merci pour votre aide
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é
tu peux me donner le résultat de cette commande?
cat /etc/nginx/sites-enabled/rutorrent.conf
@Magicalex
server {
    listen 80 default_server;
    listen 443 default_server ssl;
    server_name _;
    index index.html index.php;
    charset utf-8;

    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;
        return 204;
    }

    ## 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 /FRE0 {
        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_fredb";
    }

    ## fin config rutorrent ##

    ## Début config cakebox 2.8 ##

#    location ^~ /cakebox {
#       root /var/www/;
#       include /etc/nginx/conf.d/php;
#       include /etc/nginx/conf.d/cache;
#    }

#    location /cakebox/downloads {
#       root /var/www;
#       satisfy any;
#       allow all;
#    }

    ## fin config cakebox 2.8 ##

    ## début config seedbox manager ##

#    location ^~ / {
#       root /var/www/manager;
#       include /etc/nginx/conf.d/php;
#       include /etc/nginx/conf.d/cache;
#    }

#    location ^~ /conf/ {
#       root /var/www/manager;
#       deny all;
#    }

    ## fin config seedbox manager ##
}
Je sais pas trop.

vérifie bien toute les étapes.
rtorrent fonctionne?

si tu tapes rtorrent dans le terminal ça fonctionne?
oui rtorrent fonctionne.

L'erreur est intermittente. J'ai pourtant vraiment l'identique sur les deux serveurs.
comme ça c'est difficile de répondre. Faudrait que je regarde. il te manque peut-être une dépendance ou autre.
apparemment il faudrait que je remplace

"fastcgi_pass 127.0.0.1:9000" par "fastcgi_pass unix:/var/run/php5-fpm.sock;"

dans le vhost mais je ne sais pas faire.
pour la modification je l'ai faite lors de l'installation:

location ~ \.php$ {
fastcgi_index index.php;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
}
Bonjour la compagnie,

Désolé pour le temps d'attente, les vacances et la famille ça pardonne pas ><

Le temps de me remettre dans "Kitty et sa clique" et c'est reparti \o/
Magicalex wrote: que donne le résultat de cette ligne
cat /var/log/nginx/rutorrent-error.log | tail -15
Ca me donne ça, chef !
2014/03/13 06:59:13 [error] 1686#0: *8313 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "HEAD / HTTP/1.0"
2014/03/13 11:40:31 [error] 1686#0: *8315 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET / HTTP/1.1", host: "X.X.X.X"
2014/03/13 14:23:48 [error] 1686#0: *8316 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "HEAD / HTTP/1.0"
2014/03/13 14:31:27 [error] 1686#0: *8317 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET /cgi-bin/rtpd.cgi?/bin/busybox HTTP/1.0", host: "X.X.X.X"
2014/03/13 15:32:03 [error] 1686#0: *8318 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET /cgi-bin/rtpd.cgi?/bin/busybox HTTP/1.0", host: "X.X.X.X"
2014/03/13 16:44:30 [error] 1686#0: *8319 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET /rutorrent HTTP/1.1", host: "X.X.X.X"
2014/03/13 16:44:44 [error] 1686#0: *8319 user "kappanostra" was not found in "/etc/nginx/passwd/rutorrent_passwd", client: X.X.X.X, server: _, request: "GET /rutorrent HTTP/1.1", host: "X.X.X.X"
2014/03/13 19:52:40 [error] 1686#0: *10762 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET /muieblackcat HTTP/1.1", host: "X.X.X.X"
2014/03/13 19:52:40 [error] 1686#0: *10763 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET //phpMyAdmin/scripts/setup.php HTTP/1.1", host: "X.X.X.X"
2014/03/13 19:52:40 [error] 1686#0: *10764 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET //phpmyadmin/scripts/setup.php HTTP/1.1", host: "X.X.X.X"
2014/03/13 19:52:40 [error] 1686#0: *10765 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET //pma/scripts/setup.php HTTP/1.1", host: "X.X.X.X"
2014/03/13 19:52:40 [error] 1686#0: *10766 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET //myadmin/scripts/setup.php HTTP/1.1", host: "X.X.X.X"
2014/03/13 19:52:40 [error] 1686#0: *10767 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET //MyAdmin/scripts/setup.php HTTP/1.1", host: "X.X.X.X"
2014/03/13 23:13:01 [error] 1686#0: *10768 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET / HTTP/1.1", host: "X.X.X.X"
2014/03/13 23:13:01 [error] 1686#0: *10769 no user/password was provided for basic authentication, client: X.X.X.X, server: _, request: "GET /robots.txt HTTP/1.1", host: "X.X.X.X"
ex_rat wrote:J'ai des infos, Aya a choppé ses logs en sftp
Grâce à toi
ex_rat wrote: Aya, tu as changé de pseudo sur la box entre deux réinstallation ou plusieurs users?
Parce que dans le rutorrent.conf au dessus, c'est pas "kano" mais :
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_kappanostra";
Toujours avec filezilla vu que ça marche, regarde ce que tu as comme nom de fichier rutorrent_passwd_ dans :
/etc/nginx/passwd
Effectivement, quand j'ai vu que j'avais un bug au niveau de la connexion serveur, j'ai changé les identifiants en espérant arranger les choses.

Dans Filezilla mon fichier "rutorrent_passwd" s'appelle "rutorrent_passwd" ....
Du coup comme je te l'avais écrit, j'ai copié/collé ce "rutorrent_passwd" en le renommant "rutorrent_passwd_kano", ça a supprimé mon erreur et j'ai plus de problème d'identification \o/

Bon par contre ça ressemble fort à une solution pas très nette, je sais pas si c'est correct de laisser ça comme ça

Petite question subsidiaire : Qu'est-ce exactement que les "certificats d'identification" ? Qui peut les voir ? Est-ce qu'il faut donner de vraies infos ou des fausses quand il nous demande notre nom, adresse mail, etc ... ?

Merci en tout cas, vous m'avez épargné des semaines à me battre avec l'ordi

Edit: Pensez à masquer vos adresses ip, ça ne regarde personnes. Ex.
Le coup du renommage du fichier, non c'est pas très net
A mon avis, tu devrais supprimer ton rutorrent_passwd_kano et refaire ça proprement déjà :
http://mondedie.fr/d/5304/152 en remplaçant bien les <username>.
Ensuite on voit ce qui ce passe
Ex.
8 jours plus tard
Hello et merci beaucoup pour ce tutoriel.
J'ai bien réussi à créer 4 utilisateurs sans problèmes.

Maintenant c'est avec nginx que j'ai un souci.
En fait, j'aimerai pouvoir utiliser mon serveur pour d'autres choses et notamment de simples pages php. Seulement, quand je mets mon index.php à la racine de mon /var/www, j'ai une erreur 404 sur la racine de mon ndd XXX.XXX.FR alors que XXX.XXX.FR/rutorrent fonctionne parfaitement.

De plus, lorsque je souhaite accéder à la racine de l'espace web, j'ai quand même le pop-up de notification alors qu'il ne devrait apparaitre que /rutorrent non ?

Merci d'avance !
Jedediah wrote:Hello et merci beaucoup pour ce tutoriel.
J'ai bien réussi à créer 4 utilisateurs sans problèmes.

Maintenant c'est avec nginx que j'ai un souci.
En fait, j'aimerai pouvoir utiliser mon serveur pour d'autres choses et notamment de simples pages php. Seulement, quand je mets mon index.php à la racine de mon /var/www, j'ai une erreur 404 sur la racine de mon ndd XXX.XXX.FR alors que XXX.XXX.FR/rutorrent fonctionne parfaitement.

De plus, lorsque je souhaite accéder à la racine de l'espace web, j'ai quand même le pop-up de notification alors qu'il ne devrait apparaitre que /rutorrent non ?

Merci d'avance !
Ça concerne plus trop le tuto de rutorrent là.

une petite recherche sur le site http://mondedie.fr/d/5330
Bonsoir et merci pour ta réponse rapide.
Effectivement ce n'était pas forcément le bon sujet, mon sujet est résolu.

Par contre j'ai un autre souci. Pas moyen d'avoir un ruTorrent fonctionnel sur http://subdomain.xxx.xx via un proxy pass sur nginx.
J'arrive bien à faire le proxy mais une fois sur l'interface ruTorrent j'ai ça :
 Bad response from server: (404 [error,list]) <html>
 <head><title>404 Not Found</title></head>
 <body bgcolor="white">
 <center><h1>404 Not Found</h1></center>
 <hr><center>nginx</center>
 </body>
 </html>
 <!-- a padding to disable MSIE and Chrome friendly error page -->
 <!-- a padding to disable MSIE and Chrome friendly error page -->
 <!-- a padding to disable MSIE and Chrome friendly error page -->
 <!-- a padding to disable MSIE and Chrome friendly error page -->
 <!-- a padding to disable MSIE and Chrome friendly error page -->
 <!-- a padding to disable MSIE and Chrome friendly error page -->
A priori il repart sur une erreur 404 ?

J'ajoute qu'un proxy pass sur d'autres services (webmin, codiad, subsonic, munin...) fonctionne parfaitement.

Peut-être à cause du scgi et des ports spécifiques aux users qui n'apprécie pas le proxy_pass ?
Bonjour!

je suis débutant ans cet univers, j'ai essayé de suivre ton tuto mais je me suis vite trouvé bloqué au niveau du make de libtorrent
/tmp/libtorrent­0.12.2# make

make  all­recursive

make[1]: Entering directory `/tmp/libtorrent­0.12.2'

Making all in src

make[2]: Entering directory `/tmp/libtorrent­0.12.2/src'

Making all in torrent

make[3]: Entering directory `/tmp/libtorrent­0.12.2/src/torrent'

Making all in data

make[4]: Entering directory `/tmp/libtorrent­0.12.2/src/torrent/data'

/bin/sh ../../../libtool ­­tag=CXX   ­­mode=compile g++ ­DHAVE_CONFIG_H ­I. ­I../../.. ­I. ­

I./.. ­I./../.. ­I../../..    ­g ­O2 ­g ­DDEBUG ­fvisibility=hidden   ­I/usr/include/sigc++­2.0 ­

I/usr/lib/x86_64­linux­gnu/sigc++­2.0/include   ­MT block.lo ­MD ­MP ­MF .deps/block.Tpo

­c ­o block.lo block.cc

mkdir .libs

g++ ­DHAVE_CONFIG_H ­I. ­I../../.. ­I. ­I./.. ­I./../.. ­I../../.. ­g ­O2 ­g ­DDEBUG ­

fvisibility=hidden ­I/usr/include/sigc++­2.0 ­I/usr/lib/x86_64­linux­gnu/sigc++­2.0/include ­

MT block.lo ­MD ­MP ­MF .deps/block.Tpo ­c block.cc  ­fPIC ­DPIC ­o .libs/block.o

mv ­f .deps/block.Tpo .deps/block.Plo

/bin/sh ../../../libtool ­­tag=CXX   ­­mode=compile g++ ­DHAVE_CONFIG_H ­I. ­I../../.. ­I. ­

I./.. ­I./../.. ­I../../..    ­g ­O2 ­g ­DDEBUG ­fvisibility=hidden   ­I/usr/include/sigc++­2.0 ­

I/usr/lib/x86_64­linux­gnu/sigc++­2.0/include   ­MT block_list.lo ­MD ­MP ­MF

.deps/block_list.Tpo ­c ­o block_list.lo block_list.cc

g++ ­DHAVE_CONFIG_H ­I. ­I../../.. ­I. ­I./.. ­I./../.. ­I../../.. ­g ­O2 ­g ­DDEBUG ­

fvisibility=hidden ­I/usr/include/sigc++­2.0 ­I/usr/lib/x86_64­linux­gnu/sigc++­2.0/include ­

MT block_list.lo ­MD ­MP ­MF .deps/block_list.Tpo ­c block_list.cc  ­fPIC ­DPIC ­o

.libs/block_list.o

mv ­f .deps/block_list.Tpo .deps/block_list.Plo

/bin/sh ../../../libtool ­­tag=CXX   ­­mode=compile g++ ­DHAVE_CONFIG_H ­I. ­I../../.. ­I. ­

I./.. ­I./../.. ­I../../..    ­g ­O2 ­g ­DDEBUG ­fvisibility=hidden   ­I/usr/include/sigc++­2.0 ­

I/usr/lib/x86_64­linux­gnu/sigc++­2.0/include   ­MT file.lo ­MD ­MP ­MF .deps/file.Tpo ­c ­o

file.lo file.cc

g++ ­DHAVE_CONFIG_H ­I. ­I../../.. ­I. ­I./.. ­I./../.. ­I../../.. ­g ­O2 ­g ­DDEBUG ­

fvisibility=hidden ­I/usr/include/sigc++­2.0 ­I/usr/lib/x86_64­linux­gnu/sigc++­2.0/include ­

MT file.lo ­MD ­MP ­MF .deps/file.Tpo ­c file.cc  ­fPIC ­DPIC ­o .libs/file.o

mv ­f .deps/file.Tpo .deps/file.Plo

/bin/sh ../../../libtool ­­tag=CXX   ­­mode=compile g++ ­DHAVE_CONFIG_H ­I. ­I../../.. ­I. ­

I./.. ­I./../.. ­I../../..    ­g ­O2 ­g ­DDEBUG ­fvisibility=hidden   ­I/usr/include/sigc++­2.0 ­

I/usr/lib/x86_64­linux­gnu/sigc++­2.0/include   ­MT file_list.lo ­MD ­MP ­MF

.deps/file_list.Tpo ­c ­o file_list.lo file_list.cc

g++ ­DHAVE_CONFIG_H ­I. ­I../../.. ­I. ­I./.. ­I./../.. ­I../../.. ­g ­O2 ­g ­DDEBUG ­

fvisibility=hidden ­I/usr/include/sigc++­2.0 ­I/usr/lib/x86_64­linux­gnu/sigc++­2.0/include ­

MT file_list.lo ­MD ­MP ­MF .deps/file_list.Tpo ­c file_list.cc  ­fPIC ­DPIC ­o .libs/file_list.o

mv ­f .deps/file_list.Tpo .deps/file_list.Plo

/bin/sh ../../../libtool ­­tag=CXX   ­­mode=compile g++ ­DHAVE_CONFIG_H ­I. ­I../../.. ­I. ­

I./.. ­I./../.. ­I../../..    ­g ­O2 ­g ­DDEBUG ­fvisibility=hidden   ­I/usr/include/sigc++­2.0 ­

I/usr/lib/x86_64­linux­gnu/sigc++­2.0/include   ­MT file_list_iterator.lo ­MD ­MP ­MF

.deps/file_list_iterator.Tpo ­c ­o file_list_iterator.lo file_list_iterator.cc

g++ ­DHAVE_CONFIG_H ­I. ­I../../.. ­I. ­I./.. ­I./../.. ­I../../.. ­g ­O2 ­g ­DDEBUG ­

fvisibility=hidden ­I/usr/include/sigc++­2.0 ­I/usr/lib/x86_64­linux­gnu/sigc++­2.0/include ­

MT file_list_iterator.lo ­MD ­MP ­MF .deps/file_list_iterator.Tpo ­c file_list_iterator.cc  ­

fPIC ­DPIC ­o .libs/file_list_iterator.o

In file included from file_list_iterator.cc:42:0:

file_list_iterator.h: In member function 'uint32_t torrent::FileListIterator::depth() const':

file_list_iterator.h:64:52: error: 'abs' is not a member of 'std'

make[4]: *** [file_list_iterator.lo] Error 1

make[4]: Leaving directory `/tmp/libtorrent­0.12.2/src/torrent/data'

make[3]: *** [all­recursive] Error 1

make[3]: Leaving directory `/tmp/libtorrent­0.12.2/src/torrent'

make[2]: *** [all­recursive] Error 1

make[2]: Leaving directory `/tmp/libtorrent­0.12.2/src'

make[1]: *** [all­recursive] Error 1

make[1]: Leaving directory `/tmp/libtorrent­0.12.2'

make: *** [all] Error 2

Savez vous d'où ça peut venir ?
l'installe de xmlrpc se déroule bien ensuite par contre celle de rtorrent ne peut aboutir.

Merci !
après ./configure tu as un message d'erreur?
Merci pour la réponse rapide

je ne pense pas avoir d'erreur pour le ./configure
/tmp/libtorrent­0.12.2# ./configure

checking for a BSD­compatible install... /usr/bin/install ­c

checking whether build environment is sane... yes

checking for a thread­safe mkdir ­p... /bin/mkdir ­p

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking build system type... x86_64­unknown­linux­gnu

checking host system type... x86_64­unknown­linux­gnu

checking for style of include used by make... GNU

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts ­g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking for a sed that does not truncate output... /bin/sed

checking for grep that handles long lines and ­e... /bin/grep

checking for egrep... /bin/grep ­E

checking for ld used by gcc... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for /usr/bin/ld option to reload object files... ­r

checking for BSD­compatible nm... /usr/bin/nm ­B

checking whether ln ­s works... yes

checking how to recognize dependent libraries... pass_all

checking how to run the C preprocessor... gcc ­E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking dlfcn.h usability... yes

checking dlfcn.h presence... yes

checking for dlfcn.h... yes

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts ­g... yes

checking dependency style of g++... gcc3

checking how to run the C++ preprocessor... g++ ­E

checking for g77... no

checking for xlf... no

checking for f77... no

checking for frt... no

checking for pgf77... no

checking for cf77... no

checking for fort77... no

checking for fl32... no

checking for af77... no

checking for xlf90... no

checking for f90... no

checking for pgf90... no

checking for pghpf... no

checking for epcf90... no

checking for gfortran... no

checking for g95... no

checking for xlf95... no

checking for f95... no

checking for fort... no

checking for ifort... no

checking for ifc... no

checking for efc... no

checking for pgf95... no

checking for lf95... no

checking for ftn... no

checking whether we are using the GNU Fortran 77 compiler... no

checking whether  accepts ­g... no

checking the maximum length of command line arguments... 1572864

checking command to parse /usr/bin/nm ­B output from gcc object... ok

checking for objdir... .libs

checking for ar... ar

checking for ranlib... ranlib

checking for strip... strip

checking if gcc supports ­fno­rtti ­fno­exceptions... no

checking for gcc option to produce PIC... ­fPIC

checking if gcc PIC flag ­fPIC works... yes

checking if gcc static flag ­static works... yes

checking if gcc supports ­c ­o file.o... yes

checking whether the gcc linker (/usr/bin/ld ­m elf_x86_64) supports shared libraries... yes

checking whether ­lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

configure: creating libtool

appending configuration tag "CXX" to libtool

checking for ld used by g++... /usr/bin/ld ­m elf_x86_64

checking if the linker (/usr/bin/ld ­m elf_x86_64) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld ­m elf_x86_64) supports shared libraries...

yes

checking for g++ option to produce PIC... ­fPIC

checking if g++ PIC flag ­fPIC works... yes

checking if g++ static flag ­static works... yes

checking if g++ supports ­c ­o file.o... yes

checking whether the g++ linker (/usr/bin/ld ­m elf_x86_64) supports shared libraries...

yes

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

appending configuration tag "F77" to libtool

checking whether we are using the GNU C++ compiler... (cached) yes

checking whether g++ accepts ­g... (cached) yes

checking dependency style of g++... (cached) gcc3

checking whether byte ordering is bigendian... no

checking the byte alignment... none needed

checking for user­defined CXXFLAGS... user­defined "­g ­O2"

checking for TR1 support... yes

checking for special C compiler options needed for large files... no

checking for _FILE_OFFSET_BITS value needed for large files... no

checking for epoll support... yes

checking for long... yes

checking size of long... 8

checking sys/vfs.h usability... yes

checking sys/vfs.h presence... yes

checking for sys/vfs.h... yes

checking sys/statvfs.h usability... yes

checking sys/statvfs.h presence... yes

checking for sys/statvfs.h... yes

checking sys/statfs.h usability... yes

checking sys/statfs.h presence... yes

checking for sys/statfs.h... yes

checking for statvfs... ok

checking if compiler supports __attribute__((visibility("default")))... yes

checking for pkg­config... /usr/bin/pkg­config

checking pkg­config is at least version 0.9.0... yes

checking for OPENSSL... yes

checking for STUFF... yes

checking for madvise... yes

checking signedness of mincore parameter... unsigned

checking for proper overloaded template function disambiguation... yes

checking if compiler supports __attribute__((unused))... yes

configure: creating ./config.status

config.status: creating libtorrent.pc

config.status: creating Makefile

config.status: creating src/Makefile

config.status: creating src/torrent/Makefile

config.status: creating src/torrent/peer/Makefile

config.status: creating src/torrent/data/Makefile

config.status: creating src/data/Makefile

config.status: creating src/dht/Makefile

config.status: creating src/download/Makefile

config.status: creating src/net/Makefile

config.status: creating src/protocol/Makefile

config.status: creating src/tracker/Makefile

config.status: creating src/utils/Makefile

config.status: creating config.h

config.status: executing depfiles commands
Merci.
Bonjour à tous,

J'ai un petit soucis lors à la suite de l'install. Quand je veux relancer nginx j'ai :
root@Serveur:~# service nginx restart
[....] Restarting nginx: nginxnginx: [emerg] unknown directive "serveur1" in /etc/nginx/sites-enabled/cakebox.conf:3
nginx: configuration file /etc/nginx/nginx.conf test failed
Dans nom du serveur je dois mettre quoi ? hostname, adresse IP, nom de mon serveur chez mon hébergeur ?

Merci d'avance
Salut
Pour Cakebox d'après le tuto, il faut obligatoirement avoir un nom de domaine perso pour pouvoir créer au préalable un sous-domaine cakebox.toto.com
server_name cakebox.domaine.fr; ## sous domaine obligatoire
Ex.
J'ai le nom de domaine mais par contre il n'est pas rooter sur mon serveur et j'ai pas compris non plus comment on faisait pour le rooter ....
On en a parlé sur un autre topic y'a pas longtemps
http://mondedie.fr/d/5342
Je sais pas où est ton nom de domaine mais en gros c'est pareil partout.
dans ton manager tu dois avoir un truc appelé +/- "Zone DNS"
La dedans tu vas créer une entrée => "Type A"
ton-domaine.com => IP_Serveur
et pareil pour l'autre
cakebox.ton-domaine.com => IP_Serveur

Après faut attendre 24h pour être sur de la propagation DNS donc efface le fichier cakebox.conf, tu le referas après tout ça (et restart nginx pour avoir accès à ta box en attendant)
Ex.
Edit: chez ovh, ça ressemble à ça: http://www.ratbox.nl/md/ovh.png
Alors mon nom de domaine est hébergé chez gandi et voici la manip que j'ai faite :




Vu que j'y connais pas grand chose, ça semble être correcte ?

Gaume.
seedbox => http// c'est me parait moyen ça
Je connais pas l'interface Gandi

Tentes plutôt de faire que des "Type A"
domaine.com => IP serveur (pour pouvoir personnaliser le reverse-dns du serveur après )
seedbox.domaine.com => IP Serveur
cakebox.domaine.com => IP Serveur

Si tu veux tu peux me montrer tes captures d'écran non flouté en mp après, histoire que je vois mieux le bricolage
Ex.
J'ai refait une install propre tout à bien roulé
Bonjour

Je viens de suivre le tuto, tout s'est parfaitement déroulé, sauf pour mediainfo, quand je check un fichier voilà l'erreur :
mediainfo: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/libmediainfo.so.0)
Je ne sais pas d'où ça peut venir

Le serveur était neuf, Debian 7 64 bits
Bonjour j'ai 1 bug
filemanager: Le plug-in ne fonctionnera pas. Le serveur web ne peut pas accéder au(x) programme(s) externe(s). (unzip).
unzip deja installer
config.php configurer
et l’erreur est toujours présent

voila ma configuration
<?php
$topDirectory = '/home/debi';
$scgi_port = 5001;
$scgi_host = '127.0.0.1';
$XMLRPCMountPoint = '/DEB0';
$topDirectory = '/home/debi/torrents';
$pathToExternals = array(
                "php"  => '/usr/bin/php',                       // Something like /usr/bin/php. If empty, will be found in PATH.
                "curl" => '/usr/bin/curl',                      // Something like /usr/bin/curl. If empty, will be found in PATH.
                "gzip" => '/bin/gzip',                  // Something like /usr/bin/gzip. If empty, will be found in PATH.
                "id"   => '/usr/bin/id',                        // Something like /usr/bin/id. If empty, will be found in PATH.
                "stat" => '/usr/bin/stat',                      // Something like /usr/bin/stat. If empty, will be found in PATH.
                "bzip2" => '/bin/bzip2',
                "unzip" => '/usr/bin/unzip'
        );
?>
merci d'avance
Dans le tuto c'est très bien expliqué, la config du plugin filemanager se fait dans le fichier config du filemanager
Je suis a la recherche des lumières d'un pro de cakebox car je sèche sur mon problème.

Je m'explique, tout ce passe parfaitement bien jusqu'a ce que j'arrive sur la fin du tuto et que je lance la commande :
service nginx restart
J'ai ce joli message qui s'affiche :
root@Serveur:/var/www/cakebox# service nginx restart
[....] Restarting nginx: nginxnginx: [emerg] unknown directive "gaume" in /etc/nginx/sites-enabled/cakebox.conf:3
nginx: configuration file /etc/nginx/nginx.conf test failed
Et voici mon fichier config :
server {
    listen 80;
    serveur cakebox.#########.me; ## sous domaine obligatoire

    root /var/www/cakebox/public;
    index index.php;

    auth_basic "seedbox";
    auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";

    charset utf-8;
    include /etc/nginx/conf.d/cache;

    access_log /var/log/nginx/cakebox-access.log;
    error_log /var/log/nginx/cakebox-error.log;

    location = / {
        try_files @site @site;
    }

    location / {
        try_files $uri $uri/ @site;
    }

    location /*monuser*/ {
        alias /home/*monuser*/torrents/;
        add_header Content-Disposition "attachment";
        satisfy any;
        allow all;
    }

    ## etc si d'autre utilisateur ##

    location @site {
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root/index.php;
        fastcgi_param APPLICATION_ENV production;

        ## uncomment when running via https
        ## fastcgi_param HTTPS on;
    }
}

Comment faire pour que ça marche ??

Merci d'avance
@Magicalex c'est possible de faire un demon multi utilisateur ? ou sais vraiment 1 demon par utilisateur
D'après l'erreur c'est une erreur sur la ligne 3 soit server cakebox.ndd.tld car c'est server_name cakebox.ndd.tld
genmaster wrote:@Magicalex c'est possible de faire un demon multi utilisateur ? ou sais vraiment 1 demon par utilisateur
non rtorrent ne sait pas faire ça.
hydrog3n wrote:D'après l'erreur c'est une erreur sur la ligne 3 soit server cakebox.ndd.tld car c'est server_name cakebox.ndd.tld
c'est bien là qu'est tout le problème (je viens de retester), peut un porte le nom que je mets j'ai toujours cette erreur O_o . J'ai essayé le nom de chez sys, mon hostname, mon nom d'utilasateur, pas de nom du tout (serveur_name) et j'ai toujours le même problème .....
Grâce à Ex tout fonctionne ce coup là.

Un grand merci
Bonjour,

Merci pour le tuto, j'ai il me semble bien suivi toutes les instructions, lorsque je vais sur rutorrent j'ai une erreur 403 dans les logs.
Après avoir fait un :
cat /var/log/nginx/rutorrent-error.log | tail -15
J'obtiens ceci :
2014/03/29 07:40:26 [error] 8331#0: *331 FastCGI sent in stderr: "PHP message: PHP Warning:  strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/rutorrent/php/util.php on line 452" while reading response header from upstream, client: XX.XX.XX.XX, server: _, request: "POST /rutorrent/plugins/chat/action.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "XX.XX.XX.XX", referrer: "http://XX.XX.XX.XX/rutorrent/"
Il me parle d'un date.timezone à la ligne 452, mais il n'y rien de ce type dans le fichier qu'il pointe (/var/www/rutorrent/php/util.php).

Donc voilà, si quelqu'un peut m'aider à résoudre mon problème, ça serait sympa

Merci d'avance
Salut
Ça viendrait pas d'un loupé de cette partie du tuto ?
Je crois que c'est le seul truc qui parle de time_zone, donc à vérifier
=======================================

modification du php.ini ( correction de la date, et suppression de X-Powered-By dans l'entête http)
nano /etc/php5/fpm/php.ini
trouver les lignes suivante et remplacer par les bonnes valeurs
expose_php = Off
upload_max_filesize = 10M
date.timezone = Europe/Paris
et on redémarre php-fpm
service php5-fpm restart
=========================================
Ex.