Pomoc Problem z rtorrentem. QNAP TS-212P

magg

Passing Basics
Beginner
4 Grudzień 2014
18
3
3
36
QNAP
Ethernet
802.11n (Wi-Fi 4)
Witam.
Pisałem już o moim problemie w innym z tematów ale zero odzewu i pomocy.

Jakiś czas temu zrobiłem update mojego Qnapa do najnowszej wersji.
Aktualizacje robiłem tak ze najpierw wyłączyłem Debiana w Appcenter reset->update->reset->debian start
Nie grzebałem w żadnych konfiguracjach nie usuwałem katalogów.
Proszę o pomoc czy da się to ustawić z pozycji konsoli czy muszę przywracać całego NASa do ustawień fabrycznych a potem instalować debiana raz jeszcze.

Kod:
[29.11.2016 16:11:19] WebUI started.
[29.11.2016 16:11:21] Zła ścieżka do rTorrenta. Sprawdź, czy jest uruchomiony. Sprawdź też ustawienia $scgi_port oraz $scgi_host settings w config.php oraz scgi_port w pliku konfiguracyjnym rTorrent.
A takie coś jak robię reset rtorrenta.
Kod:
┌─[11:25:21]─[root@magdump]
└──> ~ $ >> /etc/init.d/rtorrent restart
Restarting rtorrent: rtorrent

  [rtorrent] Mounting shares
[rtorrent] -- Applying proper perm: /share/Download/rtorrent
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/downloads
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/session
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/watch
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/complete
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/unpack
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/temp
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/settings
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/logs

  [rtorrent] Running initplugins
┌─[11:28:04]─[root@magdump]

Proszę o pomoc!

Wersja oprogramowania Firmware: 4.2.2 Build2016/11/02
Model serwera: QNAP TS-212P
 
Chyba tak.
Kod:
┌─[18:04:39]─[root@magdump]
└──> ~ $ >> ps -ef | grep -i rtorrent
root      9479     1  0 Nov16 ?        00:00:00 SCREEN -dm -S rtorrent
root     31656 31541  0 18:04 pts/4    00:00:00 grep -i rtorrent
┌─[18:04:46]─[root@magdump]
 
nędza - nie ma procesu rtorrent

dla przykładu na innym serwerze inny proces:
Bash:
--(1110:Tue,29 Nov 16:$ )-- ps -ef | grep -i hah
pigers    3085  3007  0 11:10 pts/0    00:00:00 grep --color=auto -i hah
pigers   26819     1  0 Nov21 ?        00:00:05 SCREEN -d -S hah -m /home/pigers/hah/hahstart
pigers   26821 26819  0 Nov21 pts/2    00:00:00 /bin/sh /home/pigers/hah/hahstart
 
Jak go uruchomić?

to wypluwa po starcie

Kod:
─[✗]─[18:04:53]─[root@magdump]
└──> ~ $ >> /etc/init.d/rtorrent start
Starting rtorrent: rtorrent

  [rtorrent] Mounting shares
[rtorrent] -- Applying proper perm: /share/Download/rtorrent
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/downloads
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/session
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/watch
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/complete
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/unpack
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/temp
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/settings
[rtorrent] -- Applying proper perm: /share/Download/rtorrent/logs

  [rtorrent] Running initplugins
┌─[18:13:56]─[root@magdump]
└──> ~ $ >> ps -ef | grep -i rtorrent
root      9479     1  0 Nov16 ?        00:00:00 SCREEN -dm -S rtorrent
root     32055 31541  0 18:14 pts/4    00:00:00 grep -i rtorrent
┌─[18:14:00]─[root@magdump]
 
Dzięki z góry za chęć pomocy. Jak jeszcze jakieś logi będą potrzebne pisz.
Gdzieś czytałem ze może debian przestał widzieć udziałów danego katalogu ale chyba nie zmieniło by się to przez update.
 
Tak jak pisałem nawet wchodząc przez ssh w katalogu /share/Download/rtorrent/logs/rtorrentsInit.log

Gdzie jeszcze ich szukać?

Pojawił sie plik rtorrent.out w logach a w nim
Kod:
rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent.conf:162: Could not prepare socket for listening: Address already in use
 
W załączniku plik .conf

Kod:
┌─[✗]─[22:47:24]─[root@magdump]
└──> settings $ >> netstat -pln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:49152           0.0.0.0:*               LISTEN      4855/qDmcd
tcp        0      0 127.0.0.1:58080         0.0.0.0:*               LISTEN      4175/_thttpd_
tcp        0      0 0.0.0.0:49153           0.0.0.0:*               LISTEN      10641/upnpd
tcp        0      0 0.0.0.0:9091            0.0.0.0:*               LISTEN      9707/transmission-d
tcp        0      0 0.0.0.0:9251            0.0.0.0:*               LISTEN      4545/mytranscodesvr
tcp        0      0 127.0.0.1:5000          0.0.0.0:*               LISTEN      10652/apache-dav
tcp        0      0 0.0.0.0:8808            0.0.0.0:*               LISTEN      9501/lighttpd
tcp        0      0 0.0.0.0:8200            0.0.0.0:*               LISTEN      4818/myupnpmediasvr
tcp        0      0 0.0.0.0:9288            0.0.0.0:*               LISTEN      4382/mysystemcmdsvr
tcp        0      0 127.0.0.1:5001          0.0.0.0:*               LISTEN      10652/apache-dav
tcp        0      0 0.0.0.0:6889            0.0.0.0:*               LISTEN      9244/dsd
tcp        0      0 0.0.0.0:873             0.0.0.0:*               LISTEN      7139/rsyncd
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      4029/smbd
tcp        0      0 0.0.0.0:23310           0.0.0.0:*               LISTEN      8464/mysqld
tcp        0      0 0.0.0.0:3310            0.0.0.0:*               LISTEN      3448/mysqld
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      10825/apache
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      4355/apache_proxy
tcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      10825/apache
tcp        0      0 0.0.0.0:4433            0.0.0.0:*               LISTEN      9244/dsd
tcp        0      0 0.0.0.0:51413           0.0.0.0:*               LISTEN      9707/transmission-d
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      5104/proftpd: (acce
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      5629/sshd
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN      3859/cupsd
tcp        0      0 0.0.0.0:8889            0.0.0.0:*               LISTEN      4161/mymediadbserve
tcp        0      0 0.0.0.0:2202            0.0.0.0:*               LISTEN      9432/sshd
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      5946/apache_proxys
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      4029/smbd
udp        0      0 127.0.0.1:55557         0.0.0.0:*                           9244/dsd
udp        0      0 192.168.1.9:33837       0.0.0.0:*                           9244/dsd
udp        0      0 0.0.0.0:68              0.0.0.0:*                           2600/dhcpcd
udp        0      0 127.0.0.1:57689         0.0.0.0:*                           4855/qDmcd
udp        0      0 0.0.0.0:55386           0.0.0.0:*                           6923/avahi-daemon:
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           10641/upnpd
udp        0      0 192.168.1.9:1900        0.0.0.0:*                           9244/dsd
udp        0      0 127.0.0.1:1900          0.0.0.0:*                           9244/dsd
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           9244/dsd
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           4855/qDmcd
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           4818/myupnpmediasvr
udp        0      0 239.192.152.143:6771    0.0.0.0:*                           9707/transmission-d
udp        0      0 192.168.1.9:6771        0.0.0.0:*                           9244/dsd
udp        0      0 127.0.0.1:6771          0.0.0.0:*                           9244/dsd
udp        0      0 0.0.0.0:6771            0.0.0.0:*                           9244/dsd
udp        0      0 127.0.0.1:37252         0.0.0.0:*                           9244/dsd
udp        0      0 192.168.1.255:137       0.0.0.0:*                           10095/nmbd
udp        0      0 192.168.1.9:137         0.0.0.0:*                           10095/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*                           10095/nmbd
udp        0      0 192.168.1.255:138       0.0.0.0:*                           10095/nmbd
udp        0      0 192.168.1.9:138         0.0.0.0:*                           10095/nmbd
udp        0      0 0.0.0.0:138             0.0.0.0:*                           10095/nmbd
udp        0      0 127.0.0.1:35740         0.0.0.0:*                           10641/upnpd
udp        0      0 255.255.255.255:8097    0.0.0.0:*                           6946/bcclient
udp     1216      0 255.255.255.255:8097    0.0.0.0:*                           6946/bcclient
udp        0      0 192.168.1.9:53169       0.0.0.0:*                           9244/dsd
udp        0      0 192.168.1.9:57785       0.0.0.0:*                           4818/myupnpmediasvr
udp        0      0 0.0.0.0:51413           0.0.0.0:*                           9707/transmission-d
udp        0      0 0.0.0.0:6889            0.0.0.0:*                           9244/dsd
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           6923/avahi-daemon:
udp   165376      0 0.0.0.0:5353            0.0.0.0:*                           4950/php
udp   165376      0 0.0.0.0:5353            0.0.0.0:*                           4854/php
udp        0      0 0.0.0.0:40949           0.0.0.0:*                           4855/qDmcd
udp        0      0 0.0.0.0:38138           0.0.0.0:*                           9244/dsd
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     7650     7769/iscsid         @ISCSIADM_ABSTRACT_NAMESPACE
unix  2      [ ACC ]     STREAM     LISTENING     5387     4947/SCREEN         /tmp/screens/S-admin/4947.QAIRP
unix  2      [ ACC ]     STREAM     LISTENING     10732    9502/php-cgi        /tmp/php-fcgi.sock-0
unix  2      [ ACC ]     STREAM     LISTENING     12486    10095/nmbd          /usr/local/samba/var/nmbd/unexpected
unix  2      [ ACC ]     STREAM     LISTENING     4908     4830/bluetoothd     /var/run/sdp
unix  2      [ ACC ]     STREAM     LISTENING     10547    9244/dsd            /tmp/dsd.lock
unix  2      [ ACC ]     STREAM     LISTENING     5432     4950/php            /tmp/airplay_svc_qnap_qts_sw2
unix  2      [ ACC ]     STREAM     LISTENING     6646     6923/avahi-daemon:  /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     3137     3520/qpkgd          /tmp/qpkg_sock
unix  2      [ ACC ]     STREAM     LISTENING     4928     4830/bluetoothd     @/org/bluez/audio
unix  2      [ ACC ]     STREAM     LISTENING     1105     1861/modagent       @QNAP_NOTIFY_NAMESPACE
unix  2      [ ACC ]     STREAM     LISTENING     4673     4664/dbus-daemon    //var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     4477     4541/SCREEN         /tmp/screens/S-admin/4541.MYTRANSCODE
unix  2      [ ACC ]     STREAM     LISTENING     8835     8464/mysqld         /tmp/mysql_qbox.sock
unix  2      [ ACC ]     STREAM     LISTENING     5257     4856/qRPlayerCenter /tmp/.@qRPlayerCenter.xxx
unix  2      [ ACC ]     STREAM     LISTENING     5265     4855/qDmcd          /tmp/.@qdmc.ipc.xxx
unix  2      [ ACC ]     STREAM     LISTENING     3476     3859/cupsd          /var/run/cups/cups.sock
unix  2      [ ACC ]     STREAM     LISTENING     5289     4854/php            /tmp/airplay_svc_qnap_qts_sw2
unix  2      [ ACC ]     STREAM     LISTENING     5033     4852/SCREEN         /tmp/screens/S-admin/4852.QAIRP
unix  2      [ ACC ]     STREAM     LISTENING     3064     3448/mysqld         /tmp/mysql_mediadb.sock
┌─[22:47:34]─[root@magdump]
 

Załączniki

  • rtorrent.txt
    8,7 KB · Wyświetleń: 83
port 5000 jest zajęty przez WebDAVa
trzeba zmienić numer na 5001 w rtorrent.rc
potem poprawić config w serwerze WWW (scgi port )
i poprawić config w rutorrent

w sumie 3 pliki do poprawki

albo WYŁĄCZYĆ W QNAP - WebDAV i zrobić restart :)