26

Odp: transmission connection failed

dzieki wielkie, bede niecierpliwie czekal

27

Odp: transmission connection failed

Jest już u mnie na http://eko.one.pl/openwrt

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

28

Odp: transmission connection failed

dzieki, jednak na 1.52 wszystko elegancko dziala.

29

Odp: transmission connection failed

Ale mogli by 1.53 na pt akceptować, bo 1.52 na też bugi.

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

30

Odp: transmission connection failed

Witam,
chciałem odgrzebać wątek, bo mam taki sam problem.

Chcąc uruchomić transmission przez www dostaje komunikat, że connection failed. I, że nie może połączyć się z serwerem.
Przy próbie ponownego uruchomienia strony, strona nie chce sie załadować w ogóle...

Dziwi mnie, występowanie 3procesów transmission:

root@OpenWrt:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1920 S    init
    2 root         0 SW   [keventd]
    3 root         0 RWN  [ksoftirqd_CPU0]
    4 root         0 SW   [kswapd]
    5 root         0 SW   [bdflush]
    6 root         0 SW   [kupdated]
    9 root         0 SW   [mtdblockd]
   56 root         0 SWN  [jffs2_gcd_mtd4]
   68 root         0 SW   [khubd]
   79 root         0 SW   [usb-storage-0]
   80 root         0 SW   [scsi_eh_0]
   96 root         0 SW   [usb-storage-1]
   97 root         0 SW   [scsi_eh_1]
  141 root         0 SW   [kjournald]
  150 root      1916 S    logger -s -p 6 -t
  151 root      1920 S    init
  182 root      1936 S    syslogd -C16
  184 root      1916 S    klogd
  477 root         0 SW   [kjournald]
  478 root         0 SW   [kjournald]
  537 root      1528 S    /usr/sbin/nas -P /var/run/nas.wl0.pid -H 34954 -l br-
  707 root      1936 S    udhcpc -t 0 -i eth0.1 -b -p /var/run/eth0.1.pid -R
  748 root      1872 S    /usr/sbin/dropbear -p 369
  752 root      1920 S    /usr/sbin/httpd -p 80 -h /www -r OpenWrt
  779 nobody    1212 S    /usr/sbin/dnsmasq -K -D -y -Z -b -E -s lan -S /lan/ -
  792 root      1932 S    /usr/sbin/dropbear -p 369
  793 root      1928 S    -ash
  805 root      5904 S    transmission-daemon -g /hdd/torrents
  806 root      5904 S    transmission-daemon -g /hdd/torrents
  807 root      5904 R    transmission-daemon -g /hdd/torrents
  808 root      1920 R    ps

Odnośnie mojego configu, to mam system zamontowany na usb, a swapa na hdd :]
Instalacja i konfiguracja transmission ze strony eko.one.pl.

root@OpenWrt:~# cat /hdd/torrents/settings.json
{
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": true,
    "dht-enabled": true,
    "download-dir": "\/hdd\/downloads",
    "encryption": 1,
    "lazy-bitfield-enabled": true,
    "message-level": 2,
    "open-file-limit": 32,
    "peer-limit-global": 240,
    "peer-limit-per-torrent": 60,
    "peer-port": 51413,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": 0,
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "proxy": "",
    "proxy-auth-enabled": false,
    "proxy-auth-password": "",
    "proxy-auth-username": "",
    "proxy-enabled": false,
    "proxy-port": 80,
    "proxy-type": 0,
    "ratio-limit": 2.0000,
    "ratio-limit-enabled": false,
    "rpc-authentication-required": false,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "",
    "rpc-port": 9091,
    "rpc-username": "szwabek",
    "rpc-whitelist": "127.0.0.1,192.168.1.*",
    "rpc-whitelist-enabled": false,
    "speed-limit-down": 110,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 50,
    "speed-limit-up-enabled": false,
    "umask": 18,
    "upload-slots-per-torrent": 14
}

Oraz:

root@OpenWrt:~# cat /etc/init.d/transmission
#!/bin/sh /etc/rc.common

START=99

start() {
        export TRANSMISSION_HOME="/hdd/torrents"
        transmission-daemon -g /hdd/torrents
}

stop() {
        pkill transmission
}

Proszę o pomoc, z góry dzięki.
Pozdrawiam.

31

Odp: transmission connection failed

zrob

netstat -a

i zobacz czy to w ogóle nasłuchuje na 9091

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

32 (edytowany przez szwabek 2009-11-22 23:52:26)

Odp: transmission connection failed

Hmm faktycznie chyba nie nasłuchuje...

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:369             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN
tcp        0    100 OpenWrt:369             192.168.1.210:52845     ESTABLISHED
netstat: no kernel support for AF INET6 (tcp)
udp        0      0 localhost.:34954        0.0.0.0:*
udp        0      0 0.0.0.0:53              0.0.0.0:*
udp        0      0 0.0.0.0:67              0.0.0.0:*
netstat: no kernel support for AF INET6 (udp)
netstat: no kernel support for AF INET6 (raw)
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  6      [ ]         DGRAM                       219 /dev/log
unix  2      [ ]         DGRAM                       921
unix  2      [ ]         DGRAM                       889
unix  2      [ ]         DGRAM                       453
unix  2      [ ]         DGRAM                       223

Po restarcie i próbie uruchomienia transmission:

