Bonsoir,
Pour une raison que je comprends pas, Rtorrent a terminé un Torrent puis il a pété les plombs.
Mon interface Web m'affiche ça :
Général
autodl-irssi
Journal
[13.11.2011 05:06:13] WebUI started.
[13.11.2011 05:06:13] 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.
J'ai donc comme d'habitude fait ce que Nico m'a appris c'est à dire effacer le fichier socket et le fichier .lock
Sauf que cette fois ci, j'obtiens toujours la même chose.
Quelqu'un m'a dit de faire ça "rtorrent -n -o import=~/.rtorrent.rc"
A ce moment là Rtorrent démarre sinon il me dit
"Could not read resource file: ~/.rtorrent.rc"
Donc je suis en panne, je ne sais pas quoi faire...
Les solutions habituelles ne marchent pas et surtout POURQUOI maintenant ? J'ai rien fait je l'utilise normalement c'est tout.
La seule chose que jpuis dire c'est que Linux ya quelques jours il a voulu se mettre à jour, donc je l'ai fait et j'avais pas encore rebooté, c'était pas nécessaire.
.rtorrent.rc
execute = {sh,-c,rm -f /home/chtipowa/rtorrent/session/rpc.socket}
scgi_local = /home/chtipowa/rtorrent/session/rpc.socket
execute = {sh,-c,chmod 0666 /home/chtipowa/rtorrent/session/rpc.socket}
encoding_list = UTF-8
system.umask.set = 022
port_range = 23877-23877
port_random = no
check_hash = no
directory = /home/chtipowa/Torrents
session = /home/chtipowa/rtorrent/session
encryption = allow_incoming, try_outgoing, enable_retry
schedule = watch_directory,1,1,"load_start=/home/chtipowa/rtorrent/watch/*.torrent"
#schedule = untied_directory,5,5,"stop_untied=/home/chtipowa/rtorrent/watch/*.torrent"
trackers.enable = 1
#min_peers = 40
#max_peers = 100
#min_peers_seed = 10
#max_peers_seed = 50
#max_uploads = 15
#download_rate = 0
#upload_rate = 0
use_udp_trackers = yes
dht = off
dht_port = 6881
peer_exchange = yes
#hash_read_ahead = 10
#hash_interval = 100
#hash_max_tries = 10
execute = {sh,-c,/usr/bin/php /var/rutorrent/rutorrent/php/initplugins.php chtipowa &}
config.php
<?php
// configuration parameters
// for snoopy client
@define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9) Gecko/2008052906 Firefox/3.0'$
@define('HTTP_TIME_OUT', 30, true); // in seconds
@define('HTTP_USE_GZIP', true, true);
@define('RPC_TIME_OUT', 5, true); // in seconds
@define('LOG_RPC_CALLS', false, true);
@define('LOG_RPC_FAULTS', true, true);
// for php
@define('PHP_USE_GZIP', false, true);
@define('PHP_GZIP_LEVEL', 2, true);
$do_diagnostic = true;
$log_file = '/tmp/errors.log'; // path to log file (comment or make empty to disable logging)
$saveUploadedTorrents = true; // Save uploaded torrents into profile/torrents directory or not
$overwriteUploadedTorrents = false; // Overwrite existing uploaded torrents into profile/torrents director$
$topDirectory = '/home/chtipowa/Torrents'; // Upper available directory. Absolute path wi$
$forbidUserSettings = false;
$scgi_port = 5000;
$scgi_host = "127.0.0.1";
// For web->rtorrent link through unix domain socket
// (scgi_local in rtorrent conf file), change variables
// above to something like this:
//
// $scgi_port = 0;
// $scgi_host = "unix:///tmp/rpc.socket";
$XMLRPCMountPoint = "/RPC2"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
$pathToExternals = array(
"php" => '', // Something like /usr/bin/php. If empty, will be found in PATH.
$overwriteUploadedTorrents = false; // Overwrite existing uploaded torrents into profile/torrents director$
$topDirectory = '/home/chtipowa/Torrents'; // Upper available directory. Absolute path wi$
$forbidUserSettings = false;
$scgi_port = 5000;
$scgi_host = "127.0.0.1";
// For web->rtorrent link through unix domain socket
// (scgi_local in rtorrent conf file), change variables
// above to something like this:
//
// $scgi_port = 0;
// $scgi_host = "unix:///tmp/rpc.socket";
$XMLRPCMountPoint = "/RPC2"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
$pathToExternals = array(
"php" => '', // Something like /usr/bin/php. If empty, will be found in PATH.
"curl" => '', // Something like /usr/bin/curl. If empty, will be found in PATH.
"gzip" => '', // Something like /usr/bin/gzip. If empty, will be found in PATH.
"id" => '', // Something like /usr/bin/id. If empty, will be found in PATH.
"stat" => '', // Something like /usr/bin/stat. If empty, will be found in PATH.
);
$localhosts = array( // list of local interfaces
"127.0.0.1",
"localhost",
);
$profilePath = '../share'; // Path to users profiles
$profileMask = 0777; // Mask for files and directory creation in users profiles.
// Both web-server and rtorrent users must have read-write access to i$
// For example, if web-server and rtorrent users are in some group the$
?>
-rwxrwxrwx 1 root root 972 2011-11-13 04:50 .rtorrent.rc
Merci je désespère, j'espère ne pas devoir reformater Linux une énième fois...
Cette installation avait été faite avec l'installation automatique dû au reformatage de Linux pour cause de problèmes avec Ubuntu.