freetz im 7390-branch + transmission

Status
Für weitere Antworten geschlossen.
C

colonia27

Guest
Moin zusammen,
ich hatte im Freetz für die 7390 Tread mein Problem schonmal angerissen.
Allerdings passt es dort nicht wirklich hin, da freetz an sich ja für die Box relativ gut läuft und, zumindest bei mir, in den meisten fällen auch sauber gebaut wird.

Make läuft aber nur durch, solange ich transmission NICHT mitbauen lasse. Sobald ich es in den Paketen auwähle, fällt make mit folgendem Fehler auf die Nase:
Code:
configure: Added /home/guido/freetz/7390/trunk_5258/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mips-linux-uclibc/usr/lib to LD_LIBRARY_PATH
configure: WARNING: zlib disabled
checking default CA cert bundle/path... no
checking for libssh2_channel_open_ex in -lssh2... no
checking libssh2.h usability... no
checking libssh2.h presence... no
checking for libssh2.h... no
checking for RTMP_Init in -lrtmp... no
checking librtmp/rtmp.h usability... no
checking librtmp/rtmp.h presence... no
checking for librtmp/rtmp.h... no
checking whether to build with libidn... no
checking for ANSI C header files... (cached) yes
checking for malloc.h... (cached) yes
checking for memory.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for assert.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for limits.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for net/if.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for netinet/tcp.h... (cached) yes
checking for netdb.h... (cached) yes
checking for sys/sockio.h... (cached) no
checking for sys/stat.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for termios.h... (cached) yes
checking for termio.h... (cached) yes
checking for sgtty.h... yes
checking for fcntl.h... (cached) yes
checking for alloca.h... yes
checking for time.h... (cached) yes
checking for io.h... no
checking for pwd.h... (cached) yes
checking for utime.h... (cached) yes
checking for sys/utime.h... no
checking for sys/poll.h... (cached) yes
checking for poll.h... (cached) yes
checking for socket.h... no
checking for sys/resource.h... (cached) yes
checking for libgen.h... (cached) yes
checking for locale.h... (cached) yes
checking for errno.h... (cached) yes
checking for stdbool.h... (cached) yes
checking for arpa/tftp.h... yes
checking for sys/filio.h... (cached) no
checking for setjmp.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for compiler support of C99 variadic macro style... yes
checking for compiler support of old gcc variadic macro style... yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for struct timeval... yes
checking size of size_t... (cached) 4
checking size of long... (cached) 4
checking size of int... (cached) 4
checking size of short... (cached) 2
checking size of time_t... (cached) 4
checking size of off_t... (cached) 8
checking for long long... (cached) yes
checking if numberLL works... yes
checking for ssize_t... (cached) yes
checking for bool... yes
checking for windows.h... (cached) no
checking for winsock2.h... (cached) no
checking for ws2tcpip.h... (cached) no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for curl_socklen_t data type... socklen_t
checking size of curl_socklen_t... 4
checking for in_addr_t... (cached) yes
checking for struct sockaddr_storage... (cached) yes
checking for signal.h... (cached) yes
checking for sig_atomic_t... (cached) yes
checking if sig_atomic_t is already defined as volatile... no
checking return type of signal handlers... (cached) void
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for select... yes
checking types of args and return type for select... int,fd_set *,struct timeval *,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recv... yes
checking types of args and return type for recv... int,void *,size_t,int,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recvfrom... yes
checking types of args and return type for recvfrom... int,void *,size_t,int,struct sockaddr *,socklen_t *,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for send... yes
checking types of args and return type for send... int,const void *,size_t,int,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for MSG_NOSIGNAL... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking if alarm can be linked... yes
checking if alarm is prototyped... yes
checking if alarm is compilable... yes
checking if alarm usage allowed... yes
checking if alarm might be used... yes
checking for sys/types.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for libgen.h... (cached) yes
checking if basename can be linked... yes
checking if basename is prototyped... yes
checking if basename is compilable... yes
checking if basename usage allowed... yes
checking if basename might be used... yes
checking for sys/types.h... (cached) yes
checking for socket.h... (cached) no
checking if closesocket can be linked... no
checking if closesocket might be used... no
checking if CloseSocket can be linked... no
checking if CloseSocket might be used... no
checking if connect can be linked... yes
checking if connect is prototyped... yes
checking if connect is compilable... yes
checking if connect usage allowed... yes
checking if connect might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking if fcntl can be linked... yes
checking if fcntl is prototyped... yes
checking if fcntl is compilable... yes
checking if fcntl usage allowed... yes
checking if fcntl might be used... yes
checking if fcntl O_NONBLOCK is compilable... yes
checking if fcntl O_NONBLOCK usage allowed... yes
checking if fcntl O_NONBLOCK might be used... yes
checking for sys/types.h... (cached) yes
checking for stdio.h... (cached) yes
checking if fdopen can be linked... yes
checking if fdopen is prototyped... yes
checking if fdopen is compilable... yes
checking if fdopen usage allowed... yes
checking if fdopen might be used... yes
checking for sys/types.h... (cached) yes
checking for netdb.h... (cached) yes
checking if freeaddrinfo can be linked... yes
checking if freeaddrinfo is prototyped... yes
checking if freeaddrinfo is compilable... yes
checking if freeaddrinfo usage allowed... yes
checking if freeaddrinfo might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for ifaddrs.h... no
checking if freeifaddrs can be linked... no
checking if freeifaddrs might be used... no
checking if ftruncate can be linked... yes
checking if ftruncate is prototyped... yes
checking if ftruncate is compilable... yes
checking if ftruncate usage allowed... yes
checking if ftruncate might be used... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking if getaddrinfo can be linked... yes
checking if getaddrinfo is prototyped... yes
checking if getaddrinfo is compilable... yes
checking if getaddrinfo usage allowed... yes
checking if getaddrinfo might be used... yes
checking if getaddrinfo is threadsafe... yes
checking if gethostbyaddr can be linked... yes
checking if gethostbyaddr is prototyped... yes
checking if gethostbyaddr is compilable... yes
checking if gethostbyaddr usage allowed... yes
checking if gethostbyaddr might be used... yes
checking if gethostbyaddr_r can be linked... yes
checking if gethostbyaddr_r is prototyped... yes
checking if gethostbyaddr_r takes 5 args.... no
checking if gethostbyaddr_r takes 7 args.... no
checking if gethostbyaddr_r takes 8 args.... yes
checking if gethostbyaddr_r is compilable... yes
checking if gethostbyaddr_r usage allowed... yes
checking if gethostbyaddr_r might be used... yes
checking if gethostbyname can be linked... yes
checking if gethostbyname is prototyped... yes
checking if gethostbyname is compilable... yes
checking if gethostbyname usage allowed... yes
checking if gethostbyname might be used... yes
checking if gethostbyname_r can be linked... yes
checking if gethostbyname_r is prototyped... yes
checking if gethostbyname_r takes 3 args.... no
checking if gethostbyname_r takes 5 args.... no
checking if gethostbyname_r takes 6 args.... yes
checking if gethostbyname_r is compilable... yes
checking if gethostbyname_r usage allowed... yes
checking if gethostbyname_r might be used... yes
checking if gethostname can be linked... yes
checking if gethostname is prototyped... yes
checking if gethostname is compilable... yes
checking if gethostname usage allowed... yes
checking if gethostname might be used... yes
checking if getifaddrs can be linked... no
checking if getifaddrs might be used... no
checking if getservbyport_r can be linked... yes
checking if getservbyport_r is prototyped... yes
checking if getservbyport_r takes 4 args.... no
checking if getservbyport_r takes 5 args.... no
checking if getservbyport_r takes 6 args.... yes
checking if getservbyport_r is compilable... yes
checking if getservbyport_r usage allowed... yes
checking if getservbyport_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking if gmtime_r can be linked... yes
checking if gmtime_r is prototyped... yes
checking if gmtime_r is compilable... yes
checking if gmtime_r usage allowed... yes
checking if gmtime_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking if inet_ntoa_r can be linked... yes
checking if inet_ntoa_r is prototyped... no
checking if inet_ntoa_r might be used... no
checking if inet_ntop can be linked... yes
checking if inet_ntop is prototyped... yes
checking if inet_ntop is compilable... yes
checking if inet_ntop usage allowed... yes
checking if inet_ntop might be used... yes
checking if inet_pton can be linked... yes
checking if inet_pton is prototyped... yes
checking if inet_pton is compilable... yes
checking if inet_pton usage allowed... yes
checking if inet_pton might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for stropts.h... (cached) no
checking if ioctl can be linked... yes
checking if ioctl is prototyped... yes
checking if ioctl is compilable... yes
checking if ioctl usage allowed... yes
checking if ioctl might be used... yes
checking if ioctl FIONBIO is compilable... yes
checking if ioctl FIONBIO usage allowed... yes
checking if ioctl FIONBIO might be used... yes
checking if ioctl SIOCGIFADDR is compilable... yes
checking if ioctl SIOCGIFADDR usage allowed... yes
checking if ioctl SIOCGIFADDR might be used... yes
checking if ioctlsocket can be linked... no
checking if ioctlsocket might be used... no
checking if IoctlSocket can be linked... no
checking if IoctlSocket might be used... no
checking if localtime_r can be linked... yes
checking if localtime_r is prototyped... yes
checking if localtime_r is compilable... yes
checking if localtime_r usage allowed... yes
checking if localtime_r might be used... yes
checking if memrchr can be linked... yes
checking if memrchr is prototyped... yes
checking if memrchr is compilable... yes
checking if memrchr usage allowed... yes
checking if memrchr might be used... yes
checking for sys/types.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking if poll can be linked... yes
checking if poll is prototyped... yes
checking if poll is compilable... yes
checking if poll usage allowed... yes
checking if poll might be used... yes
checking if setsockopt can be linked... yes
checking if setsockopt is prototyped... yes
checking if setsockopt is compilable... yes
checking if setsockopt usage allowed... yes
checking if setsockopt might be used... yes
checking if setsockopt SO_NONBLOCK is compilable... no
checking if setsockopt SO_NONBLOCK might be used... no
checking for sys/types.h... (cached) yes
checking for signal.h... (cached) yes
checking if sigaction can be linked... yes
checking if sigaction is prototyped... yes
checking if sigaction is compilable... yes
checking if sigaction usage allowed... yes
checking if sigaction might be used... yes
checking if siginterrupt can be linked... yes
checking if siginterrupt is prototyped... yes
checking if siginterrupt is compilable... yes
checking if siginterrupt usage allowed... yes
checking if siginterrupt might be used... yes
checking if signal can be linked... yes
checking if signal is prototyped... yes
checking if signal is compilable... yes
checking if signal usage allowed... yes
checking if signal might be used... yes
checking for sys/types.h... (cached) yes
checking for setjmp.h... (cached) yes
checking if sigsetjmp can be linked... no
checking if sigsetjmp seems a macro... yes
checking if sigsetjmp is compilable... yes
checking if sigsetjmp usage allowed... yes
checking if sigsetjmp might be used... yes
checking if socket can be linked... yes
checking if socket is prototyped... yes
checking if socket is compilable... yes
checking if socket usage allowed... yes
checking if socket might be used... yes
checking if strcasecmp can be linked... yes
checking if strcasecmp is prototyped... yes
checking if strcasecmp is compilable... yes
checking if strcasecmp usage allowed... yes
checking if strcasecmp might be used... yes
checking if strcasestr can be linked... yes
checking if strcasestr is prototyped... yes
checking if strcasestr is compilable... yes
checking if strcasestr usage allowed... yes
checking if strcasestr might be used... yes
checking if strcmpi can be linked... no
checking if strcmpi might be used... no
checking if strdup can be linked... yes
checking if strdup is prototyped... yes
checking if strdup is compilable... yes
checking if strdup usage allowed... yes
checking if strdup might be used... yes
checking if strerror_r can be linked... no
checking if strerror_r might be used... no
checking if stricmp can be linked... no
checking if stricmp might be used... no
checking if strlcat can be linked... yes
checking if strlcat is prototyped... yes
checking if strlcat is compilable... yes
checking if strlcat usage allowed... yes
checking if strlcat might be used... yes
checking if strncasecmp can be linked... yes
checking if strncasecmp is prototyped... yes
checking if strncasecmp is compilable... yes
checking if strncasecmp usage allowed... yes
checking if strncasecmp might be used... yes
checking if strncmpi can be linked... no
checking if strncmpi might be used... no
checking if strnicmp can be linked... no
checking if strnicmp might be used... no
checking if strstr can be linked... yes
checking if strstr is prototyped... yes
checking if strstr is compilable... yes
checking if strstr usage allowed... yes
checking if strstr might be used... yes
checking if strtok_r can be linked... yes
checking if strtok_r is prototyped... yes
checking if strtok_r is compilable... yes
checking if strtok_r usage allowed... yes
checking if strtok_r might be used... yes
checking if strtoll can be linked... yes
checking if strtoll is prototyped... yes
checking if strtoll is compilable... yes
checking if strtoll usage allowed... yes
checking if strtoll might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking if writev can be linked... yes
checking if writev is prototyped... yes
checking if writev is compilable... yes
checking if writev usage allowed... yes
checking if writev might be used... yes
checking for fork... (cached) yes
checking for geteuid... (cached) yes
checking for getpass_r... no
checking deeper for getpass_r... but still no
checking for getppid... yes
checking for getprotobyname... yes
checking for getpwuid... (cached) yes
checking for getrlimit... (cached) yes
checking for gettimeofday... (cached) yes
checking for inet_addr... (cached) yes
checking for perror... yes
checking for pipe... yes
checking for setlocale... (cached) yes
checking for setmode... no
checking deeper for setmode... but still no
checking for setrlimit... yes
checking for uname... (cached) yes
checking for utime... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netdb.h... (cached) yes
checking for getnameinfo... yes
checking types of arguments for getnameinfo... const struct sockaddr *,socklen_t,size_t,unsigned int
checking for stdio.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for working NI_WITHSCOPEID... no
checking whether to enable non-blocking communications... yes
checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
checking for perl... (cached) /usr/bin/perl
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking how to use *nroff to get plain text from man pages... failed
configure: WARNING: found no *nroff option to get plaintext from man pages
configure: WARNING: disabling built-in manual
checking whether to enable the threaded resolver... no
checking whether to enable verbose strings... no
checking whether to enable SSPI support (Windows native builds only)... no
checking whether to enable cryptographic authentication methods... yes
checking whether to enable support for cookies... yes
checking whether to enable hidden symbols in the library... no
checking whether to enforce SONAME bump... no
sort: error while loading shared libraries: /home/guido/freetz/7390/trunk_5258/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mips-linux-uclibc/usr/lib/libpthread.so.0: ELF file data encoding not little-endian
sort: error while loading shared libraries: /home/guido/freetz/7390/trunk_5258/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mips-linux-uclibc/usr/lib/libpthread.so.0: ELF file data encoding not little-endian
configure: updating cache /home/guido/freetz/7390/trunk_5258/source/target-mips_uClibc-0.9.29/config.cache
configure: creating ./config.status
/bin/bash: error while loading shared libraries: /home/guido/freetz/7390/trunk_5258/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mips-linux-uclibc/usr/lib/libncurses.so.5: ELF file data encoding not little-endian
sort: error while loading shared libraries: /home/guido/freetz/7390/trunk_5258/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mips-linux-uclibc/usr/lib/libpthread.so.0: ELF file data encoding not little-endian
sort: error while loading shared libraries: /home/guido/freetz/7390/trunk_5258/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mips-linux-uclibc/usr/lib/libpthread.so.0: ELF file data encoding not little-endian

ERROR: Build failed.
make: *** [source/target-mips_uClibc-0.9.29/curl-7.21.0/.configured] Fehler 1
guido@eeepc:~/freetz/7390/trunk_5258$
Anbei nochmal meine .config. Lasst euch nicht von den anderen Paketen irritieren.
Die laufen alle sauber durch, erst bei anwahl von transmission kommt obiger Fehler.

Gebt mir Hinweise, was ich sonst noch an Infos liefern darf.
 

Anhänge

  • config_r5258.txt
    22.7 KB · Aufrufe: 6
Auch wenn das wohl noch nicht wirklich hilft: Es liegt wohl nicht am transmission selbst, sondern an der (vom transmission gewählten) curl-Library:
Code:
make: *** [source/target-mips_uClibc-0.9.29/[B]curl-7.21.0[/B]/.configured] Fehler 1

Jörg
 
Code:
configure: Added /home/guido/freetz/7390/trunk_5258/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mips-linux-uclibc/usr/lib to LD_LIBRARY_PATH

Das Problem ist gleich am Anfang:
Das Library-Verzeichnis wird in den LD_LIBRARY_PATH des Hosts mit aufgenommen. Naturgemäß passen aber die Libraries für die Box nicht zum Host.

Interessant ist aber, warum es nur beim Aufruf von sort dieses Problem gibt und nicht beim Aufruf von allen Programmen.
 
Curl hatten wir ja in dem anderen Thread schon in verdacht.
Und von dem was du, Ralf, sagst versteh ich nichtmal Bahnhof. :blonk:
Kan ich denn weitere Infos liefern um euch die Fehlersuche (sofern ihr überhaupt Lust habt) zu erleichtern?
Btw: nachträglich noch Glückwunsch zum 7k :)
 
Ich kann den Fehler bei mir nicht nachvollziehen. Wobei ich diese Zeile mit dem LD_LIBRARY_PATH auch bekomme.

MfG Oliver
 
Danke.

LD_LIBRARY_PATH gibt an, wo dynamische Libraries (bei Windows DLLs) gesucht werden sollen. Hier wird das Verzeichnis, in dem die Libraries für die Box liegen, angegeben. Das Host-System versucht daher, Libraries zu laden, die für die Box gedacht sind. Das kann nicht funktionieren.

Bei mir kommt übrigens die gleiche Meldung mit LD_LIBRARY_PATH, aber es funktioniert ohne Probleme.

Was sagt denn bei Dir ldd? Bei mir verwendet sort gar kein pthread.
Code:
ldd /usr/bin/sort
LD_LIBRARY_PATH=/home/guido/freetz/7390/trunk_5258/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mips-linux-uclibc/usr/lib ldd /usr/bin/sort

@olistudent
Versuchst Du es auch mit der 7390-Variante?
Vielleicht gibt es Unterschiede auf dem Host-System.
 
Oliver, wie Ralf schon fragte: NImmst du denn auch den 7390-branch?
Im normalen trunk kompiliert ja für die anderen Boxen transmission ganz normal.

@Ralf: falls deine Fragen an mich gerichtet waren, ich versteh's nicht. Wenn ich "ldd" ausführe kommt folgendes:
Code:
guido@eeepc:~$ ldd /usr/bin/sort
    linux-gate.so.1 =>  (0x006fa000)
    librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00fa4000)
    libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x004c0000)
    libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x002ff000)
    /lib/ld-linux.so.2 (0x00f24000)
das hab ich jetzt direkt auf meinem builsystem aufgerufen, sprich natives Ubuntu 10.04
Ich sagte ja, von sowas hab ich keinen Plan..... leider.

Übrigens Ralf die von dir zitierte Zeile in #3 muss nicht umbedingt was heißen.
Ist reiner Zufall, daß ich den log von dort an gepostet habe.
 