root@OpenWrt:~# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:369             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN
tcp        0      0 OpenWrt:9091            192.168.1.210:55803     TIME_WAIT
tcp        0      0 OpenWrt:9091            192.168.1.210:55799     TIME_WAIT
tcp        0      0 OpenWrt:9091            192.168.1.210:55802     TIME_WAIT
tcp        0      0 OpenWrt:9091            192.168.1.210:55806     TIME_WAIT
tcp        0      0 OpenWrt:9091            192.168.1.210:55804     TIME_WAIT
tcp        0      0 OpenWrt:369             192.168.1.210:55766     ESTABLISHED
netstat: no kernel support for AF INET6 (tcp)
udp        0      0 localhost.:34954        0.0.0.0:*
udp        0      0 0.0.0.0:53              0.0.0.0:*
udp        0      0 0.0.0.0:67              0.0.0.0:*
udp        0      0 194.54.19.147.static.telsat.wroc.pl:123 vega.cbk.poznan.pl:1                      23  ESTABLISHED
netstat: no kernel support for AF INET6 (udp)
netstat: no kernel support for AF INET6 (raw)
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  6      [ ]         DGRAM                       286 /dev/log
unix  2      [ ]         DGRAM                      1696
unix  2      [ ]         DGRAM                      1662
unix  2      [ ]         DGRAM                       680
unix  2      [ ]         DGRAM                       289

33

Odp: transmission connection failed

uruchom z lini poleceń ale nie jako /etc/init.d/tran... tylko

transmission-daemon -g /hdd/torrents -d -f

Nie przejdzie w tło i będzie wypisywał poszczególne rzeczy, to będziesz mógł zobaczyć gdzie lub na czym się wywala.

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

34

Odp: transmission connection failed

Cezary napisał/a:

uruchom z lini poleceń ale nie jako /etc/init.d/tran... tylko

transmission-daemon -g /hdd/torrents -d -f

Nie przejdzie w tło i będzie wypisywał poszczególne rzeczy, to będziesz mógł zobaczyć gdzie lub na czym się wywala.

Mam ten sam problem z transmission 1.76. Zainstalowałem zgodnie z Twoim opisem.

Uruchamiam demona

transmission-daemon -g /hdd/torrents -f   # bez -d

wchodzę na web interface i mam connection failed w przeglądarce i segmentation fault w konsoli

[14:47:35.696] RPC Server: Adding address to whitelist: 127.0.0.1
[14:47:35.700] RPC Server: Adding address to whitelist: 192.168.1.*
[14:47:35.712] RPC Server: Serving RPC and Web requests on port 9091
[14:47:35.720] RPC Server: Whitelist enabled
[14:47:35.724] Transmission 1.76 (9395) started
[14:47:35.735] DHT: Generating new id
[14:47:36.038] Port Forwarding (NAT-PMP): initnatpmp succeeded (0)
[14:47:36.043] Port Forwarding (NAT-PMP): sendpublicaddressrequest succeeded (2)
[14:47:44.088] Port Forwarding: State changed from "Not forwarded" to "Starting"
[14:47:44.438] Port Forwarding: State changed from "Starting" to "???"
[14:48:03.918] Searching for web interface file "/root/.local/share/transmission/web/javascript/transmission.js"
[14:48:03.921] Searching for web interface file "/usr/share/transmission/web/javascript/transmission.js"
Segmentation fault

35

Odp: transmission connection failed

Tobie wykłada się proces. Zakładając że nie jest wina uszkodzonego nośnika czy torrenta - zainstaluj ponownie starą wersję, 1.75, jest u mnie na http://eko.one.pl/openwrt/index.php?pat … %2F8.09.1/ (i parę innych wersji)

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

36

Odp: transmission connection failed

Mam to samo co kolega.
Twoje polecenie wyświetla mi zawartość pliku: /hdd/torrents/settings.json

Natomiast:

root@OpenWrt:~# transmission-daemon -g /hdd/torrents -f
[20:40:46.531] RPC Server: Adding address to whitelist: 127.0.0.1
[20:40:46.538] RPC Server: Adding address to whitelist: 192.168.1.*
[20:40:46.542] RPC Server: Serving RPC and Web requests on port 9091
[20:40:46.546] RPC Server: Whitelist enabled
[20:40:46.554] Transmission 1.76 (9395) started
[20:40:46.567] DHT: Generating new id
[20:40:46.922] Port Forwarding (NAT-PMP): initnatpmp succeeded (0)
[20:40:46.929] Port Forwarding (NAT-PMP): sendpublicaddressrequest succeeded (2)
[20:40:54.972] Port Forwarding: State changed from "Not forwarded" to "Starting"
[20:40:55.322] Port Forwarding: State changed from "Starting" to "???"
[20:41:09.101] Searching for web interface file "/root/.local/share/transmission/web/javascript/transmission.js"
[20:41:09.106] Searching for web interface file "/usr/share/transmission/web/javascript/transmission.js"
Segmentation fault

Tzn ten sam problem?

37

Odp: transmission connection failed

Cezary napisał/a:

Tobie wykłada się proces. Zakładając że nie jest wina uszkodzonego nośnika czy torrenta - zainstaluj ponownie starą wersję, 1.75, jest u mnie na http://eko.one.pl/openwrt/index.php?pat … %2F8.09.1/ (i parę innych wersji)

Zrobiłem downgrade do wersji 1.75 z Twojego repo i teraz działa. Wersja 1.76 się wywala. Może przez to, że uzywam wersji 8.09.2-RC2.

38

Odp: transmission connection failed

1.76 była właśnie na tym kompilowana. Jeżeli jesteś obyty z narzędziem strace  to zrób odput do pliku i podeślij mi, zobaczymy co się dzieje.

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

39

Odp: transmission connection failed

U mnie też działa na 1.75
Dzięki i pozdrawiam