le rapport
### Rapport pour ruTorrent généré le 07-01-2016 à 12:41 ###
Utilisateur ruTorrent => lolufe
Kernel : 3.14.32-xxxx-grs-ipv6-64
...................................
## Utilisateur ##
...................................
--> Utilisateur lolufe existant
...................................
## Test rTorrent & sgci ##
...................................
rTorrent down
Aucun programme n'écoute sur le port 5001
Bon port SCGI renseigné dans le fichier config.php
Les ports nginx et celui indiqué correspondent
...................................
## rTorrent Activity ##
...................................
...................................
## .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/lolufe/torrents
session = /home/lolufe/.session
encryption = allow_incoming, try_outgoing, enable_retry
schedule = watch_directory,1,1,"load_start=/home/lolufe/watch/*.torrent"
schedule = untied_directory,5,5,"stop_untied=/home/lolufe/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 lolufe &}
echo "system.method.set_key = event.download.finished,update_file,\"execute=/home/lolufe/.session/file_torrent.sh\"" >> /home/lolufe/.rtorrent.rc
...................................
## nGinx.Logs ##
...................................
##### ----------- File : /var/log/nginx/rutorrent-error.log -----------------------------------------------------------------------------------------------------------------------------
2016/01/07 06:59:37 [error] 2247#2247: *2500 open() "/var/www/base/script" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /script HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 06:59:40 [error] 2247#2247: *2502 open() "/var/www/base/jenkins/script" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /jenkins/script HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 06:59:43 [error] 2247#2247: *2504 open() "/var/www/base/hudson/script" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /hudson/script HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 06:59:46 [error] 2247#2247: *2506 open() "/var/www/base/login" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /login HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 06:59:47 [error] 2247#2247: *2507 open() "/var/www/base/jenkins/login" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /jenkins/login HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 06:59:50 [error] 2247#2247: *2508 open() "/var/www/base/hudson/login" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /hudson/login HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 06:59:51 [error] 2247#2247: *2509 open() "/var/www/base/manager/html" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /manager/html HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 07:30:53 [error] 2247#2247: *2510 open() "/var/www/base/robots.txt" failed (2: No such file or directory), client: 64.79.100.34, server: _, request: "GET /robots.txt HTTP/1.1", host: "www.devpresta.ovh", referrer: "http://www.devpresta.ovh/robots.txt"
2016/01/07 09:07:10 [error] 2249#2249: *2518 open() "/var/www/base/status" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /status?full=true HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:10 [error] 2249#2249: *2520 open() "/var/www/base/jmx-console" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /jmx-console HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:10 [error] 2249#2249: *2521 open() "/var/www/base/manager/html" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /manager/html HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:10 [error] 2249#2249: *2523 open() "/var/www/base/administrator" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET //administrator HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:13 [error] 2249#2249: *2525 open() "/var/www/base/joomla/administrator" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /joomla/administrator HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:13 [error] 2249#2249: *2526 open() "/var/www/base/cms/administrator" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /cms/administrator HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:13 [error] 2249#2249: *2527 open() "/var/www/base/Joomla/administrator" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /Joomla/administrator HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:13 [error] 2249#2249: *2528 open() "/var/www/base/msd" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /msd HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:13 [error] 2249#2249: *2529 open() "/var/www/base/mySqlDumper" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /mySqlDumper HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:13 [error] 2249#2249: *2530 open() "/var/www/base/msd1.24stable" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /msd1.24stable HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:13 [error] 2249#2249: *2531 open() "/var/www/base/msd1.24.4" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /msd1.24.4 HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:13 [error] 2249#2249: *2532 open() "/var/www/base/mysqldumper" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /mysqldumper HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 09:07:14 [error] 2249#2249: *2533 open() "/var/www/base/MySQLDumper" failed (2: No such file or directory), client: 91.121.18.214, server: _, request: "GET /MySQLDumper HTTP/1.1", host: "37.59.62.191:80"
2016/01/07 11:08:43 [error] 2247#2247: *2573 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 188.68.224.62, server: _, request: "GET http://dhg.pisz.pl/httptest.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "dhg.pisz.pl"
2016/01/07 11:44:55 [error] 2247#2247: *2621 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 188.68.224.62, server: _, request: "GET http://dhg.pisz.pl/httptest.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "dhg.pisz.pl"
2016/01/07 12:26:23 [error] 2247#2247: *2626 open() "/var/www/rutorrent/plugins/theme/themes/SpiritOfBonobo/images/blank.gif" failed (2: No such file or directory), client: 88.171.209.80, server: _, request: "GET /rutorrent/plugins/theme/themes/SpiritOfBonobo/images/blank.gif HTTP/1.1", host: "devpresta.ovh", referrer: "http://devpresta.ovh/rutorrent/"
...................................
## nGinx.Conf ##
...................................
##### ----------- File : /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;
}
...................................
## ruTorrent.Conf.nGinx ##
...................................
##### ----------- File : /etc/nginx/sites-enabled/rutorrent.conf -----------------------------------------------------------------------------------------------------------------------------
server {
listen 80 default_server;
listen 443 default_server ssl http2;
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;
include /etc/nginx/conf.d/ciphers.conf;
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;
}
## debut config cakebox-light ##
location /cakebox/ {
rewrite ^/cakebox(/.*)$ $1 break;
proxy_pass http://127.0.0.1:81;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
}
location /cakebox/<username1>/ {
alias /home/<username1>/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
location /cakebox/<username2>/ {
alias /home/<user2>/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
## etc si d'autre utilisateur ##
## fin config cakebox-light ##
## début config accueil serveur ##
location ^~ / {
root /var/www/base;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
satisfy any;
allow all;
}
## fin config accueil serveur ##
## début config proxy ##
location ^~ /proxy {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config proxy ##
## début config rutorrent ##
location ^~ /rutorrent {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
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.conf;
include /etc/nginx/conf.d/cache.conf;
}
location ^~ /graph/img {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
error_log /dev/null crit;
}
location ^~ /monitoring {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config munin ##
## début config seedbox-manager ##
location ^~ /seedbox-manager {
alias /var/www/seedbox-manager/public;
include /etc/nginx/conf.d/php-manager.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config seedbox-manager ##
## config utilisateurs ##
location /LOLUFE {
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_lolufe";
}
}
...................................
## ruTorrent.Config.Php ##
...................................
##### ----------- File : /var/www/rutorrent/conf/config.php -----------------------------------------------------------------------------------------------------------------------------
<?php
// configuration parameters
// for snoopy client
@define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0', true);
@define('HTTP_TIME_OUT', 30, true); // in seconds
@define('HTTP_USE_GZIP', true, true);
$httpIP = null; // IP string. Or null for any.
@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);
$schedule_rand = 10; // rand for schedulers start, +0..X seconds
$do_diagnostic = true;
$log_file = '/tmp/errors.log'; // path to log file (comment or leave blank to disable logging)
$saveUploadedTorrents = true; // Save uploaded torrents to profile/torrents directory or not
$overwriteUploadedTorrents = false; // Overwrite existing uploaded torrents in profile/torrents directory or make unique name
$topDirectory = '/'; // Upper available directory. Absolute path with trail slash.
$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 user profiles
$profileMask = 0777; // Mask for files and directory creation in user profiles.
// Both Webserver and rtorrent users must have read-write access to it.
// For example, if Webserver and rtorrent users are in the same group then the value may be 0770.
$tempDirectory = null; // Temp directory. Absolute path with trail slash. If null, then autodetect will be used.
$canUseXSendFile = true; // Use X-Sendfile feature if it exist
$locale = "UTF8";
...................................
## ruTorrent Conf Perso (config) ##
...................................
<?php
$pathToExternals = array(
"curl" => '/usr/bin/curl',
"stat" => '/usr/bin/stat',
);
$topDirectory = '/home/lolufe';
$scgi_port = 5001;
$scgi_host = '127.0.0.1';
$XMLRPCMountPoint = '/LOLUFE';
...................................
## Cakebox.Conf.nGinx ##
...................................
##### ----------- File : /etc/nginx/sites-enabled/cakebox.conf -----------------------------------------------------------------------------------------------------------------------------
server {
listen 81;
server_name _;
root /var/www/cakebox/public;
index index.php;
allow 127.0.0.1; # only the proxy
deny all;
charset utf-8;
include /etc/nginx/conf.d/cache.conf;
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 ~ \.php$ {
return 404;
}
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;
}
}
...................................
## Cakebox.Config.Php ##
...................................
##### ----------- File : /var/www/cakebox/config/lolufe.php -----------------------------------------------------------------------------------------------------------------------------
<?php
/*
General configuration of Cakebox
*/
$app["cakebox.root"] = "/home/lolufe/torrents/"; // Root directory Cakebox have to scan
$app["cakebox.access"] = "/cakebox/lolufe/"; // Alias used in web server for direct access
$app["cakebox.language"] = "fr"; //Language of Cakebox. Could be : fr, en
/*
Directory settings
*/
$app["directory.ignoreDotFiles"] = false;
$app["directory.ignore"] = "//"; // Regex for files exclusion. For exemple : "/(\.nfo|\.test)$/"
/*
Web player settings
*/
$app["player.default_type"] = "html5"; // html5 or divx or vlc
$app["player.auto_play"] = "false";
/*
Betaseries account
NB: Ask API key here http://www.betaseries.com/api/
*/
$app["bs.login"] = "";
$app["bs.passwd"] = "";
$app["bs.apikey"] = "";
$app["rights.canPlayMedia"] = true;
$app["rights.canDownloadFile"] = true;
$app["rights.canArchiveDirectory"] = true;
$app["rights.canDelete"] = true;