Temat: Problem z Transmission

Witam, poraz, kolejny borykam sie z pewnym problemem, mianowicie, wczoraj po raz kolejny uruchamiałem od nowa extroota, wszystko po kolei instalowałem. Wszystko poszło ok do momentu instalacji Transmission, przy każdej próbie wystartowania, Transmission czy restartu go wyskakuje taki błąd

sh: 1024: unknown operand

próbowałem wygooglowac, lecz nie znalazłem rozwiązania do tego problemu. Powiem od razu, że Transmission się uruchamia, ale często się zawiesza, stopuje torrenty i wydaje mi się że nie działa stabilnie

2

Odp: Problem z Transmission

sh: 1024: unknown operand jak zrobisz /etc/init.d/transmission start?

Zrób transmission-daemon -g /tmp/transmission i zobacz co zgłosi.

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

3

Odp: Problem z Transmission

sh: 1024: unknown operand jak zrobisz /etc/init.d/transmission start?

Zrób transmission-daemon -g /tmp/transmission i zobacz co zgłosi.

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

4

Odp: Problem z Transmission

sh: 1024: unknown operand jak zrobisz /etc/init.d/transmission start?

Zrób transmission-daemon -g /tmp/transmission i zobacz co zgłosi.

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

5

Odp: Problem z Transmission

a ja mam takie pytanko. Jak moge sprawdzić które porty mam aktualnie otwarte na firewallu? Bo otwierałem 9091 a dostępu o dziwo z zewnątrz nie mam.

6

Odp: Problem z Transmission

iptables -v -L, szukaj INPUT

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

7 (edytowany przez kamillo 2011-05-06 16:07:17)

Odp: Problem z Transmission

hmm wydaje sie ze otwarty, 8081 działa z zewnątrz bo kumpel próbował kamerke.

root@Gargoyle:~$ iptables -v -L
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
83353 5697K bw_ingress  all  --  eth0.2 any     anywhere             anywhere
73207 4934K ACCEPT     all  --  any    any     anywhere             anywhere            state RELATED,ESTABLISHED
  112  5980 ACCEPT     all  --  lo     any     anywhere             anywhere
 3714  191K syn_flood  tcp  --  any    any     anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/SYN
14737 1129K input_rule  all  --  any    any     anywhere             anywhere
14737 1129K input      all  --  any    any     anywhere             anywhere

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
20766   20M bw_ingress  all  --  eth0.2 any     anywhere             anywhere
20766   20M ingress_restrictions  all  --  eth0.2 any     anywhere             anywhere
18189 3451K egress_restrictions  all  --  any    eth0.2  anywhere             anywhere
38956   23M zone_wan_MSSFIX  all  --  any    any     anywhere             anywhere
37048   23M ACCEPT     all  --  any    any     anywhere             anywhere            state RELATED,ESTABLISHED
 1908 92020 forwarding_rule  all  --  any    any     anywhere             anywhere
 1908 92020 forward    all  --  any    any     anywhere             anywhere
    0     0 reject     all  --  any    any     anywhere             anywhere

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
 116K  119M ACCEPT     all  --  any    any     anywhere             anywhere            state RELATED,ESTABLISHED
  112  5980 ACCEPT     all  --  any    lo      anywhere             anywhere
 3951  241K output_rule  all  --  any    any     anywhere             anywhere
 3949  241K output     all  --  any    any     anywhere             anywhere

