Page 1 of 2 12 LastLast
Results 1 to 15 of 25

Thread: Transmission geht nicht :(

  1. #1

    Transmission geht nicht :(

    Hallo an alle,

    Ich habe Transmission nach Anleitung hier auf meinem Asus WL500gp installiert. Jedoch wenn ich watchdog_transmissin aufrufe, bekomme ich es wenn ich ps afx aufrufe nicht zu sehen. Hier der log:

    Code:
    [robert@router /]$ ps axf
      PID TTY      STAT   TIME COMMAND
        1 ?        S      0:01 /sbin/init
        2 ?        S      0:00 [keventd]
        3 ?        RN     0:04 [ksoftirqd_CPU0]
        4 ?        S      0:00 [kswapd]
        5 ?        S      0:00 [bdflush]
        6 ?        S      0:00 [kupdated]
        7 ?        S      0:00 [mtdblockd]
       59 ?        S      0:00 telnetd
       64 ?        S      0:00 httpd vlan1
       70 ?        S      0:00 syslogd -m 0 -O /tmp/syslog.log -S -l 7
       71 ?        S      0:00 klogd
       72 ?        S      0:00 dnsmasq
       77 ?        S      0:00 [khubd]
       85 ?        Ss     0:00 lpd
       87 ?        Ss     0:00 p9100d -f /dev/usb/lp0 0
       91 ?        Ss     0:00 waveservermain
       93 ?        Ss     0:00 rcamdmain
      100 ?        Ss     0:00 pppd file /tmp/ppp/options.wan0
      102 ?        Ss     0:00 infosvr br0
      103 ?        Ss     0:00 watchdog
      104 ?        Ss     0:00  \_ ntp
      123 ?        S      0:00 dropbear
      150 ?        Ss     0:01  \_ dropbear
      151 pts/0    Ss     0:00      \_ -sh
      189 pts/0    R+     0:00          \_ ps axf
      128 ?        S      0:00 [usb-storage-0]
      129 ?        S      0:00 [scsi_eh_0]
      132 ?        S      0:00 [kjournald]
      138 ?        S      0:00 [kjournald]
      144 ?        S      0:00 upnp -D -L br0 -W ppp0
    Auf wenn ich im Browser http://192.168.1.1:8008/cgi-bin/transmission.cgi eingebe, bekomme ich die Meldung

    Code:
    Firefox kann keine Verbindung zu dem Server unter 192.168.1.1:8008 aufbauen.
    Woran kann das liegen?
    Braucht ihr noch anderes Input?

    Ich hoffe es kann mir helfen
    Danke im Voraus
    Gruß Robert

  2. #2
    Ich habe nun auch Samba nah der Anleitung installiert. Doch auch das funktioniert nicht. weiß jemand woran das liegen kann?

    Hier ein ps afx;
    Code:
    [robert@router root]$ ps afx
      PID TTY      STAT   TIME COMMAND
        1 ?        S      0:01 /sbin/init
        2 ?        S      0:00 [keventd]
        3 ?        SN     0:00 [ksoftirqd_CPU0]
        4 ?        S      0:00 [kswapd]
        5 ?        S      0:00 [bdflush]
        6 ?        S      0:00 [kupdated]
        7 ?        S      0:00 [mtdblockd]
       59 ?        S      0:00 telnetd
      225 pts/0    Ss     0:00  \_ -sh
      228 pts/0    R+     0:00      \_ ps afx
       64 ?        S      0:08 httpd vlan1
       71 ?        S      0:00 klogd
       72 ?        S      0:00 dnsmasq
       73 ?        S      0:00 syslogd -m 0 -O /tmp/syslog.log -S -l 7
       74 ?        S      0:00 [khubd]
       82 ?        Ss     0:00 lpd
       84 ?        Ss     0:00 p9100d -f /dev/usb/lp0 0
       88 ?        Ss     0:00 waveservermain
       90 ?        Ss     0:00 rcamdmain
       97 ?        Ss     0:00 pppd file /tmp/ppp/options.wan0
       99 ?        Ss     0:00 infosvr br0
      100 ?        Ss     0:00 watchdog
      101 ?        Ss     0:00  \_ ntp
      110 ?        S      0:00 dropbear
      127 ?        S      0:00 [usb-storage-0]
      128 ?        S      0:00 [scsi_eh_0]
      133 ?        S      0:00 [kjournald]
      139 ?        S      0:00 [kjournald]
      190 ?        S      0:00 upnp -D -L br0 -W ppp0
    Transmission Config File:
    Code:
    #   Configuration
    #   NOTE: no spaces around the = sign
    #   the config will be sourced (eg. . transmission.conf)
    
    SOURCE=/tmp/hdd/torrent/source
    WORK=/tmp/hdd/torrent/work
    TARGET=/tmp/hdd/Torrent/target
    
    #MAILFROM=torrent@somedomain.com
    MAILOPT="-smail.somedomain.com -f"
    USER=admin
    GROUP=root
    DATE_FORMAT="%d %h %H:%M"
    
    # Transmission daemon variables
    PIDFILE=/opt/var/run/transmission.pid
    ACTIVE=/tmp/hdd/torrent/active-torrents.txt
    HOME=/tmp/hdd/torrent
    WATCHDOG=300
    LISTENING_PORT=65534
    # set SPEED in kB/s or -1 for unlimited
    UPLOAD_SPEED=-1
    DOWNLOAD_SPEED=-1
    #UPLOAD_SPEED=41
    #DOWNLOAD_SPEED=180
    # change SYSLOG from /tmp/syslog.log to
    SYSLOG=/opt/var/log/messages
    
    #Uncomment the following for UPNP NAT traversal
    #NAT_TRAVERSAL=--nat-traversal
    
    # Seed torrent after completition (YES or NO)
    AUTOSEED="YES"
    # If the following limit is reached watchdog will not enqueue new one
    MAX_ACTIVE_TORRENTS=10
    
    # Creating graphical log of transfer with gnuplot
    # can be very site specific issue. See transmission.cgi
    # how this variables are used.
    GNUPLOT=/opt/bin/gnuplot
    GNUPLOT_COMMAND=${WORK}/transfer.gnuplot
    GNUPLOT_DATA=${WORK}/transfer.data
    GNUPLOT_OUTPUT=/opt/share/www/transfer.png
    HTTP_IMG_LOCATION=../transfer.png
    #TZ offset in seconds. Use +- sign. DST manually
    TIMEZONE_OFFSET=+3600
    
    #Colors for command line. # comment out if not needed
    GREEN="\033[32;1m"
    #NC="\033[0m"
    #BACK_UP="\033[1K\033[0G"
    NORMAL="\033[0m"
    WARN="\033[33;1m"
    BAD="\033[31;1m"
    BOLD="\033[1m"
    GOOD="\033[32;1m"
    Das Samba Config File:
    Code:
    service swat
    {
            port    = 901
            socket_type     = stream
            wait    = no
            only_from = localhost 192.168.1.1/24
            user    = admin
            server  = /opt/sbin/swat
            log_on_failure  += USERID
            disable =  No
    }
    Ich hoffe es kann mir helfen.
    Danke im Voraus

    Gruß Robert

  3. #3
    Join Date
    Nov 2006
    Location
    Germany
    Posts
    118
    Hi Robert,

    sieht so aus als ob die installierten Programme nicht gestartet werden. Ist die rc.unslung vorhanden? Diese führt die Startscripte der einzelnen Programme unter /opt/etc/init.d aus. Wenn Du nach der Anleitung von Wengi installiert hast steht das da alles drin. Vielleicht vergessen +x zu setzen? Oder der klassische Vi Fehler, nicht vorher in den Insert Mode gegangen und nur die Hälfte des Scripts eingefügt?

    Gruß Tobias

    Tante Edit meint: Der Befehl heist übrigends transmission_watchdog um transmission händisch zu starten
    Last edited by FastJack; 09-10-2007 at 08:20.

  4. #4
    Hallo Tobias,

    rc.unslung ist vorhanden:

    Code:
     in /opt/etc/init.d/S??* ;do
    
     # Ignore dangling symlinks (if any).
     [ ! -f "$i" ] && continue
    
     case "$i" in
     *.sh)
     # Source shell script for speed.
     (
     trap - INT QUIT TSTP
     set start
     . $i
     )
     ;;
     *)
     # No sh extension, so fork subprocess.
     $i start
     ;;
     esac
    
     done
    Habs auch nochmal ausführbar gemacht.

    Wenn ich transmission_watchdog händisch ausführe, und danach ps afx mache, erscheint das nicht. Woran kan das liegen?

    Hier nochmal die Liste der aktiven Prozesse:

    Code:
    [robert@router root]$ ps afx
      PID TTY      STAT   TIME COMMAND
        1 ?        S      0:01 /sbin/init
        2 ?        S      0:00 [keventd]
        3 ?        SN     0:01 [ksoftirqd_CPU0]
        4 ?        S      0:00 [kswapd]
        5 ?        S      0:00 [bdflush]
        6 ?        S      0:00 [kupdated]
        7 ?        S      0:00 [mtdblockd]
       59 ?        S      0:01 telnetd
      277 pts/1    Ss     0:00  \_ -sh
      304 pts/1    R+     0:00      \_ ps afx
       64 ?        S      0:08 httpd vlan1
       71 ?        S      0:00 klogd
       72 ?        S      0:00 dnsmasq
       73 ?        S      0:00 syslogd -m 0 -O /tmp/syslog.log -S -l 7
       74 ?        S      0:00 [khubd]
       82 ?        Ss     0:00 lpd
       84 ?        Ss     0:00 p9100d -f /dev/usb/lp0 0
       88 ?        Ss     0:00 waveservermain
       90 ?        Ss     0:00 rcamdmain
       97 ?        Ss     0:00 pppd file /tmp/ppp/options.wan0
       99 ?        Ss     0:00 infosvr br0
      100 ?        Ss     0:00 watchdog
      101 ?        Ss     0:00  \_ ntp
      110 ?        S      0:00 dropbear
      127 ?        S      0:00 [usb-storage-0]
      128 ?        S      0:00 [scsi_eh_0]
      133 ?        S      0:00 [kjournald]
      139 ?        S      0:00 [kjournald]
      268 ?        S      0:02 upnp -D -L br0 -W ppp0
    [robert@router root]$
    Ich hab da echt keine Ahnung mehr.

    Gruß robert

  5. #5
    Join Date
    Nov 2006
    Location
    Germany
    Posts
    118
    Da haben wir denke ich den Fehler auch gefunden

    Diene rc.unslug stimmt nur auf den ersten Blick.
    da fehlt ein for am Anfang! Ohne das klappt natürlich eine for Schleife auch nicht.

    Code:
    for i in /opt/etc/init.d/S??* ;do
    
    # Ignore dangling symlinks (if any).
    [ ! -f "$i" ] && continue
    
    case "$i" in
    *.sh)
    # Source shell script for speed.
    (
    trap - INT QUIT TSTP
    set start
    . $i
    )
    ;;
    *)
    # No sh extension, so fork subprocess.
    $i start
    ;;
    esac
    
    done
    Ziemlich sicher so wie geschrieben, wenn man im Vi nicht vorher "i" drückt geht er nicht in den Insert Modus, sondern macht das erst bei dem ersten "i" das im Text kommt, und daher hast du das "for" vergessen.
    Korrigier das mal und probiers dann nochmal. sicherheitshalber vielleicht auch nochmal die Anderen Scripte mit der HowTo abgleichen.

    Den Befehl transmission_watchdog kennt er aber grundsätzlich? Probier mal trans in die Konsole eizugeben und drück dan ein paar mal die "Tab" Taste. Dann müsste er dir alle bekannten Befehle mit Trans am Anfang in der Konsole ausgeben.

    Gruß Tobias

    Edit: Noch ne Frage, nach welchem HowTo hast das installiert?
    Last edited by FastJack; 10-10-2007 at 07:26.

  6. #6
    OK, danke

    Ich werde das testen. Bin jetzt in der Schule, kann das erst am Abend machen.

    Ja, den transmission_watchdog Befehl kennt er.

    Ich hab nach dem HowTo hier im Sticky obe installiert.

    gruß robert

  7. #7
    Transmission läuft aber trotzdem nicht...

    Die Befehle hat er mit trans:
    Code:
    [robert@router root]$ trans
    transmission-cli        transmission-proxy      transmission_watchdog
    transmission-daemon     transmission-remote     transmissiond
    Transmission is stomit richtig installiert, doch es wird nicht ausgeführt

    Welches Input kann ich noch geben?

    Danke im Voraus
    Gruß Robert

  8. #8
    Join Date
    Nov 2006
    Location
    Germany
    Posts
    118
    Hi Robert, schade hatte gute hoffnung
    /usr/local/sbin/post-boot ist vorhanden? die muss ja auch da sien damit die rc.unslug ausgeführt wird?
    Also ich hab das auch anch wengis Tut installiert und bei mir hat alles wunderbar geklappt..
    ich würde vorschlagen geh nochmal das tut durch, vergleich die dateien ob auch alles da is und richtig eingefügt etc. Sonst hab ich im Moment auch nicht mehr so viel Ideen.

    Gruß Tobias

  9. #9
    Ja ist vorhanden:

    Code:
    #!/bin/sh
    dropbear
    # test if USB disc has been attached
    # if not - then insert needed modules
    #
    # die folgenden 4 Rauten entfernen, wenn eine USB-Platte angeschlossen ist. Beim WL-HDD nicht notwendig, da IDE.
    if [ ! -d /dev/discs ]
    then
    insmod scsi_mod && insmod sd_mod && insmod usb-storage && sleep 5s
    fi
    
    #Wait for /opt to mount
    mount /dev/discs/disc0/part8 /opt
    i=0
    while [ $i -le 30 ]
    do
    if [ -d /opt/etc ]
    then
    break
    fi
    sleep 1
    i=`expr $i + 1`
    done
    
    # Activate swap
    swapon /dev/discs/disc0/part7
    
    # Directory for Data space
    mkdir /tmp/hdd
    
    # Mount the rest
    mount /dev/discs/disc0/part9 /tmp/hdd
    
    # Run all active services - active means starts with S
    /opt/etc/init.d/rc.unslung
    Ich werd mir alles nochmal genau anschauen.

    Gruß Robert

  10. #10
    Juhu es läuft

    Code:
    [robert@router root]$ ps axf
      PID TTY      STAT   TIME COMMAND
        1 ?        S      0:01 /sbin/init
        2 ?        S      0:00 [keventd]
        3 ?        SN     0:00 [ksoftirqd_CPU0]
        4 ?        S      0:00 [kswapd]
        5 ?        S      0:00 [bdflush]
        6 ?        S      0:00 [kupdated]
        7 ?        S      0:00 [mtdblockd]
       59 ?        S      0:00 telnetd
      152 pts/0    Ss     0:00  \_ -sh
      192 pts/0    R+     0:00      \_ ps axf
       64 ?        S      0:00 httpd vlan1
       71 ?        S      0:00 klogd
       72 ?        S      0:00 dnsmasq
       73 ?        S      0:00 syslogd -m 0 -O /tmp/syslog.log -S -l 7
       74 ?        S      0:00 [khubd]
       82 ?        Ss     0:00 lpd
       84 ?        Ss     0:00 p9100d -f /dev/usb/lp0 0
       88 ?        Ss     0:00 waveservermain
       90 ?        Ss     0:00 rcamdmain
       97 ?        Ss     0:00 pppd file /tmp/ppp/options.wan0
       99 ?        Ss     0:00 infosvr br0
      100 ?        Ss     0:00 watchdog
      101 ?        Ss     0:00  \_ ntp
      112 ?        S      0:00 dropbear
      129 ?        S      0:00 [usb-storage-0]
      130 ?        S      0:00 [scsi_eh_0]
      133 ?        S      0:00 [kjournald]
      139 ?        S      0:00 [kjournald]
      150 ?        S      0:00 upnp -D -L br0 -W ppp0
      183 ?        Ss     0:00 transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var/run/transmission.pid /tmp/hdd/torrent/active-torrents.txt
      186 ?        S      0:00  \_ transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var/run/transmission.pid /tmp/hdd/torrent/active-torrents.txt
      187 ?        S      0:00      \_ transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var/run/transmission.pid /tmp/hdd/torrent/active-torrents.txt
      188 ?        S      0:00      \_ transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var/run/transmission.pid /tmp/hdd/torrent/active-torrents.txt
    Das Webinterface geht aber noch icht (wenn ich http://192.168.1.1:8008/cgi-bin/transmission.cgi in den Browser eingebe)

    Woran liegt denn das?

    Gruß Robert

  11. #11
    Join Date
    Nov 2006
    Location
    Germany
    Posts
    118
    glückwunsch Robert, woran hats gelegen?
    Also das Webinterface wird über /opt/etc/init.d/S80busybox_httpd gestartet.
    Das muss auf jedenfall vorhanden sein (sollte bei der Transmission installation angelegt wordne sein) dort wird der busybox http Server mit Listening Port 8008 gestartet so das Du dein Transmisson übers das Webinterface kontrollieren kanns.

    Vielleicht hilft Dir das schon weiter.

    Gruß Tobias

  12. #12
    In einem Skript, hatt ich einen ähnlichen Copy&Paste Fehler.

    Hier die /opt/etc/init.d/S80busybox_httpd:

    Code:
    #!/bin/sh
    
    PATH=/sbin:/bin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin
    
    # Uncomment path to busybox httpd to enable startup
    BUSYBOX_HTTPD=/usr/sbin/busybox_httpd
    
    HTTPD_CONFIG=/opt/etc/httpd.conf
    LISTENING_PORT=8008
    INDEX=/opt/share/www/index.html
    
    check_config(){
      if [ ! -r ${HTTPD_CONFIG} ]; then
      echo "Creating default ${HTTPD_CONFIG}"
      cat > ${HTTPD_CONFIG} << __EOF__
    # httpd.conf has the following format:
    #
    # A:172.20.         # Allow address from 172.20.0.0/16
    # A:10.0.0.0/25     # Allow any address from 10.0.0.0-10.0.0.127
    # A:10.0.0.0/255.255.255.128  # Allow any address that previous set
    # A:127.0.0.1       # Allow local loopback connections
    # D:*               # Deny from other IP connections
    # /cgi-bin:foo:bar  # Require user foo, pwd bar on urls starting with /cgi-bin/
    # /adm:admin:setup  # Require user admin, pwd setup on urls starting with /adm/
    # /adm:toor:PaSsWd  # or user toor, pwd PaSsWd on urls starting with /adm/
    # .au:audio/basic   # additional mime type for audio.au files
    #
    # A/D may be as a/d or allow/deny - first char case insensitive
    # Deny IP rules take precedence over allow rules.
    #
    #
    # The Deny/Allow IP logic:
    #
    #  - Default is to allow all.  No addresses are denied unless
    #         denied with a D: rule.
    #  - Order of Deny/Allow rules is significant
    #  - Deny rules take precedence over allow rules.
    #  - If a deny all rule (D:*) is used it acts as a catch-all for unmatched
    #       addresses.
    #  - Specification of Allow all (A:*) is a no-op
    #
    # Example:
    #   1. Allow only specified addresses
    #     A:172.20          # Allow any address that begins with 172.20.
    #     A:10.10.          # Allow any address that begins with 10.10.
    #     A:127.0.0.1       # Allow local loopback connections
    #     D:*               # Deny from other IP connections
    #
    #   2. Only deny specified addresses
    #   2. Only deny specified addresses
    #     D:1.2.3.        # deny from 1.2.3.0 - 1.2.3.255
    #     D:2.3.4.        # deny from 2.3.4.0 - 2.3.4.255
    #     A:*             # (optional line added for clarity)
    #
    # If a sub directory contains a config file it is parsed and merged with
    # any existing settings as if it was appended to the original configuration.
    #
    # subdir paths are relative to the containing subdir and thus cannot
    # affect the parent rules.
    #
    # Note that since the sub dir is parsed in the forked thread servicing the
    # subdir http request, any merge is discarded when the process exits.  As a
    # result, the subdir settings only have a lifetime of a single request.
    #
    A:*
    #/cgi-bin:${USER}:password
    .au:audio/basic
    .asp:text/html
    __EOF__
      fi
    }
    
    start() {
      if [ ! -x "${BUSYBOX_HTTPD}" ]; then
            echo "busybox httpd ${BUSYBOX_HTTPD} not started."
            exit 2
      fi
      check_config
      echo -n "Starting busybox httpd at port ${LISTENING_PORT} ... "
      ${BUSYBOX_HTTPD} -c ${HTTPD_CONFIG} -p ${LISTENING_PORT} -h /opt/share/www
      echo "done"
    }
    
    stop() {
            echo -n "Shutting down busybox httpd... "
            killall busybox_httpd
            echo "done"
    }
    
    case "$1" in
            start)
                    start
                    ;;
            stop)
                    stop
                    ;;
            restart)
                    stop
                    sleep 1
                    start
                    ;;
            *)
                    echo "Usage: $0 (start|stop|restart)"
                    exit 1
                    ;;
    esac
    An der hab ich nichts geändert. Muss ich im Webinterface noch was einstellen?

    Gruß Robert

  13. #13
    Join Date
    Nov 2006
    Location
    Germany
    Posts
    118
    ne musst da auch nichts einstellen. Was passiert wenn Du im init.d
    ./S80busybox_httpd start eingibst?
    Code:
    220 ?        S      0:00 /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 8008 -h /opt/share/www
    sollte dann im ps axf auftauchen. Wenn nicht kontrollieren ob busybox_httpd überhaupt da ist im /usr/sbin.

  14. #14
    So jetzt ists gestartet DANKE

    Im Webinterface bekomme ich aber. syslog: /opt/var/log/messages unavailable for transfer stats!

    Dan nochwas, ich möchte, dass das ganze nun auch nach nem reboot startet. Dann muss ich das ins post-boot skript schreiben, oder?

    Gruß Robert

  15. #15
    So Syslog geht jetzt richtig, nur Samba will noch nicht

    Hier die Samba Konfigurationsdatei:
    Code:
    service swat
    {
            port    = 901
            socket_type     = stream
            wait    = no
            only_from = localhost 192.168.1.10/24
            user    = admin
            server  = /opt/sbin/swat
            log_on_failure  += USERID
            disable =  No
    }
    Gruß Robert
    Last edited by Razer; 11-10-2007 at 19:52.

Page 1 of 2 12 LastLast

Similar Threads

  1. FTP zu externem Server geht nicht
    By huuk in forum German Discussion - Deutsch (DE)
    Replies: 25
    Last Post: 17-09-2008, 13:35
  2. Transmission autoprocession
    By FastJack in forum German Discussion - Deutsch (DE)
    Replies: 0
    Last Post: 05-10-2007, 07:40
  3. Understanding and debugging Transmission [oleo?]
    By wengi in forum WL-500gP Q&A
    Replies: 66
    Last Post: 05-08-2007, 09:36
  4. Transmission ... seltsame Effekte im WEBIF ...
    By Martin1802 in forum German Discussion - Deutsch (DE)
    Replies: 4
    Last Post: 24-05-2007, 12:29
  5. Samba einrichten geht nicht
    By fred4711 in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 01-01-2007, 23:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •