Temat: rtorrent + luci-app-rtorrent

Witam

Prosba o pomoc w odpaleniu rtorrenta na CC . Posiłkowalem sie tym poradnikiem http://eko.one.pl/forum/viewtopic.php?id=5243 + dodałem opcje w GUI. Jednak wywala mi poniższy błąd

/usr/lib/lua/luci/dispatcher.lua:360: Failed to execute cbi dispatcher target for entry '/admin/rtorrent/admin'.
The called action terminated with an exception:
/usr/lib/lua/rtorrent.lua:48:

Failed to connect to rtorrent: rpc port not reachable!
Possible reasons:
- not the rpc version of rtorrent is installed
- scgi port is not defined in .rtorrent.rc (scgi_port = 127.0.0.1:5000)
- rtorrent is not running (ps | grep rtorrent)

stack traceback:
    [C]: in function 'assert'
    /usr/lib/lua/luci/dispatcher.lua:360: in function 'dispatch'
    /usr/lib/lua/luci/dispatcher.lua:135: in function </usr/lib/lua/luci/dispatcher.lua:134>

2

Odp: rtorrent + luci-app-rtorrent

Possible reasons:
- not the rpc version of rtorrent is installed
- scgi port is not defined in .rtorrent.rc (scgi_port = 127.0.0.1:5000)
- rtorrent is not running (ps | grep rtorrent)

Napisał co masz sprawdzić.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: rtorrent + luci-app-rtorrent

Cezary napisał/a:

Possible reasons:
- not the rpc version of rtorrent is installed
- scgi port is not defined in .rtorrent.rc (scgi_port = 127.0.0.1:5000)
- rtorrent is not running (ps | grep rtorrent)

Napisał co masz sprawdzić.


Po komendzie:

opkg list-installed:

rtorrent-rpc - 0.9.4-git-0-7343e33a6a0d279179b304a380bf011f1c8be64a
Więc napewno jest zainstalowany

w .rtorrent.rc również dodana linia

scgi_port = 127.0.0.1:5000

Polecenie

root@OpenWrt:~# ps | grep rtorrent
2504 root      1464 S    {screen} /usr/sbin/SCREEN -dm -t rtorrent nice -19 /
2507 root     11060 S N  /usr/bin/rtorrent
3166 root      1360 S    grep rtorrent

4

Odp: rtorrent + luci-app-rtorrent

Zrób netstat -apn

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: rtorrent + luci-app-rtorrent

Cezary napisał/a:

Zrób netstat -apn


