Results 1 to 15 of 25

Thread: Transmission geht nicht :(

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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

  2. #2
    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

  3. #3
    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

  4. #4
    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.

  5. #5
    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

  6. #6
    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.

  7. #7
    Join Date
    Nov 2006
    Location
    Germany
    Posts
    118
    Quote Originally Posted by Razer View Post
    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
    das hast Du falsch verstanden, ist aber auch nciht ganz so ausführlich erklärt.
    Die Zeile
    Code:
    only_from = localhost 192.168.1.10/24
    muss bei Dir heisen:
    Code:
    only_from = localhost 192.168.1.0/24
    Änder das mal und starte Samba neu.
    Der automatische start von busybox_http sollte eigentlich ja über die rc.unslug passieren.

    Gruß Tobias

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
  •