Chain bw_ingress (2 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total1-download-2-449 --type combined --current_bandwidth 329 --reset_interval 2 --reset_time 2 --intervals_to_save 449
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id bdist1-download-minute-15 --type individual_local --subnet 192.168.1.0/24 --reset_interval minute --intervals_to_save 15
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total2-download-minute-359 --type combined --current_bandwidth 29084 --reset_interval minute --intervals_to_save 359
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id bdist2-download-900-24 --type individual_local --subnet 192.168.1.0/24 --reset_interval 900 --reset_time 900 --intervals_to_save 24
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total3-download-180-479 --type combined --current_bandwidth 29084 --reset_interval 180 --reset_time 180 --intervals_to_save 479
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id bdist3-download-hour-24 --type individual_local --subnet 192.168.1.0/24 --reset_interval hour --intervals_to_save 24
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total4-download-7200-359 --type combined --current_bandwidth 25405586 --reset_interval 7200 --reset_time 7200 --intervals_to_save 359
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id bdist4-download-day-31 --type individual_local --subnet 192.168.1.0/24 --reset_interval day --intervals_to_save 31
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total5-download-day-365 --type combined --current_bandwidth 343450003 --reset_interval day --intervals_to_save 365
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id bdist5-download-month-12 --type individual_local --subnet 192.168.1.0/24 --reset_interval month --intervals_to_save 12

Chain egress_restrictions (1 references)
 pkts bytes target     prot opt in     out     source               destination
18189 3451K egress_whitelist  all  --  any    any     anywhere             anywhere

Chain egress_whitelist (1 references)
 pkts bytes target     prot opt in     out     source               destination

Chain forward (1 references)
 pkts bytes target     prot opt in     out     source               destination
 1908 92020 zone_lan_forward  all  --  br-lan any     anywhere             anywhere
    0     0 zone_wan_forward  all  --  eth0.2 any     anywhere             anywhere

Chain forwarding_lan (1 references)
 pkts bytes target     prot opt in     out     source               destination

Chain forwarding_rule (1 references)
 pkts bytes target     prot opt in     out     source               destination
 1908 92020 nat_reflection_fwd  all  --  any    any     anywhere             anywhere

Chain forwarding_wan (1 references)
 pkts bytes target     prot opt in     out     source               destination

Chain ingress_restrictions (1 references)
 pkts bytes target     prot opt in     out     source               destination
20766   20M ingress_whitelist  all  --  any    any     anywhere             anywhere

Chain ingress_whitelist (1 references)
 pkts bytes target     prot opt in     out     source               destination

Chain input (1 references)
 pkts bytes target     prot opt in     out     source               destination
 3188  246K zone_lan   all  --  br-lan any     anywhere             anywhere
11539  882K zone_wan   all  --  eth0.2 any     anywhere             anywhere

Chain input_lan (1 references)
 pkts bytes target     prot opt in     out     source               destination

Chain input_rule (1 references)
 pkts bytes target     prot opt in     out     source               destination

Chain input_wan (1 references)
 pkts bytes target     prot opt in     out     source               destination

Chain nat_reflection_fwd (1 references)
 pkts bytes target     prot opt in     out     source               destination

Chain output (1 references)
 pkts bytes target     prot opt in     out     source               destination
 3949  241K zone_lan_ACCEPT  all  --  any    any     anywhere             anywhere
 3921  238K zone_wan_ACCEPT  all  --  any    any     anywhere             anywhere

Chain output_rule (1 references)
 pkts bytes target     prot opt in     out     source               destination

Chain pf_loopback_B (1 references)
 pkts bytes target     prot opt in     out     source               destination

Chain reject (5 references)
 pkts bytes target     prot opt in     out     source               destination
   37  1996 REJECT     tcp  --  any    any     anywhere             anywhere            reject-with tcp-reset
 7807  686K REJECT     all  --  any    any     anywhere             anywhere            reject-with icmp-port-unreachable

Chain syn_flood (1 references)
 pkts bytes target     prot opt in     out     source               destination
 3714  191K RETURN     tcp  --  any    any     anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/SYN limit: avg 25/sec burst 50
    0     0 DROP       all  --  any    any     anywhere             anywhere

Chain zone_lan (1 references)
 pkts bytes target     prot opt in     out     source               destination
 3188  246K input_lan  all  --  any    any     anywhere             anywhere
 3188  246K zone_lan_ACCEPT  all  --  any    any     anywhere             anywhere

Chain zone_lan_ACCEPT (2 references)
 pkts bytes target     prot opt in     out     source               destination
   26  2832 ACCEPT     all  --  any    br-lan  anywhere             anywhere
 3188  246K ACCEPT     all  --  br-lan any     anywhere             anywhere

Chain zone_lan_DROP (0 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 DROP       all  --  any    br-lan  anywhere             anywhere
    0     0 DROP       all  --  br-lan any     anywhere             anywhere

Chain zone_lan_MSSFIX (0 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 TCPMSS     tcp  --  any    br-lan  anywhere             anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU

Chain zone_lan_REJECT (1 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 reject     all  --  any    br-lan  anywhere             anywhere
    0     0 reject     all  --  br-lan any     anywhere             anywhere

Chain zone_lan_forward (1 references)
 pkts bytes target     prot opt in     out     source               destination
 1908 92020 pf_loopback_B  all  --  any    any     anywhere             anywhere
    0     0 ACCEPT     all  --  br-lan br-lan  anywhere             anywhere
 1908 92020 zone_wan_ACCEPT  all  --  any    any     anywhere             anywhere
    0     0 forwarding_lan  all  --  any    any     anywhere             anywhere
    0     0 zone_lan_REJECT  all  --  any    any     anywhere             anywhere

Chain zone_wan (1 references)
 pkts bytes target     prot opt in     out     source               destination
    2   120 ACCEPT     icmp --  any    any     anywhere             anywhere            icmp echo-request
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:ftp
 3679  189K ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:51413
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:9091
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:8081
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:ftp
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:www
   14  4592 ACCEPT     udp  --  any    any     anywhere             anywhere            udp dpt:bootpc
 7844  688K input_wan  all  --  any    any     anywhere             anywhere
 7844  688K zone_wan_REJECT  all  --  any    any     anywhere             anywhere

Chain zone_wan_ACCEPT (2 references)
 pkts bytes target     prot opt in     out     source               destination
 5829  330K ACCEPT     all  --  any    eth0.2  anywhere             anywhere
    0     0 ACCEPT     all  --  eth0.2 any     anywhere             anywhere

Chain zone_wan_DROP (0 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 DROP       all  --  any    eth0.2  anywhere             anywhere
    0     0 DROP       all  --  eth0.2 any     anywhere             anywhere

Chain zone_wan_MSSFIX (1 references)
 pkts bytes target     prot opt in     out     source               destination
 1906 91488 TCPMSS     tcp  --  any    eth0.2  anywhere             anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU

Chain zone_wan_REJECT (2 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 reject     all  --  any    eth0.2  anywhere             anywhere
 7844  688K reject     all  --  eth0.2 any     anywhere             anywhere

Chain zone_wan_forward (1 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 forwarding_wan  all  --  any    any     anywhere             anywhere
    0     0 zone_wan_REJECT  all  --  any    any     anywhere             anywhere

8

Odp: Problem z Transmission

Tak, masz otworzony. Tylko licznik ma 0 a to znaczy że żaden pakiet z wan do niego nie dotarł jeszcze.

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

9

Odp: Problem z Transmission

Witam , nie było mnie 2 dni,

sh: 1024: unknown operand jak zrobisz /etc/init.d/transmission start?

Zrób transmission-daemon -g /tmp/transmission i zobacz co zgłosi.

nic nie zgłosiło żadnych problemów

10

Odp: Problem z Transmission

No to gdzie masz ten błąd?

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

11

Odp: Problem z Transmission

no jest w trakcie właczania bądz restartowania

Booted from EXTERNALL ROOT
root@Gargoyle:~$ /etc/init.d/transmission start
sh: 1024: unknown operand
root@Gargoyle:~$

albo

root@Gargoyle:~$ /etc/init.d/transmission restart
sh: 1024: unknown operand
root@Gargoyle:~$

12

Odp: Problem z Transmission

Pokaż uci show transmission

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

13 (edytowany przez kecik18 2011-05-07 21:50:00)

Odp: Problem z Transmission

root@Gargoyle:~$ uci show transmission
uci: Parse error (too many arguments) at line 3, byte 69
root@Gargoyle:~$


wywala taki błąd

po poprawieniu

root@Gargoyle:~$ uci show transmission
transmission.@transmission[0]=transmission
transmission.@transmission[0].enabled=1
transmission.@transmission[0].config_dir=/mnt/Torrenty/torrenty/konfiguracja
transmission.@transmission[0].download_dir=/mnt/Torrenty/torrenty
transmission.@transmission[0].peer_port=55555
transmission.@transmission[0].rpc_enabled=true
transmission.@transmission[0].rpc_password=kosiarz!
transmission.@transmission[0].rpc_port=9091
transmission.@transmission[0].rpc_username=kecik18
transmission.@transmission[0].rpc_whitelist=127.0.0.1,192.168.1.*
transmission.@transmission[0].rpc_whitelist_enabled=false

14

Odp: Problem z Transmission

Tzn teraz po poprawieniu też masz w/w błąd?

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

15

Odp: Problem z Transmission

tez dalej przy starcie jest

16

Odp: Problem z Transmission

ustaw opcję open_file_limit na 32.

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

17 (edytowany przez kecik18 2011-05-07 22:06:58)

Odp: Problem z Transmission

ale gdzie ją mam ustawić w jakim pliku? ustawieniach konfiguracji transmission?

w settings.json jest tak ustawione

18

Odp: Problem z Transmission

uci set transmission.@transmission[0].open_file_limit=32
uci commit

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

19

Odp: Problem z Transmission

dzięki wielkie zadziałalo smile
co w tym momencie sie stało ??

20

Odp: Problem z Transmission

Ona musi być, bo skrypt od startu jej wymaga, a nie dostarcza wartości domyślniej. Przerobię to w następnej wersji, a teraz po prostu musisz tą opcję mieć.

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