root@OpenWrt:~# netstat -apn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State                                                                                                                            PID/Program name
tcp        0      0 0.0.0.0:1026            0.0.0.0:*               LISTEN                                                                                                                           1646/php-fcgi
tcp        0      0 0.0.0.0:9091            0.0.0.0:*               LISTEN                                                                                                                           2619/transmission-d
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN                                                                                                                           2181/smbd
tcp        0      0 0.0.0.0:50800           0.0.0.0:*               LISTEN                                                                                                                           2354/rtorrent
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN                                                                                                                           1995/uhttpd
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN                                                                                                                           2648/dnsmasq
tcp        0      0 0.0.0.0:51413           0.0.0.0:*               LISTEN                                                                                                                           2619/transmission-d
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN                                                                                                                           1601/dropbear
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN                                                                                                                           1995/uhttpd
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN                                                                                                                           2181/smbd
tcp        1      0 192.168.0.10:41451      109.201.134.8:3660      CLOSE_WAIT                                                                                                                       2619/transmission-d
tcp        0      0 192.168.0.10:22         192.168.1.184:7681      ESTABLISHED                                                                                                                      2940/dropbear
tcp        0      0 :::139                  :::*                    LISTEN                                                                                                                           2181/smbd
tcp        0      0 :::80                   :::*                    LISTEN                                                                                                                           1995/uhttpd
tcp        0      0 :::53                   :::*                    LISTEN                                                                                                                           2648/dnsmasq
tcp        0      0 :::51413                :::*                    LISTEN                                                                                                                           2619/transmission-d
tcp        0      0 :::22                   :::*                    LISTEN                                                                                                                           1601/dropbear
tcp        0      0 :::443                  :::*                    LISTEN                                                                                                                           1995/uhttpd
tcp        0      0 :::445                  :::*                    LISTEN                                                                                                                           2181/smbd
udp        0      0 0.0.0.0:53              0.0.0.0:*                                                                                                                                                2648/dnsmasq
udp        0      0 0.0.0.0:67              0.0.0.0:*                                                                                                                                                2648/dnsmasq
udp        0      0 0.0.0.0:43887           0.0.0.0:*                                                                                                                                                2619/transmission-d
udp        0      0 192.168.1.255:137       0.0.0.0:*                                                                                                                                                2182/nmbd
udp        0      0 192.168.1.1:137         0.0.0.0:*                                                                                                                                                2182/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*                                                                                                                                                2182/nmbd
udp        0      0 192.168.1.255:138       0.0.0.0:*                                                                                                                                                2182/nmbd
udp        0      0 192.168.1.1:138         0.0.0.0:*                                                                                                                                                2182/nmbd
udp        0      0 0.0.0.0:138             0.0.0.0:*                                                                                                                                                2182/nmbd
udp        0      0 0.0.0.0:51413           0.0.0.0:*                                                                                                                                                2619/transmission-d
udp        0      0 :::547                  :::*                                                                                                                                                     1557/odhcpd
udp        0      0 :::53                   :::*                                                                                                                                                     2648/dnsmasq
raw        0      0 ::%4426340:58           ::%4432908:*            58                                                                                                                               1557/odhcpd
raw        0      0 ::%4426340:58           ::%4432908:*            58                                                                                                                               1557/odhcpd
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node PID/Program name    Pat                                                                                                                     h
unix  2      [ ACC ]     STREAM     LISTENING       3889 2354/rtorrent       /tm                                                                                                                     p/rtorrent.socket
unix  2      [ ACC ]     STREAM     LISTENING        312 541/ubusd           /va                                                                                                                     r/run/ubus.sock
unix  2      [ ]         DGRAM                      3642 2375/hostapd        /va                                                                                                                     r/run/hostapd/wlan0
unix  6      [ ]         DGRAM                      2400 1482/logd           /de                                                                                                                     v/log
unix  2      [ ACC ]     STREAM     LISTENING       3721 2352/SCREEN         /tm                                                                                                                     p/screens/S-root/2352.torrenty
unix  2      [ ACC ]     STREAM     LISTENING       3474 2182/nmbd           /va                                                                                                                     r/nmbd/unexpected
unix  2      [ ]         DGRAM                      3821 2386/wpa_supplicant /va                                                                                                                     r/run/wpa_supplicant/wlan1
unix  2      [ ]         DGRAM                      2606 1601/dropbear
unix  3      [ ]         STREAM     CONNECTED       3810 2354/rtorrent
unix  3      [ ]         STREAM     CONNECTED       2402 1482/logd
unix  3      [ ]         STREAM     CONNECTED       3807 2354/rtorrent
unix  3      [ ]         STREAM     CONNECTED       2403 541/ubusd           /va                                                                                                                     r/run/ubus.sock
unix  3      [ ]         STREAM     CONNECTED       3808 2354/rtorrent
unix  3      [ ]         STREAM     CONNECTED       3809 2354/rtorrent
unix  2      [ ]         DGRAM                      4048 2648/dnsmasq
unix  3      [ ]         STREAM     CONNECTED       3645 541/ubusd           /va                                                                                                                     r/run/ubus.sock
unix  3      [ ]         STREAM     CONNECTED       3986 2619/transmission-d
unix  3      [ ]         STREAM     CONNECTED       2531 1557/odhcpd
unix  3      [ ]         STREAM     CONNECTED       3985 2619/transmission-d
unix  3      [ ]         STREAM     CONNECTED       3644 2375/hostapd
unix  3      [ ]         STREAM     CONNECTED       3832 2354/rtorrent
unix  3      [ ]         STREAM     CONNECTED       3982 2619/transmission-d
unix  3      [ ]         STREAM     CONNECTED       3833 2354/rtorrent
unix  2      [ ]         DGRAM                      3036 1525/netifd
unix  3      [ ]         STREAM     CONNECTED       3983 2619/transmission-d
unix  3      [ ]         STREAM     CONNECTED        366 541/ubusd           /va                                                                                                                     r/run/ubus.sock
unix  3      [ ]         STREAM     CONNECTED        365 1/procd
unix  2      [ ]         DGRAM                      3089 1525/netifd
unix  3      [ ]         STREAM     CONNECTED       3241 1995/uhttpd
unix  2      [ ]         DGRAM                      3328 1557/odhcpd
unix  3      [ ]         STREAM     CONNECTED       2421 541/ubusd           /va                                                                                                                     r/run/ubus.sock
unix  3      [ ]         STREAM     CONNECTED       3242 541/ubusd           /va                                                                                                                     r/run/ubus.sock
unix  3      [ ]         STREAM     CONNECTED       2420 1491/rpcd
unix  3      [ ]         STREAM     CONNECTED       2532 541/ubusd           /va                                                                                                                     r/run/ubus.sock
unix  3      [ ]         STREAM     CONNECTED       2477 541/ubusd           /va                                                                                                                     r/run/ubus.sock
unix  3      [ ]         STREAM     CONNECTED       2476 1525/netifd

