C
#1 transmission:
I still have a "general" problem using USB storage (that for the torrents is a must! )
When torrents starts it try to take ownership of the directories but it fails:
Starting transmission daemon... chown: /var/media/ftp/uStor01/bittorrent/download/incomplete: Operation not permitted
I tryed using FREETZMOUNT without success...
I use chmod 777 but it is not enough;(
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.03.11 15:14:46 =~=~=~=~=~=~=~=~=~=~=~=
/var/mod/root # sh -x /etc/init.d/rc.transmission start
+ DAEMON=transmission
+ DAEMON_BIN=transmission-daemon
+ USERNAME=bittorrent
+ PIDFILE=/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
+ [ -n transmission ]
+ [ ! -r /mod/etc/conf/transmission.cfg ]
+ 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/uStor01/bittorrent
+ export TRANSMISSION_CONFIGDIR=config
+ export TRANSMISSION_DOWNLOADDIR=download
+ export TRANSMISSION_ENABLED=yes
+ export TRANSMISSION_FINISHDIR=download/complete
+ export TRANSMISSION_GLOBALPEERLIMIT=120
+ export TRANSMISSION_INCOMPLETEDIR=download/incomplete
+ export TRANSMISSION_NICE=5
+ export TRANSMISSION_PEERENCRYPTIONMODE=NO_ENCRYPTION
+ export TRANSMISSION_PEERPORT=54321
+ export TRANSMISSION_RATIO=3
+ export TRANSMISSION_RPCPASSWORD=
+ export TRANSMISSION_RPCPORT=9091
+ export TRANSMISSION_RPCUSERNAME=
+ export TRANSMISSION_RPCWHITELIST=127.0.0.1,192.168.178.*,158.110.104.*
+ export TRANSMISSION_TORRENTPEERLIMIT=30
+ export TRANSMISSION_USEBLOCKLIST=yes
+ export TRANSMISSION_USEDHT=yes
+ export TRANSMISSION_WATCHDIR=autoload
+ export TRANSMISSION_WEBDIR=/usr/share/transmission-web-home
+ start
+ echo -n Starting transmission daemon...
Starting transmission daemon... + trim /var/media/ftp/uStor01/bittorrent
+ sed s|^[ ]*||;s|[ ]*$||
+ echo /var/media/ftp/uStor01/bittorrent
+ TRANSMISSION_BASEDIR=/var/media/ftp/uStor01/bittorrent
+ trim config
+ echo config
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_CONFIGDIR=config
+ trim download
+ echo download
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_DOWNLOADDIR=download
+ trim download/incomplete
+ echo download/incomplete
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_INCOMPLETEDIR=download/incomplete
+ trim download/complete
+ echo download/complete
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_FINISHDIR=download/complete
+ trim /usr/share/transmission-web-home
+ echo /usr/share/transmission-web-home
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_WEBDIR=/usr/share/transmission-web-home
+ trim autoload
+ echo autoload
+ sed s|^[ ]*||;s|[ ]*$||
+ TRANSMISSION_WATCHDIR=autoload
+ checkNotEmpty config TRANSMISSION_CONFIGDIR
+ [ -z config ]
+ checkNotEmpty download TRANSMISSION_DOWNLOADDIR
+ [ -z download ]
+ [ c != / -o d != / ]
+ checkNotEmpty /var/media/ftp/uStor01/bittorrent TRANSMISSION_BASEDIR
+ [ -z /var/media/ftp/uStor01/bittorrent ]
+ [ / != / ]
+ checkDirectoryExists /var/media/ftp/uStor01/bittorrent
+ [ ! -d /var/media/ftp/uStor01/bittorrent ]
+ [ t != / ]
+ TRANSMISSION_BASEDIR=/var/media/ftp/uStor01/bittorrent/
+ [ c = / ]
+ CONFIGDIR=/var/media/ftp/uStor01/bittorrent/config
+ checkDirectoryExists /var/media/ftp/uStor01/bittorrent/config
+ [ ! -d /var/media/ftp/uStor01/bittorrent/config ]
+ [ d = / ]
+ DOWNLOADDIR=/var/media/ftp/uStor01/bittorrent/download
+ checkDirectoryExists /var/media/ftp/uStor01/bittorrent/download
+ [ ! -d /var/media/ftp/uStor01/bittorrent/download ]
+ local OPTIONS=--no-portmap
+ [ -n download/incomplete ]
+ [ d = / ]
+ INCOMPLETEDIR=/var/media/ftp/uStor01/bittorrent/download/incomplete
+ checkDirectoryExists /var/media/ftp/uStor01/bittorrent/download/incomplete
+ [ ! -d /var/media/ftp/uStor01/bittorrent/download/incomplete ]
+ chown -R bittorrent:users /var/media/ftp/uStor01/bittorrent/download/incomplete
chown: /var/media/ftp/uStor01/bittorrent/download/incomplete: Operation not permitted
chown: /var/media/ftp/uStor01/bittorrent/download/incomplete: Operation not permitted
+ chmod -R 0755 /var/media/ftp/uStor01/bittorrent/download/incomplete
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete
+ [ -n download/complete ]
+ [ d = / ]
+ FINISHDIR=/var/media/ftp/uStor01/bittorrent/download/complete
+ checkDirectoryExists /var/media/ftp/uStor01/bittorrent/download/complete
+ [ ! -d /var/media/ftp/uStor01/bittorrent/download/complete ]
+ chown -R bittorrent:users /var/media/ftp/uStor01/bittorrent/download/complete
chown: /var/media/ftp/uStor01/bittorrent/download/complete: Operation not permitted
chown: /var/media/ftp/uStor01/bittorrent/download/complete: Operation not permitted
+ chmod -R 0755 /var/media/ftp/uStor01/bittorrent/download/complete
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete
+ chown -R bittorrent:users /var/media/ftp/uStor01/bittorrent/config /var/media/ftp/uStor01/bittorrent/download
chown: /var/media/ftp/uStor01/bittorrent/config: Operation not permitted
chown: /var/media/ftp/uStor01/bittorrent/config: Operation not permitted
chown: /var/media/ftp/uStor01/bittorrent/download/incomplete: Operation not permitted
chown: /var/media/ftp/uStor01/bittorrent/download/incomplete: Operation not permitted
chown: /var/media/ftp/uStor01/bittorrent/download/complete: Operation not permitted
chown: /var/media/ftp/uStor01/bittorrent/download/complete: Operation not permitted
chown: /var/media/ftp/uStor01/bittorrent/download: Operation not permitted
chown: /var/media/ftp/uStor01/bittorrent/download: Operation not permitted
+ chmod -R 0755 /var/media/ftp/uStor01/bittorrent/config /var/media/ftp/uStor01/bittorrent/download
+ [ -n autoload ]
+ [ a = / ]
+ WATCHDIR=/var/media/ftp/uStor01/bittorrent/autoload
+ checkDirectoryExists /var/media/ftp/uStor01/bittorrent/autoload
+ [ ! -d /var/media/ftp/uStor01/bittorrent/autoload ]
+ chown -R bittorrent:users /var/media/ftp/uStor01/bittorrent/autoload
chown: /var/media/ftp/uStor01/bittorrent/autoload: Operation not permitted
chown: /var/media/ftp/uStor01/bittorrent/autoload: Operation not permitted
+ chmod -R 0755 /var/media/ftp/uStor01/bittorrent/autoload
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete --watch-dir /var/media/ftp/uStor01/bittorrent/autoload
+ [ -n 54321 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete --watch-dir /var/media/ftp/uStor01/bittorrent/autoload -P 54321
+ [ -n 120 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete --watch-dir /var/media/ftp/uStor01/bittorrent/autoload -P 54321 -L 120
+ [ -n 30 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete --watch-dir /var/media/ftp/uStor01/bittorrent/autoload -P 54321 -L 120 -l 30
+ [ NO_ENCRYPTION = ENCRYPTION_REQUIRED ]
+ [ NO_ENCRYPTION = ENCRYPTION_PREFERRED ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete --watch-dir /var/media/ftp/uStor01/bittorrent/autoload -P 54321 -L 120 -l 30 -et
+ [ yes = yes ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete --watch-dir /var/media/ftp/uStor01/bittorrent/autoload -P 54321 -L 120 -l 30 -et -b
+ [ -n -a -n ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete --watch-dir /var/media/ftp/uStor01/bittorrent/autoload -P 54321 -L 120 -l 30 -et -b --no-auth
+ echo -n without password protection..
without password protection.. + [ -n 9091 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete --watch-dir /var/media/ftp/uStor01/bittorrent/autoload -P 54321 -L 120 -l 30 -et -b --no-auth -p 9091
+ stripAllSpaces 127.0.0.1,192.168.178.*,158.110.104.*
+ echo 127.0.0.1,192.168.178.*,158.110.104.*
+ sed s| ||g;
+ TRANSMISSION_RPCWHITELIST=127.0.0.1,192.168.178.*,158.110.104.*
+ [ -n 127.0.0.1,192.168.178.*,158.110.104.* ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete --watch-dir /var/media/ftp/uStor01/bittorrent/autoload -P 54321 -L 120 -l 30 -et -b --no-auth -p 9091 -a 127.0.0.1,192.168.178.*,158.110.104.*
+ [ -n 3 ]
+ OPTIONS=--no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete --watch-dir /var/media/ftp/uStor01/bittorrent/autoload -P 54321 -L 120 -l 30 -et -b --no-auth -p 9091 -a 127.0.0.1,192.168.178.*,158.110.104.* --global-seedratio 3
+ [ -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
+ start-stop-daemon -S -N 5 -p /var/run/transmission.pid -x transmission-daemon -c bittorrent -- --no-portmap --incomplete-dir /var/media/ftp/uStor01/bittorrent/download/incomplete --finish-dir /var/media/ftp/uStor01/bittorrent/download/complete --watch-dir /var/media/ftp/uStor01/bittorrent/autoload -P 54321 -L 120 -l 30 -et -b --no-auth -p 9091 -a 127.0.0.1,192.168.178.*,158.110.104.* --global-seedratio 3 --config-dir /var/media/ftp/uStor01/bittorrent/config --download-dir /var/media/ftp/uStor01/bittorrent/download
+ exitval=0
+ [ 0 -eq 0 ]
+ echo done.
done.
+ exit 0
/var/mod/root #
I just saw this post. Yes, you have to use an ext-fs for transmission.Probably I cannot use a FAT partition. Must I repartitioning USB with an ext2 or ext3 partition?
I just saw this post. Yes, you have to use an ext-fs for transmission.
I already have:You need the ext3 module in your firmware.
Regards
Oliver
lsmod
cat /proc/partitions
mount
Okay. Then please post the output of the 3 following commands:
RegardsCode:lsmod cat /proc/partitions mount
Oliver
...
/dev/sda1 on /var/media/ftp/uStor01 type vfat (rw,fmask=0000,dmask=0000,codepage=cp437,iocharset=iso8859-1)
/dev/sda2 on /var/media/ftp/uStor02 type ext2 (rw,noatime,nodiratime)
config.c: In function 'config_def_app_version':
config.c:170: error: 'VERSION' undeclared (first use in this function)
config.c:170: error: (Each undeclared identifier is reported only once
config.c:170: error: for each function it appears in.)
config.c: In function 'print_version':
config.c:577: error: expected ')' before 'VERSION'
make[1]: *** [config.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/notroot/freetz-1.1.x/source/vpnc-0.5.3'
Sorry, I have had problems with transmission rights but only on local USB and I solved with an ext2 partition.. may be that transmission is not able to write on other type of partitions ..? For the logs you can use syslog, transmissin send a lot of info to syslog