Ob Zufall oder nicht Zufall, das ist die Zeile, die dafür von Bedeutung ist. Die Frage mit ldd war an Dich gerichtet, denn bei Dir tritt ja das Problem auf, bei Oliver und mir nicht (bei mir ist aber auch nicht 7390 ausgewählt).

Bei mir zeit ldd das an:
Code:
$ ldd /usr/bin/sort
        linux-vdso.so.1 =>  (0x00007fffc43ff000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f46272ef000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f462764a000)
Also kein pthread. Ich vermute mal, daß es bei Oliver auch so ist, und er daher auch keine Probleme damit hat.

Wenn ich mit gesetztem LD_LIBRARY_PATH ein Programm aufrufe, dsa pthread nutzt, dann wird die Library zwar gelesen, aber ignoriert und danach die richtige genommen.

Ich sehe gerade, auf einem neueren System verwendet auch bei mir sort die pthread library.
 
Wie wärs mit einem Patch? Abgeschaut von hier.

MfG Oliver
 

Anhänge

  • curl.patch.txt
    2.7 KB · Aufrufe: 17
(bei mir ist aber auch nicht 7390 ausgewählt).
Da liegt ja scheinbar der Hund begraben denn mit dem normalen trunk und z.B. einiem Image für die 7270 läuft ja alles astrein. Darum versteh ich das ja nicht. Ich als Ahnungsloser geh davon aus, wenn der
7390-branch mit dem trunk gesynct wird passt doch alles. Scheinbar hat die Box aber doch ihre Eigenarten, oder was auch immer.

Wie wärs mit einem Patch? Abgeschaut von hier.
Damit überforderst du micht aber jetzt echt. :-Ö
Aber testen wrd ich den patch morgen mal im Laufe des Tages wenns die Zeit zu lässt

[EDIT] was auch immer der Patch macht, hab ihn dann doch auf die Schnelle noch getestet.
Er scheint zu funtionieren, make läuft sauber durch und das Image ließ sich sauber flashen.
Ob transmission wirklich funtioniert kann ich momentan nicht probieren, das dauert noch ein paar Tage bis zur vollständigen Umstellung von 1und1 auf KD.

Ich geh aber mal davon aus, das es funzt. Aber wer erklärt mir nun was der Patch macht? :oops:
 
@olistudent
Der Patch sieht gut aus.

@colonia27
Wie man an der Ausgabe von ldd bei mir sehen kann, wäre es auch bei mir für die 7390 durchgelaufen, weil mein sort nicht libpthread verwendet.

Das Problem tritt nur dann auf, wenn folgende Bedingungen zusammen kommen:
  • Das configure-Skript setzt LD_LIBRARY_PATH (tut es immer, sofern nicht durch obigen Patch entfernt).
  • Auf dem Host-System ist eine neue Version von sort, die libpthread verwendet.
  • Es wird ein Image für die 7390 erstellt (andere Byte-Reihenfolge als auf dem Host-System, im Gegensatz zur 7270).
  • Der Dynamische Linker ist so blöd, daß er keine weitere Datei mehr probiert, nachdem er feststellt, daß die Byte-Reihenfolge falsch ist. (Wenn aber die Byte-Reihenfolge richtig ist und "nur" die Architektur falsch, dann stört sich auch Dein Linker nicht, sonst hättest Du auch ein Problem beim Erstellen für die 7270 bei gleicher Konfiguration.)
 