6

Odp: rtorrent + luci-app-rtorrent

Jednak coś nie biega, gui oczekuje procesu nasłuchującego na porcie 5000, a właśnie pokazałeś że nic takiego nie masz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: rtorrent + luci-app-rtorrent

Dobra , dałem sobie spokój z GUI rtorrenta.

Pytanie do bardziej ogarnietych w temacie rtorrenta.

1. Jak można ustawic rtorrent aby nie był zabijany przez system, jeśli wyjdę z konsoli.
2. Co może być przyczyna jeśli rtorrent jest odpalony(uruchomiony) a nie pokazuje w rutorencie z pod www. Screen poniżej:

http://imgur.com/a/QUh3d

8

Odp: rtorrent + luci-app-rtorrent

1. uruchomić rtorrenta np, w screenie. Mój bardzo stary poradnik: http://openrouter.info/forum/viewtopic. … &t=471
2. pewnie dlatego że rtorrent nie nasłuchuje na danym porcie. Lub w ogóle nie nasłuchuje.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9 (edytowany przez djchester22 2017-04-04 16:10:37)

Odp: rtorrent + luci-app-rtorrent

Konfiguracje mam taka

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2012 OpenWrt.org

START=99

start() {
        rm -f /tmp/rtorrent.socket || true
        rm -f /mnt/dysk/torrenty/session/rtorrent.lock || true
        HOME=/root screen -dmS torrenty rtorrent
}

stop() {
        killall -2 rtorrent
}

A co do drugiego można to gdzieś ustawić żeby nasłuchiwał również na odpowiednim porcie??

Bo na tą chwilę dodać plik mogę w folderze, który dodałem do konfiguracji

schedule = watch_directory,5,5,"load.start=/mnt/dysk/torrenty/watch/*.torrent"

A chciałbym jednak dodawać z www.

10

Odp: rtorrent + luci-app-rtorrent

Jakiego serwera www używasz? Pokaż jego konfigi i logi.

WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

11

Odp: rtorrent + luci-app-rtorrent

Używam lighttpd

z pliku

/etc/lighttpd/lighttpd.conf

server.modules = (
   "mod_access",
   "mod_auth",
   "mod_fastcgi",
   "mod_scgi"
)

server.network-backend = "write"
server.document-root = "/www/rutorrent/"
index-file.names = ( "index.php", "index.html", "default.html", "index.htm", "default.htm" )

mimetype.assign = (
   ".pdf"   => "application/pdf",
   ".class" => "application/octet-stream",
   ".pac"   => "application/x-ns-proxy-autoconfig",
   ".swf"   => "application/x-shockwave-flash",
   ".wav"   => "audio/x-wav",
   ".gif"   => "image/gif",
   ".jpg"   => "image/jpeg",
   ".jpeg"  => "image/jpeg",
   ".png"   => "image/png",
   ".css"   => "text/css",
   ".html"  => "text/html",
   ".htm"   => "text/html",
   ".js"    => "text/javascript",
   ".txt"   => "text/plain",
   ".dtd"   => "text/xml",
   ".xml"   => "text/xml"
)

