Bonsoir,
Ayant eu quelques soucis dernièrement, tout est redevenu normal sauf rutorrent. Après un reboot plus de ping. Résolu grâce à iptables -F. Je ne sais pas trop si cela a de l'importance mais je le signale quand même.
Il va de soi que j'ai vérifié chaque fichier et que j'ai cherché
une solution
Voici le fameux message d'erreur:
Lien incorrect avec rTorrent. Vérifier qu'il est bien en cours d'exécution. Vérifier la configuration de $scgi_port et de $scgi_host dans config.php et scgi_port dans le fichier de configuration de rTorrent.
Et je pense bien que l'interface tire une drôle de tête aussi:
Voici les log
2015/08/26 01:23:47 [error] 24670#0: *18 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected 'x' (T_STRING) in /var/www/rutorrent/conf/users/xxxx/config.php on line 5" while reading response header from upst$
2015/08/26 01:23:48 [error] 24670#0: *6 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected 'x' (T_STRING) in /var/www/rutorrent/conf/users/xxxx/config.php on line 5" while reading response header from upstr$
2015/08/26 01:23:58 [error] 24670#0: *18 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected 'x' (T_STRING) in /var/www/rutorrent/conf/users/xxxx/config.php on line 5" while reading response header from upst$
2015/08/26 01:23:58 [error] 24670#0: *6 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected 'x' (T_STRING) in /var/www/rutorrent/conf/users/xxxx/config.php on line 5" while reading response header from upstr$
2015/08/26 01:24:08 [error] 24670#0: *6 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected 'x' (T_STRING) in /var/www/rutorrent/conf/users/xxxx/config.php on line 5" while reading response header from upstr$
2015/08/26 01:24:09 [error] 24670#0: *18 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected 'x' (T_STRING) in /var/www/rutorrent/conf/users/xxxx/config.php on line 5" while reading response header from upst$
2015/08/26 01:24:18 [error] 24670#0: *6 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected 'x' (T_STRING) in /var/www/rutorrent/conf/users/xxxx/config.php on line 5" while reading response header from upstr$
config.php:
<?php
$pathToExternals['curl'] = '/usr/bin/curl';
$topDirectory = '/home/xxxx';
$scgi_port = 5001;
$scgi_host = '127.0.0.1';
$XMLRPCMountPoint = '/XXXX';
.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/xxxx/torrents
session = /home/xxxx/.session
encryption = allow_incoming, try_outgoing, enable_retry
schedule = watch_directory,1,1,"load_start=/home/tjmm/watch/*.torrent"
schedule = untied_directory,5,5,"stop_untied=/home/tjmm/watch/*.torrent"
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 tjmm &}
schedule = espace_disque_insuffisant,1,30,close_low_diskspace=500M
system.method.set_key = event.download.finished,update_file,"execute=/home/tjmm/.session/file_torrent.sh"
system.method.set_key = event.download.finished,update_file,"execute=/home/tjmm/.session/file_torrent.sh"
system.method.set_key = event.download.finished,update_file,"execute=/home/tjmm/.session/file_torrent.sh"
system.method.set_key = event.download.finished,update_file,"execute=/home/tjmm/.session/file_torrent.sh"
system.method.set_key = event.download.finished,update_file,"execute=/home/tjmm/.session/file_torrent.sh"
Merci d'avance pour vos conseils et/ou solution!
Zarev