Morgen allerseits,
wie oben schon berichtet, läuft der build für transmission mit Olivers Patch ja nun durch.
Wie ich nun testen konnte, lässt sich dieser allerdings nicht starten. (ich vermute mal fast, daß es evtl. mit den derzeitigen Arbeiten an den rc-scipten zu tun hat. Wenn nicht korrigiert mich)
Beim Starten über den Button im freetz-IF kommt nur:
Starting transmission daemon... failed.
Syslog sagt.
Code:
Jul 19 09:20:16 fritz user.err syslog: transmission-daemon Error loading config file -- exiting. (daemon.c:431)
Der Start auf der Konsole funktioniert hingegen:
Code:
/var/mod/root # sh -x /etc/init.d/rc.transmission start
+ DAEMON=transmission
+ DAEMON_BIN=transmission-daemon
+ PID_FILE=/var/run/transmission.pid
+ . /etc/init.d/modlibrc
+ export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/mod/sbin:/mod/bin:/mod/usr/sbin:/mo
d/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ : transmission
+ : transmission
+ : transmission_ENABLED
+ : transmission-daemon
+ : /var/run/transmission.pid
+ [ -n transmission ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/transmission.cfg
+ [ ! -r /mod/etc/conf/transmission.cfg ]
+ . /mod/etc/conf/transmission.cfg
+ export TRANSMISSION_BASEDIR=/var/media/ftp/xxxxxxx/transmission
+ export TRANSMISSION_CONFIGDIR=/var/media/ftp/xxxxxxx/transmission/config
+ export TRANSMISSION_DOWNLOADDIR=/var/media/ftp/xxxxxxx/transmission/download
+ export TRANSMISSION_ENABLED=no
+ export TRANSMISSION_FINISHDIR=
+ export TRANSMISSION_GLOBALPEERLIMIT=200
+ export TRANSMISSION_INCOMPLETEDIR=/var/media/ftp/xxxxxxx/transmission/download
/incomplete
+ export TRANSMISSION_LOGLEVEL=1
+ export TRANSMISSION_NICE=5
+ export TRANSMISSION_PEERENCRYPTIONMODE=ENCRYPTION_PREFERRED
+ export TRANSMISSION_PEERPORT=xxxxxxx
+ export TRANSMISSION_RATIO=-1
+ export TRANSMISSION_RPCPASSWORD=xxxxxxx
+ export TRANSMISSION_RPCPORT=xxxxxxx
+ export TRANSMISSION_RPCUSERNAME=xxxxxxx
+ export TRANSMISSION_RPCWHITELIST=xxxxxxx
+ export TRANSMISSION_TORRENTPEERLIMIT=80
+ export TRANSMISSION_USEBLOCKLIST=yes
+ export TRANSMISSION_USEDHT=yes
+ export TRANSMISSION_WATCHDIR=
+ export TRANSMISSION_WEBDIR=/usr/share/transmission-web-home
+ USERNAME=bittorrent
+ GROUPNAME=users
+ modlib_start
+ local DAEMON_ENABLED=
+ [  == no -o  == inetd -a -x /etc/init.d/rc.inetd ]
+ modlib_check_running
+ echo transmission_ENABLED
+ tr [:lower:]- [:upper:]_
+ eval echo $TRANSMISSION_ENABLED
+ echo no
+ [ no == inetd ]
+ local fn=/var/run/transmission.pid
+ [ ! -s /var/run/transmission.pid ]
+ return 3
+ start
+ echo -n Starting transmission daemon...
Starting transmission daemon... + trim /var/media/ftp/xxxxxxx/transmission
+ echo /var/media/ftp/xxxxxxx/transmission
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_BASEDIR=/var/media/ftp/xxxxxxx/transmission
+ trim /var/media/ftp/xxxxxxx/transmission/config
+ echo /var/media/ftp/xxxxxxx/transmission/config
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_CONFIGDIR=/var/media/ftp/xxxxxxx/transmission/config
+ trim /var/media/ftp/xxxxxxx/transmission/download
+ echo /var/media/ftp/xxxxxxx/transmission/download
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_DOWNLOADDIR=/var/media/ftp/xxxxxxx/transmission/download
+ trim /var/media/ftp/xxxxxxx/transmission/download/incomplete
+ echo /var/media/ftp/xxxxxxx/transmission/download/incomplete
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_INCOMPLETEDIR=/var/media/ftp/xxxxxxx/transmission/download/incomp
lete
+ trim
+ echo
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_FINISHDIR=
+ trim /usr/share/transmission-web-home
+ echo /usr/share/transmission-web-home
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_WEBDIR=/usr/share/transmission-web-home
+ trim
+ echo
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_WATCHDIR=
+ checkNotEmpty /var/media/ftp/xxxxxxx/transmission/config TRANSMISSION_CONFIGDI
R
+ [ -z /var/media/ftp/xxxxxxx/transmission/config ]
+ checkNotEmpty /var/media/ftp/xxxxxxx/transmission/download TRANSMISSION_DOWNLO
ADDIR
+ [ -z /var/media/ftp/xxxxxxx/transmission/download ]
+ [ / != / -o / != / ]
+ [ / = / ]
+ CONFIGDIR=/var/media/ftp/xxxxxxx/transmission/config
+ checkDirectoryExists /var/media/ftp/xxxxxxx/transmission/config
+ [ ! -d /var/media/ftp/xxxxxxx/transmission/config ]
+ [ / = / ]
+ DOWNLOADDIR=/var/media/ftp/xxxxxxx/transmission/download
+ checkDirectoryExists /var/media/ftp/xxxxxxx/transmission/download
+ [ ! -d /var/media/ftp/xxxxxxx/transmission/download ]
+ local OPTIONS=--no-portmap
+ [ -n /var/media/ftp/xxxxxxx/transmission/download/incomplete ]
+ [ / = / ]
+ INCOMPLETEDIR=/var/media/ftp/xxxxxxx/transmission/download/incomplete
+ checkDirectoryExists /var/media/ftp/xxxxxxx/transmission/download/incomplete
+ [ ! -d /var/media/ftp/xxxxxxx/transmission/download/incomplete ]
+ chown -R bittorrent:users /var/media/ftp/xxxxxxx/transmission/download/incompl
ete
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete
+ [ -n  ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete --no-finish-dir
+ chown -R bittorrent:users /var/media/ftp/xxxxxxx/transmission/config /var/medi
a/ftp/xxxxxxx/transmission/download
+ [ -n  ]
+ [ -n xxxxxxx ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete --no-finish-dir -P xxxxxxx
+ [ -n 200 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete --no-finish-dir -P xxxxxxx -L 200
+ [ -n 80 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete --no-finish-dir -P xxxxxxx -L 200 -l 80
+ [ ENCRYPTION_PREFERRED = ENCRYPTION_REQUIRED ]
+ [ ENCRYPTION_PREFERRED = ENCRYPTION_PREFERRED ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete --no-finish-dir -P xxxxxxx -L 200 -l 80 -ep
+ [ yes = yes ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete --no-finish-dir -P xxxxxxx -L 200 -l 80 -ep -b
+ [ -n xxxxxxx -a -n xxxxxxx ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete --no-finish-dir -P xxxxxxx -L 200 -l 80 -ep -b --auth --username xxxxxxx --password xxxxxxx
+ [ -n xxxxxxx ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete --no-finish-dir -P xxxxxxx -L 200 -l 80 -ep -b --auth --username xxxxxxx --password xxxxxxx -p 9091
+ stripAllSpaces xxxxxxx
+ echo xxxxxxx
+ TRANSMISSION_RPCWHITELIST=xxxxxxx
+ [ -n xxxxxxx ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete --no-finish-dir -P xxxxxxx -L 200 -l 80 -ep -b --auth --username xxxxxxx --password xxxxxxx -p xxxxxxx -a xxxxxxx
+ [ -n -1 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete --no-finish-dir -P xxxxxxx -L 200 -l 80 -ep -b --auth --username xxxxxxx --password xxxxxxx -p xxxxxxx -a xxxxxxx --global-s
eedratio -1
+ [ -n 1 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/down
load/incomplete --no-finish-dir -P xxxxxxx -L 200 -l 80 -ep -b --auth --username xxxxxxx --password xxxxxxx -p xxxxxxx -a xxxxxxx --global-s
eedratio -1 --log-level 1
+ [ -n /usr/share/transmission-web-home -a -d /usr/share/transmission-web-home -
a -r /usr/share/transmission-web-home/index.html ]
+ export TRANSMISSION_WEB_HOME=/usr/share/transmission-web-home
+ [ ! -e /var/run/transmission.pid ]
+ chown bittorrent:users /var/run/transmission.pid
+ start-stop-daemon -S -N 5 -x transmission-daemon -c bittorrent:users -- --no-p
ortmap --incomplete-dir /var/media/ftp/xxxxxxx/transmission/download/incomplete
--no-finish-dir -P xxxxxxx -L 200 -l 80 -ep -b --auth --username xxxxxxx --pa
ssword xxxxxxx -p xxxxxxx -a xxxxxxx --global-seedratio -1 --lo
g-level 1 --config-dir /var/media/ftp/xxxxxxx/transmission/config --download-di
/var/media/ftp/xxxxxxx/transmission/download --pid-file /var/run/transmission.pi
d
+ exitval=0
+ [ 0 -eq 0 ]
+ echo done.
done.
+ return 0
+ exit 0
/var/mod/root #
 
Es bringt nicht viel, wenn Du ein Protokoll von einem funktionierenden Start zeigst.

Du kannst in der rc-Datei am Anfang "set -x" eintragen, dann hast Du den gleichen Effekt wie beim Start mit "sh -x", aber auch, wenn es vom Web-Interface aus gestartet wird.
 
Oh man, is natürlich was dran mit dem funktionierenden Log :blonk:
Ok, ich hab jetzt mal das "set -x" an verschiedenen Stellen versucht einzufügen und anschliessend auch mit "mount -o bind" nach "/etc/init.d" geschrieben.
Scheinbar ist die Stelle aber nicht so ganz Richtig. Es tut sich irgendwie nichts.
Hier mal das unmodifizierte rc-script
Code:
#!/bin/sh

DAEMON=transmission
DAEMON_BIN="$DAEMON-daemon"
PID_FILE=/var/run/$DAEMON.pid
. /etc/init.d/modlibrc

USERNAME=bittorrent
GROUPNAME=users

echoFailedAndExit() {
    echo 'failed.'
    [ -n "$1" ] && exit $1 || exit 1
}

checkNotEmpty() {
    if [ -z "$1" ]; then
        [ -n "$2" ] && echo -e "\n$2 must not be empty."
        echoFailedAndExit 255
    fi
}

checkDirectoryExists() {
    if [ ! -d "$1" ]; then
        echo -e "\n'$1' doesn't exist. Creating directory."
        mkdir -p "$1" || echoFailedAndExit 255
    fi
}

trim() {
    echo "$1" | sed 's|^[ ]*||;s|[ ]*$||'
}

stripAllSpaces() {
    echo "${1// /}"
}

start() {
    echo -n 'Starting transmission daemon... '

    TRANSMISSION_BASEDIR=$(trim "$TRANSMISSION_BASEDIR")
    TRANSMISSION_CONFIGDIR=$(trim "$TRANSMISSION_CONFIGDIR")
    TRANSMISSION_DOWNLOADDIR=$(trim "$TRANSMISSION_DOWNLOADDIR")
    TRANSMISSION_INCOMPLETEDIR=$(trim "$TRANSMISSION_INCOMPLETEDIR")
    TRANSMISSION_FINISHDIR=$(trim "$TRANSMISSION_FINISHDIR")
    TRANSMISSION_WEBDIR=$(trim "$TRANSMISSION_WEBDIR")
    TRANSMISSION_WATCHDIR=$(trim "$TRANSMISSION_WATCHDIR")

    checkNotEmpty "$TRANSMISSION_CONFIGDIR" 'TRANSMISSION_CONFIGDIR'
    checkNotEmpty "$TRANSMISSION_DOWNLOADDIR" 'TRANSMISSION_DOWNLOADDIR'
    if [ "${TRANSMISSION_CONFIGDIR:0:1}" != "/" -o "${TRANSMISSION_DOWNLOADDIR:0:1}" != "/" ]; then
        checkNotEmpty "$TRANSMISSION_BASEDIR" 'TRANSMISSION_BASEDIR'
        if [ ${TRANSMISSION_BASEDIR:0:1} != "/" ]; then
            echo -e "\nTRANSMISSION_BASEDIR must be an absolute path."
            echoFailedAndExit 255
        fi

        checkDirectoryExists "$TRANSMISSION_BASEDIR"

        if [ "${TRANSMISSION_BASEDIR:$((${#TRANSMISSION_BASEDIR}-1)):1}" != "/" ]; then
            # add trailing slash in case it is missing
            TRANSMISSION_BASEDIR="$TRANSMISSION_BASEDIR/"
        fi
    fi

    [ ${TRANSMISSION_CONFIGDIR:0:1} = "/" ] && CONFIGDIR="$TRANSMISSION_CONFIGDIR" || CONFIGDIR="$TRANSMISSION_BASEDIR$TRANSMISSION_CONFIGDIR"
    checkDirectoryExists "$CONFIGDIR"

    [ ${TRANSMISSION_DOWNLOADDIR:0:1} = "/" ] && DOWNLOADDIR="$TRANSMISSION_DOWNLOADDIR" || DOWNLOADDIR="$TRANSMISSION_BASEDIR$TRANSMISSION_DOWNLOADDIR"
    checkDirectoryExists "$DOWNLOADDIR"

    local OPTIONS="--no-portmap"

    if [ -n "$TRANSMISSION_INCOMPLETEDIR" ]; then
        [ ${TRANSMISSION_INCOMPLETEDIR:0:1} = "/" ] && INCOMPLETEDIR="$TRANSMISSION_INCOMPLETEDIR" || INCOMPLETEDIR="$TRANSMISSION_BASEDIR$TRANSMISSION_INCOMPLETEDIR"
        checkDirectoryExists "$INCOMPLETEDIR"
        chown -R $USERNAME:$GROUPNAME "$INCOMPLETEDIR"
        OPTIONS="$OPTIONS --incomplete-dir $INCOMPLETEDIR"
    else
        OPTIONS="$OPTIONS --no-incomplete-dir"
    fi

    if [ -n "$TRANSMISSION_FINISHDIR" ]; then
        [ ${TRANSMISSION_FINISHDIR:0:1} = "/" ] && FINISHDIR="$TRANSMISSION_FINISHDIR" || FINISHDIR="$TRANSMISSION_BASEDIR$TRANSMISSION_FINISHDIR"
        checkDirectoryExists "$FINISHDIR"
        chown -R $USERNAME:$GROUPNAME "$FINISHDIR"
        OPTIONS="$OPTIONS --finish-dir $FINISHDIR"
    else
        OPTIONS="$OPTIONS --no-finish-dir"
    fi

    chown -R $USERNAME:$GROUPNAME "$CONFIGDIR" "$DOWNLOADDIR"

    if [ -n "$TRANSMISSION_WATCHDIR" ]; then
        [ ${TRANSMISSION_WATCHDIR:0:1} = "/" ] && WATCHDIR="$TRANSMISSION_WATCHDIR" || WATCHDIR="$TRANSMISSION_BASEDIR$TRANSMISSION_WATCHDIR"
        checkDirectoryExists "$WATCHDIR"
        chown -R $USERNAME:$GROUPNAME "$WATCHDIR"
        OPTIONS="$OPTIONS --watch-dir $WATCHDIR"
    fi

    [ -n "$TRANSMISSION_PEERPORT" ] && OPTIONS="$OPTIONS -P $TRANSMISSION_PEERPORT"
    [ -n "$TRANSMISSION_GLOBALPEERLIMIT" ] && OPTIONS="$OPTIONS -L $TRANSMISSION_GLOBALPEERLIMIT"
    [ -n "$TRANSMISSION_TORRENTPEERLIMIT" ] && OPTIONS="$OPTIONS -l $TRANSMISSION_TORRENTPEERLIMIT"
    if [ "$TRANSMISSION_PEERENCRYPTIONMODE" = "ENCRYPTION_REQUIRED" ]; then
        OPTIONS="$OPTIONS -er"
    elif [ "$TRANSMISSION_PEERENCRYPTIONMODE" = "ENCRYPTION_PREFERRED" ]; then
        OPTIONS="$OPTIONS -ep"
    else
        OPTIONS="$OPTIONS -et"
    fi
    [ "$TRANSMISSION_USEBLOCKLIST" = "yes" ] && OPTIONS="$OPTIONS -b" || OPTIONS="$OPTIONS -B"

    if [ -n "$TRANSMISSION_RPCUSERNAME" -a -n "$TRANSMISSION_RPCPASSWORD" ]; then
        OPTIONS="$OPTIONS --auth --username $TRANSMISSION_RPCUSERNAME --password $TRANSMISSION_RPCPASSWORD"
    else
        OPTIONS="$OPTIONS --no-auth"
        echo -n "without password protection.. "
    fi

    [ -n "$TRANSMISSION_RPCPORT" ] && OPTIONS="$OPTIONS -p $TRANSMISSION_RPCPORT"
    TRANSMISSION_RPCWHITELIST=$(stripAllSpaces "$TRANSMISSION_RPCWHITELIST")
    [ -n "$TRANSMISSION_RPCWHITELIST" ] && OPTIONS="$OPTIONS -a $TRANSMISSION_RPCWHITELIST"
    [ -n "$TRANSMISSION_RATIO" ] && OPTIONS="$OPTIONS --global-seedratio $TRANSMISSION_RATIO" || OPTIONS="$OPTIONS --no-global-seedratio"
    [ -n "$TRANSMISSION_LOGLEVEL" ] && OPTIONS="$OPTIONS --log-level $TRANSMISSION_LOGLEVEL"

    if [ -n "$TRANSMISSION_WEBDIR" -a -d "$TRANSMISSION_WEBDIR" -a -r "$TRANSMISSION_WEBDIR/index.html" ]; then
        export TRANSMISSION_WEB_HOME="$TRANSMISSION_WEBDIR"
    else
        echo -n "without web interface.. "
        unset TRANSMISSION_WEB_HOME
    fi

    [ ! -e $PID_FILE ] && echo -n > $PID_FILE
    chown $USERNAME:$GROUPNAME $PID_FILE
    start-stop-daemon \
        -S \
        -N "$TRANSMISSION_NICE" \
        -x "$DAEMON_BIN" \
        -c "$USERNAME:$GROUPNAME" \
        -- \
        $OPTIONS --config-dir "$CONFIGDIR" --download-dir "$DOWNLOADDIR" --pid-file "$PID_FILE" \
        >/dev/null

    exitval=$?
    [ "$exitval" -eq 0 ] && echo 'done.' || echoFailedAndExit "$exitval"
}

case $1 in
    ""|load)
        modlib_adduser $USERNAME -G $GROUPNAME -D -S -g "Torrent server"
        modreg cgi 'transmission' 'Transmission'

        modlib_start $TRANSMISSION_ENABLED
        ;;
    unload)
        modunreg cgi 'transmission'
        modlib_stop
        ;;
    start)
        modlib_start
        ;;
    stop)
        modlib_stop
        ;;
    restart)
        modlib_restart
        ;;
    status)
        modlib_status
        ;;
    *)
        echo "Usage: $0 [load|unload|start|stop|restart|status]" 1>&2
        exit 1
        ;;
esac

exit 0
 
Habs zwar für einen andere Datei getestet. Aber bei mir funktioniert das ohne Probleme.
Code:
--- make/transmission-cgi/files/root/etc/init.d/rc.transmission	(revision 5265)
+++ make/transmission-cgi/files/root/etc/init.d/rc.transmission	(working copy)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -x
+
 DAEMON=transmission
 DAEMON_BIN="$DAEMON-daemon"
 PID_FILE=/var/run/$DAEMON.pid
MfG Oliver
 
Genauso hab ichs auch gemacht.
Wenn ich dann über das freezu-If --> Dienste versuche Transmission zu starten kommt ebenfalls aber NUR die Meldung
"Starting transmission daemon... failed."

Oder wird das woanders protokolliert??
 
Naja, dann startet er so wie in #12 als ich es noch mit "sh -x" ausgeführt hatte.
Aber das war ja auch Sinn der Sache, oder?
 
Es ging mir darum, ob die beim Starten von Hand überhaupt eine Debug-Ausgabe kommt. Die sollte dann auch kommen, wenn man es über das Web-Interface startet.

Was Du noch versuchen kannst, für den Fall, daß stderr nicht im Web-Interface ankommt:
Code:
set -x
exec 2>&1
 
Hallo Ralf,
mit der neuen Version bekomm ich nun die Ausgabe im Web-IF:
Code:
+ DAEMON=transmission
+ DAEMON_BIN=transmission-daemon
+ PID_FILE=/var/run/transmission.pid
+ . /etc/init.d/modlibrc
+ export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ : transmission
+ : transmission
+ : transmission_ENABLED
+ : transmission-daemon
+ : /var/run/transmission.pid
+ [ -n transmission ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/transmission.cfg
+ [ ! -r /mod/etc/conf/transmission.cfg ]
+ . /mod/etc/conf/transmission.cfg
+ export TRANSMISSION_BASEDIR=/var/media/ftp/xxxxx/transmission
+ export TRANSMISSION_CONFIGDIR=/var/media/ftp/xxxxx/transmission/config
+ export TRANSMISSION_DOWNLOADDIR=/var/media/ftp/xxxxx/transmission/download
+ export TRANSMISSION_ENABLED=no
+ export TRANSMISSION_FINISHDIR=
+ export TRANSMISSION_GLOBALPEERLIMIT=200
+ export TRANSMISSION_INCOMPLETEDIR=/var/media/ftp/xxxxx/transmission/download/incomplete
+ export TRANSMISSION_LOGLEVEL=1
+ export TRANSMISSION_NICE=5
+ export TRANSMISSION_PEERENCRYPTIONMODE=ENCRYPTION_PREFERRED
+ export TRANSMISSION_PEERPORT=xxxxx
+ export TRANSMISSION_RATIO=-1
+ export TRANSMISSION_RPCPASSWORD=xxxxx
+ export TRANSMISSION_RPCPORT=xxxxx
+ export TRANSMISSION_RPCUSERNAME=xxxxx
+ export TRANSMISSION_RPCWHITELIST=xxxxx
+ export TRANSMISSION_TORRENTPEERLIMIT=80
+ export TRANSMISSION_USEBLOCKLIST=yes
+ export TRANSMISSION_USEDHT=yes
+ export TRANSMISSION_WATCHDIR=
+ export TRANSMISSION_WEBDIR=/usr/share/transmission-web-home
+ USERNAME=bittorrent
+ GROUPNAME=users
+ modlib_start
+ local DAEMON_ENABLED=
+ [  == no -o  == inetd -a -x /etc/init.d/rc.inetd ]
+ modlib_check_running
+ echo transmission_ENABLED
+ tr [:lower:]- [:upper:]_
+ eval echo $TRANSMISSION_ENABLED
+ echo no
+ [ no == inetd ]
+ local fn=/var/run/transmission.pid
+ [ ! -s /var/run/transmission.pid ]
+ return 3
+ start
+ echo -n Starting transmission daemon... 
Starting transmission daemon... + trim /var/media/ftp/xxxxx/transmission
+ echo /var/media/ftp/xxxxx/transmission
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_BASEDIR=/var/media/ftp/xxxxx/transmission
+ trim /var/media/ftp/xxxxx/transmission/config
+ echo /var/media/ftp/xxxxx/transmission/config
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_CONFIGDIR=/var/media/ftp/xxxxx/transmission/config
+ trim /var/media/ftp/xxxxx/transmission/download
+ echo /var/media/ftp/xxxxx/transmission/download
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_DOWNLOADDIR=/var/media/ftp/xxxxx/transmission/download
+ trim /var/media/ftp/xxxxx/transmission/download/incomplete
+ echo /var/media/ftp/xxxxx/transmission/download/incomplete
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_INCOMPLETEDIR=/var/media/ftp/xxxxx/transmission/download/incomplete
+ trim 
+ echo 
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_FINISHDIR=
+ trim /usr/share/transmission-web-home
+ echo /usr/share/transmission-web-home
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_WEBDIR=/usr/share/transmission-web-home
+ trim 
+ sed s|^[ ]*||;s|[ ]*$||
+ echo 
+ TRANSMISSION_WATCHDIR=
+ checkNotEmpty /var/media/ftp/xxxxx/transmission/config TRANSMISSION_CONFIGDIR
+ [ -z /var/media/ftp/xxxxx/transmission/config ]
+ checkNotEmpty /var/media/ftp/xxxxx/transmission/download TRANSMISSION_DOWNLOADDIR
+ [ -z /var/media/ftp/xxxxx/transmission/download ]
+ [ / != / -o / != / ]
+ [ / = / ]
+ CONFIGDIR=/var/media/ftp/xxxxx/transmission/config
+ checkDirectoryExists /var/media/ftp/xxxxx/transmission/config
+ [ ! -d /var/media/ftp/xxxxx/transmission/config ]
+ [ / = / ]
+ DOWNLOADDIR=/var/media/ftp/xxxxx/transmission/download
+ checkDirectoryExists /var/media/ftp/xxxxx/transmission/download
+ [ ! -d /var/media/ftp/xxxxx/transmission/download ]
+ local OPTIONS=--no-portmap
+ [ -n /var/media/ftp/xxxxx/transmission/download/incomplete ]
+ [ / = / ]
+ INCOMPLETEDIR=/var/media/ftp/xxxxx/transmission/download/incomplete
+ checkDirectoryExists /var/media/ftp/xxxxx/transmission/download/incomplete
+ [ ! -d /var/media/ftp/xxxxx/transmission/download/incomplete ]
+ chown -R bittorrent:users /var/media/ftp/xxxxx/transmission/download/incomplete
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete
+ [ -n  ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir
+ chown -R bittorrent:users /var/media/ftp/xxxxx/transmission/config /var/media/ftp/xxxxx/transmission/download
+ [ -n  ]
+ [ -n xxxxx ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir -P xxxxx
+ [ -n 200 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir -P xxxxx -L 200
+ [ -n 80 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir -P xxxxx -L 200 -l 80
+ [ ENCRYPTION_PREFERRED = ENCRYPTION_REQUIRED ]
+ [ ENCRYPTION_PREFERRED = ENCRYPTION_PREFERRED ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir -P xxxxx -L 200 -l 80 -ep
+ [ yes = yes ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir -P xxxxx -L 200 -l 80 -ep -b
+ [ -n xxxxx -a -n xxxxx ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir -P xxxxx -L 200 -l 80 -ep -b --auth --username xxxxx --password xxxxx
+ [ -n xxxxx ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir -P xxxxx -L 200 -l 80 -ep -b --auth --username xxxxx --password xxxxx -p xxxxx
+ stripAllSpaces xxxxx
+ echo xxxxx
+ TRANSMISSION_RPCWHITELIST=xxxxx
+ [ -n xxxxx ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir -P xxxxx -L 200 -l 80 -ep -b --auth --username xxxxx --password xxxxx -p xxxxx -a xxxxx
+ [ -n -1 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir -P xxxxx -L 200 -l 80 -ep -b --auth --username xxxxx --password xxxxx -p xxxxx -a xxxxx --global-seedratio -1
+ [ -n 1 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir -P xxxxx -L 200 -l 80 -ep -b --auth --username xxxxx --password xxxxx -p xxxxx -a xxxxx --global-seedratio -1 --log-level 1
+ [ -n /usr/share/transmission-web-home -a -d /usr/share/transmission-web-home -a -r /usr/share/transmission-web-home/index.html ]
+ export TRANSMISSION_WEB_HOME=/usr/share/transmission-web-home
+ [ ! -e /var/run/transmission.pid ]
+ echo -n
+ chown bittorrent:users /var/run/transmission.pid
+ start-stop-daemon -S -N 5 -x transmission-daemon -c bittorrent:users -- --no-portmap --incomplete-dir /var/media/ftp/xxxxx/transmission/download/incomplete --no-finish-dir -P xxxxx -L 200 -l 80 -ep -b --auth --username xxxxx --password xxxxx -p 9091 -a xxxxx --global-seedratio -1 --log-level 1 --config-dir /var/media/ftp/xxxxx/transmission/config --download-dir /var/media/ftp/xxxxx/transmission/download --pid-file /var/run/transmission.pid
+ exitval=255
+ [ 255 -eq 0 ]
+ echoFailedAndExit 255
+ echo failed.
failed.
+ [ -n 255 ]
+ exit 255
 
Status
Für weitere Antworten geschlossen.
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.