static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

server.port = 9092
server.pid-file = "/var/run/lighttpd.pid"

fastcgi.server = (
      ".php" => ((
      "host" => "127.0.0.1",
      "port" => 1026,
       ))
)

auth.debug = 2
auth.backend = "plain"
auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user"

auth.require = (
   "/" =>
        (
         "method"  => "basic",
         "realm"   => "rutorrent",
         "require" => "user=admin"
         )
)

scgi.server = (
     "/RPC2" =>
          ( "127.0.0.1" =>
               (
        "socket" => "/tmp/rtorrent.socket",
        "check-local" => "disable",
        "disable-time" => 0,
                )
         )
)
server.event-handler = "poll"


z /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 = 0;
        $scgi_host = "unix:///tmp/rtorrent.socket";

    // 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";

12

Odp: rtorrent + luci-app-rtorrent

/etc/lighttpd/lighttpd.conf 

dodaj

server.errorlog = "/var/log/lighttpd/error.log"

uruchom ponownie i pokaż logi

cat /var/log/lighttpd/error.log
WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

13

Odp: rtorrent + luci-app-rtorrent

2017-04-04 20:23:41: (log.c.194) server started
2017-04-04 20:35:33: (server.c.1572) server stopped by UID = 0 PID = 3714
2017-04-04 20:36:04: (log.c.194) server started

14

Odp: rtorrent + luci-app-rtorrent

Jeszcze raz po uruchomieniu rtorrent + rutorrent ...

WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

15

Odp: rtorrent + luci-app-rtorrent

root@OpenWrt:~# cat /var/log/lighttpd/error.log
2017-04-04 20:23:41: (log.c.194) server started
2017-04-04 20:35:33: (server.c.1572) server stopped by UID = 0 PID = 3714
2017-04-04 20:36:04: (log.c.194) server started
2017-04-04 20:39:57: (mod_fastcgi.c.2520) FastCGI-stderr: PHP Fatal error:  Call to und                                           efined function json_encode() in /www/rutorrent/plugins/lookat/lookat.php on line 60
2017-04-04 21:31:30: (server.c.1572) server stopped by UID = 0 PID = 4865
2017-04-04 21:32:02: (log.c.194) server started

16 (edytowany przez mavcin 2017-04-04 21:10:04)

Odp: rtorrent + luci-app-rtorrent

opkg install php5-mod-json
WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

17

Odp: rtorrent + luci-app-rtorrent

teraz

root@OpenWrt:~# cat /var/log/lighttpd/error.log
2017-04-04 20:33:31: (log.c.194) server started
2017-04-04 21:45:22: (mod_fastcgi.c.2520) FastCGI-stderr: PHP Warning:  getdate(                                                                                                                     ): 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' f                                                                                                                     or now, but please set date.timezone to select your timezone. in /www/rutorrent/                                                                                                                     php/settings.php on line 269
2017-04-04 21:45:22: (mod_fastcgi.c.2520) FastCGI-stderr: PHP Fatal error:  getd                                                                                                                     ate(): Timezone database is corrupt - this should *never* happen! in /www/rutorr                                                                                                                     ent/php/settings.php on line 269

18

Odp: rtorrent + luci-app-rtorrent

opkg install zoneinfo-core zoneinfo-europe

potem w

/etc/php.ini

zmieniasz

date.timezone = Europe/Warsaw
WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

19

Odp: rtorrent + luci-app-rtorrent

Teraz już widać wszystko lecz wywala w dzienniku takie bledy

[04.04.2017 22:07:01] User Webservera nie ma dostępu do programu 'stat'. ruTorrent może mieć problemy z funkcjonalnością.
[04.04.2017 22:07:01] rss: Niektóre funkcjonalności będą niedostępne. User Webservera nie ma dostępu do zewnętrznych programów (curl).
[04.04.2017 22:07:01] User rTorrenta nie ma dostępu do programu 'stat'. Niektóre funkcjonalności mogą być niedostępne.
[04.04.2017 22:07:01] rutracker_check: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:07:01] history: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:07:01] retrackers: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:07:01] autotools: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:07:01] scheduler: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:07:01] unpack: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:07:01] ratio: Niektóre funkcjonalności będą niedostępne. User rTorrenta nie ma dostępu do zewnętrznych programów. (php).
[04.04.2017 22:07:01] datadir: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:07:01] loginmgr: Niektóre funkcjonalności będą niedostępne. User rTorrenta nie ma dostępu do zewnętrznych programów. (php).
[04.04.2017 22:07:01] create: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:07:01] trafic: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:07:01] rss: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:07:01] mediainfo: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (mediainfo).
[04.04.2017 22:07:01] screenshots: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (ffmpeg).
[04.04.2017 22:07:01] rss: Niektóre funkcjonalności będą niedostępne. User rTorrenta nie ma dostępu do zewnętrznych programów. (curl).

20 (edytowany przez mavcin 2017-04-04 22:50:10)

Odp: rtorrent + luci-app-rtorrent

opkg install coreutils-stat curl unrar ffmpeg
WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

21 (edytowany przez djchester22 2017-04-04 21:37:07)

Odp: rtorrent + luci-app-rtorrent

Nadal sypie błędami. Ale pozatym wszystko działa. Mozna dodać, pobiera itp.

Dzięki wielkie za pomoc:)

[04.04.2017 22:21:31] WebUI started.
[04.04.2017 22:21:36] rutracker_check: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:21:36] history: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:21:36] retrackers: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:21:36] autotools: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:21:36] scheduler: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:21:36] unpack: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:21:36] ratio: Niektóre funkcjonalności będą niedostępne. User rTorrenta nie ma dostępu do zewnętrznych programów. (php).
[04.04.2017 22:21:36] datadir: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:21:36] loginmgr: Niektóre funkcjonalności będą niedostępne. User rTorrenta nie ma dostępu do zewnętrznych programów. (php).
[04.04.2017 22:21:36] create: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:21:36] trafic: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:21:36] rss: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).
[04.04.2017 22:21:36] mediainfo: Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (mediainfo).

Można wiedzieć jeszcze co może być tego przyczyna

[04.04.2017 22:36:37] Bad response from server: (503 [error,getratios]) <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>503 - Service Not Available</title> </head> <body> <h1>503 - Service Not Available</h1> </body> </html>

22

Odp: rtorrent + luci-app-rtorrent

Plugin nie zadziała. User rTorrent nie ma dostępu do zewnętrznego programu (php).

uzupełnij ściżke do php w

/www/rutorrent/config/config.php

zmień

"php" => '/usr/bin/php-cgi'

w CC nie ma mediainfo więc ten plugin możesz śmiało wyłączyć

/www/rutorrent/conf/plugins.ini

dodajesz

[mediainfo]
enabled = no

a tutaj

[04.04.2017 22:36:37] Bad response from server: (503 [error,getratios]) <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>503 - Service Not Available</title> </head> <body> <h1>503 - Service Not Available</h1> </body> </html>

coś chyba namieszałeś ;)

WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

23

Odp: rtorrent + luci-app-rtorrent

Mam jeszcze jeden problem. Nieraz po restarcie ciagle wywala mi taki błąd i rtorrent w ogole sie nie uruchamia


root@OpenWrt:~# rtorrent
rtorrent: Could not lock session directory: "/mnt/dysk/torrenty/session/", held by "OpenWrt:+2386".

24 (edytowany przez mavcin 2017-04-04 22:54:06)

Odp: rtorrent + luci-app-rtorrent

Spróbuj w

~/.rtorrent.rc

dodać

session.use_lock.set = no
WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

25

Odp: rtorrent + luci-app-rtorrent

A powiedz czy startowy mam dobrze zrobiony

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2012 OpenWrt.org

START=99

start() {
        rm -f /tmp/rtorrent.socket || true
        rm -f /mnt/torrent/session/rtorrent.lock || true
        HOME=/root screen -dmS torrenty rtorrent
}

stop() {
        killall -2 rtorrent
}