Help me build & setup Transmission
Forum » Forum / Torrent programs » Help me build & setup Transmission
Started by: anandusanandus
On: 1191504229|%e %b %Y, %H:%M %Z|agohover
Number of posts: 140
rss icon RSS: New posts
Summary:
Because rtorrent hangs on big files, and Transmission can be used with a web-UI
Help me build & setup Transmission
anandusanandus 1191504229|%e %b %Y, %H:%M %Z|agohover

Hi,

i'm trying to install Transmission on the Mybook.
(If anybody thinks this is a bad idea, please reply)

Unfortunately I can't get it to work properly.

This is what I did:

su -
cd /opt/
wget http://download.m0k.org/transmission/files/transmission-0.82.tar.gz
tar -zxvf transmission-0.82.tar.gz
./configure --disable-gtk
make
make install

Unfortunately it won't built the daemon as it says it can't find 'libevent', even though there's a folder called 'libevent' in that directory.

I also want to use transmission.cgi, like here, although I don't know where to find a new version of that.

Mind you, I got the idea from http://www.nslu2-linux.org/wiki/Optware/Transmission


I'm a relative newbie in Linux. I sort of know what I'm doing here, but don't understand why it isn't building the daemon.

So any suggestions? :)

last edited on 1191504442|%e %b %Y, %H:%M %Z|agohover by anandus + show more
unfold Help me build & setup Transmission by anandusanandus, 1191504229|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
utsipluutsiplu 1191619712|%e %b %Y, %H:%M %Z|agohover

Well, I assume you need to compile and install the libevent library first. Look in http://monkey.org/~provos/libevent/

Kind regards.

unfold Re: Help me build & setup Transmission by utsipluutsiplu, 1191619712|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
anandusanandus 1191705156|%e %b %Y, %H:%M %Z|agohover

Thanks!

How silly of me to overlook that.

Anyway, I've configured, maked and make installd it (;)), but transmission still won't run.
It says it can't find library 'libevent'. I've rebooted, but that didn't matter.
Do I need to start libevent up somewhere, or change a config file somwhere?

Anybody any clues?

Thanks :)

unfold Re: Help me build & setup Transmission by anandusanandus, 1191705156|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
utsipluutsiplu 1192465384|%e %b %Y, %H:%M %Z|agohover

Sorry anandus, I am a bit out of sync.
So if I understand well, you installed libevent and transmission alright but the "transmission" executable complains about a missing library "libevent", OK? When this happens, it means that the executable cannot find the library path - silly is it - and there are several possible solutions. Maybe start by exposing the problem by issuing a ldd /path to Transmission/transmission … or whatever the fullpath of transmission exec is; you should receive a list of library.so => /path to libraries/library.so.0 and one that doesn't match libevent.so.0 => not found
If you want to have a better explanation of what I am suggesting, http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html is a good lecture on the subject.

  • solution 1. Do an export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path to libevent.so.0 - probably export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Check again with ldd, libevent.so should be found and transmission be happy now. That trick is mainly for development purposes.

  • solution 2. Do a backup of /etc/ld.so.cache - better safe than sorry. If you have installed libevent in /lib or /usr/lib, do a "ldconfig" as root; it will rebuild /etc/ld.so.cache. If libevent.so.0 is somewhere else, it is a bit more tricky. Either make a symbolic link in /lib to libevent.so.0 - very easy for a few missing libs - or add a text file /etc/ld.so.conf containing a line with the path to libevent.so.0 - probably /usr/local/lib, good solution is you intend to install many local libs. Do the ldconfig, test with ldd /path to Transmission/transmission. Another solution would be to configure, compile and install libevent in the trusted place (/usr/lib); a configure —prefix=/usr, make and make install will do the trick - dont forget to cleanup the extra occurence, this solution may lead to overwriting system with user's libs so be vey cautious.
  • … and solution 3. Well it may be advisable to compile transmission as a static executable i.e. with libevent routines incorporated. Check with ./configure —help in transmission source if it is possible. It requires more memory; maybe not a good idea for such a tiny device.

Kind regards

unfold Re: Help me build & setup Transmission by utsipluutsiplu, 1192465384|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
anandusanandus 1192466101|%e %b %Y, %H:%M %Z|agohover

That's exactly my problem, I don't have any time now, some visitors coming over, but I'll definitely try this tonight!

Thanks for the input, much appreciated!

unfold Re: Help me build & setup Transmission by anandusanandus, 1192466101|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
ZiumZium 1192472330|%e %b %Y, %H:%M %Z|agohover

Well, I had the same problem and someone else in this forum too.
This should fix your problem :

edit /etc/ld.so.conf (or create it if doesn't exist)
add a line to point to your library path (for example /usr/local/lib)
Exit editor, save

type ldconfig -v
At the end of the list, you should see a line showing libraries found.

unfold Re: Help me build & setup Transmission by ZiumZium, 1192472330|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
anandusanandus 1192525029|%e %b %Y, %H:%M %Z|agohover

Excellent, that did the trick!
And so easy too! :)

Before I go on, I want to mention that once I've got this running, i'll add a proper page to this wiki how to set it up in a good fashion, and not in the slice&dice way I'm using now ;)


So, I've got the transmission-deamon running now. (Checked it with 'top')

FYI, I'm loosely following this page.

There are 3 pieces of software working on the torrents:

1. transmissiond. This is the actual workhorse that's downloading and uploading a torrent. If you run "ps" in a console you will see several of them working (if you have torrents running). Every time a torrent starts, one of these comes along and takes charge of it.
2. transmission_watchdog. This one runs periodically, usually every 30 minutes, and is in charge of moving torrents around the queues (from "queued" to "active" to "done").
3. transmission.cgi this is the actual web interface and is the thing you use to see your torrents and control them.

So, the first one is taken care of.
Now the transmission_watchdog.
Also from the page mentioned earlier in my post:

transmission_watchdog cares for queue processing and should be run every 30 minutes with cron. /opt/etc/crontab entry should look like:
# m h dom mon dow user command
*/30 * * * * admin nice transmission_watchdog

The only crontab-ish thing I could find was an empty file at /var/spool/cron/crontabs, is this the file where I should but aforementioned entry? For now I did that, dunno if it's good or bad.
I hope somebody can help me out in this respect.

And now for step 3, the web-interface. I've installed 'haserl', according to Martin hinner's pages, so cgi should be working, right?

Transmission.cgi is located in /opt/transmission.cgi

So, how can I access transmission.cgi through my browser? http://<IP-of-Mybook>/cgi-bin/transmission.cgi didn't work :P


Thanks for all the help!

unfold Re: Help me build & setup Transmission by anandusanandus, 1192525029|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
ZiumZium 1192556410|%e %b %Y, %H:%M %Z|agohover

I'm using crontabs, i did by this way :

Log into root
Copy /etc/crontabs/root to /etc/crontabs/user (where user is your username)
edit /etc/crontabs/user, remove the existing cron (writing time)
add what you want…

The crontab works for the given user.

unfold Re: Help me build & setup Transmission by ZiumZium, 1192556410|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
anandusanandus 1192560605|%e %b %Y, %H:%M %Z|agohover

Thanks!
So that's step 2 done!

We're almost there \o/

Now how can I get to transmission.cgi in my webbrowser?
Do I need to put it in some sort of cgi-bin or something?

edit:
There is a /var/webif/cgi-bin
Do I need to put transmission.cgi in there? Or do I need to enable cgi somewhere?

edit:
Okay, I've found the www directory in /usr/www/ this is the webinterface-area, right?
I've created a cgi-bin folder there and put transmission.cgi there.
But if I go to http://<IP-of-Mybook>/cgi-bin/transmission.cgi I get a 404
And I think I've got haserl running (that'sthe cgi-interpreter, right?)

So… what am I missing? :)

last edited on 1192562625|%e %b %Y, %H:%M %Z|agohover by anandus + show more
unfold Re: Help me build & setup Transmission by anandusanandus, 1192560605|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
tcblacktcblack 1192629371|%e %b %Y, %H:%M %Z|agohover

I'm not using webif; however the default administrator interface is fed by lighttpd (google it.)

The web interface is located under /usr/www/lib
This information is found under /etc/lighttpd/lighttpd.conf. The first line reads: Server.document-root = "/usr/www/lib/"

last edited on 1192629450|%e %b %Y, %H:%M %Z|agohover by tcblack + show more
unfold Re: Help me build & setup Transmission by tcblacktcblack, 1192629371|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
jsantiagojsantiago 1194218316|%e %b %Y, %H:%M %Z|agohover

Trying this on my My Book World myself but getting stuck at ./configure —disable-gtk. I get the following:

configure: error: Package requirements (openssl >= 0.9.8) were not met:

No Package 'openssl' found

Already have openSSL compiled and installed (ver 0.9.8e — which I did when I installed rtorrent previously).

Would appreciate any help.

Thanks!

unfold Re: Help me build & setup Transmission by jsantiagojsantiago, 1194218316|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
utkuozyurekutkuozyurek 1196207662|%e %b %Y, %H:%M %Z|agohover

you should add this path before configure

export PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig/
unfold Re: Help me build & setup Transmission by utkuozyurekutkuozyurek, 1196207662|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196372136|%e %b %Y, %H:%M %Z|agohover

YEA BABY YEA I GOT TRANSMISSION WORKING WITH CLUTCH WEBUI and its perfect, posting instructions soon :p


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1196372136|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196433663|%e %b %Y, %H:%M %Z|agohover

ok it time to get a decent torrent client working so i got transmission-deamon & cluth and i hope it works
first you should recompile your php with option —enable-sockets if you have installed php before, if u havn't just compile it then :p just follow the instructions in php install thread and add —enable-sockets when u configure.
i used: php5.2.5
./configure —without-iconv —without-pear —enable-fastcgi —enable-discard-path —enable-force-cgi-redirect —without-mysql —enable-sockets

openSSL
wget http://www.openssl.org/source/openssl-0.9.8g.tar.gz
tar -xvf openssl-0.9.8g.tar.gz
cd openssl-0.9.8g/
./configure
make && make install

pkg-config
wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.22.tar.gz
tar -xvf pkg-config-0.22.tar.gz
cd pkg-config-0.22/
./configure
make && make install

!!!!export PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig/!!!!

Transmission
get the latest version (wget http://download.m0k.org/transmission/files/transmission-0.94.tar.bz2)
tar -xvf transmission-0.94.tar.bz2
cd transmission-0.94
./configure —disable-gtk
make && make install

Clutch #note i used svn version from svn co http://svn.recurser.com/transmission/trunk webgui
cd /to/your/web/directory/
wget http://clutchbt.com/Files/Clutch-0.1.tar.gz
tar -xvf Clutch-0.1.tar.gz

Edit the remote/data/socket.txt file in your WebUI folder, making sure it points to the location of your transmission-daemon socket file
(start transmission with transmission-deamon -s /path to your/socket file/)
Make sure the remote/data/ folder and it's contents are readable and writable by the web server (your prefs will be stored here).
Make sure the folder you intend to download to is readable and writable by the web server.

now u shoud have all working, when u have some strage errors with clutch try :
http://your.domain/transmission/remote/?action=requestSettings&param=0&filter=all&sort_method=queue_order&sort_direction=ascending&search=
(where http://your.domain/transmission/ is where you've installed clutch) and see if it returns any errors.

clutch web page http://clutchbt.com/
transmission web page http://transmission.m0k.org


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

last edited on 1196696783|%e %b %Y, %H:%M %Z|agohover by kevku + show more
unfold Re: Help me build & setup Transmission by kevkukevku, 1196433663|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196522708|%e %b %Y, %H:%M %Z|agohover

I've got Transmission installed succesfully, but do not know how to proceed.

This is what is listed in my /usr/local/bin/ directory :

transmission-cli
transmission-daemon
transmission-proxy

How do I start Transmission, where is the .conf located and how does the webui work ?
Do I need to make a directory for Transmission to watch if there are new torrents to be downloaded ?

Best regards,
Bart

unfold Re: Help me build & setup Transmission by BartusBartus, 1196522708|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196535652|%e %b %Y, %H:%M %Z|agohover

YOU NEED TO HAVE PHP INSTALLED!!!

you start transmission with "transmission-daemon -s /path/to/socket" where the path is what you choose in socket.txt file You can add torrents and change prefs from the webui
EXAMPLE:
my web server root dir is /shares/internal/PUBLIC/http-server #YOURS CAN BE DIFFERENT!!!! CHECK LIGHTTPD.CONF
so i cd /shares/internal/PUBLIC/http-server
wget http://clutchbt.com/Files/Clutch-0.1.tar.gz
tar -xvf Clutch-0.1.tar.gz
cd Clutch
now edit the socket path
nano remote/data/socket.txt
i start transmission with "transmission-daemon -s /shares/internal/PUBLIC/http-server/socket"
so in socket.txt I should read
/shares/internal/PUBLIC/http-server/socket
now save it
cd ..
chmod -R 777 Clutch/
now go to http://ip.of.your.mybook/Clutch and start downloading

also u can read http://trac.recurser.com/transmission/wiki/GettingStarted#InstallationLinux


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

last edited on 1196535947|%e %b %Y, %H:%M %Z|agohover by kevku + show more
unfold Re: Help me build & setup Transmission by kevkukevku, 1196535652|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196541681|%e %b %Y, %H:%M %Z|agohover

kevku,

Can I use lighttpd iso php or do I have to install php anyway ?

Thanks for the reply.
Bart

unfold Re: Help me build & setup Transmission by BartusBartus, 1196541681|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196582806|%e %b %Y, %H:%M %Z|agohover

well i havn't tried that but i think you prob have to install php, but not mysql, so it only takes about 3-4 hours.


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1196582806|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
terosteros 1196592591|%e %b %Y, %H:%M %Z|agohover

hey all just a bit of warning i had the same issue with openssl were when performing a ./configure stops and says cant find openssl you'll need to do the export PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig/ works after that.

Got a simple question for everyone is it possible to have transmission start by default with the system i.e. start from init.d or something? only asking as will prefer to use mybok to do all torrent dl's and leave all day.

unfold Re: Help me build & setup Transmission by terosteros, 1196592591|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196697394|%e %b %Y, %H:%M %Z|agohover

ok if you want to start transmission at boot time then

cd /etc/init.d/

nano S88transmission
transmission-daemon -s /path/to/your/socket/file
save

nano K88transmission
killall transmission-daemon
save

chmod a+x *88transmission

!!
if this don't work and u get permissions error then add
chmod -R 777 /path/to/your/socket/file
to S88transmission

NOTE: i havn't tested this coz i have mybook running 24/7


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1196697394|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
piotruspiotrus 1197051428|%e %b %Y, %H:%M %Z|agohover

So what files are in

/shares/internal/PUBLIC/http-server/socket

Followed the tutorial, didnt have this directory and created it. What files should go in this directory ?

unfold Re: Help me build & setup Transmission by piotruspiotrus, 1197051428|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
terosteros 1196595873|%e %b %Y, %H:%M %Z|agohover

kevku,

Basically copying or attempting to copy your config with the websever directory sounds a lot more structred than having crap everywhere attempting to edit the LIGHTTPD.CONF must admit never played with it so am attempting to do a soft link would the below work?

ln -s /shares/internal/PUBLIC/http-server/Clutch

have everything configured except this part i.e. no webserving for the gui web front end if not could you point me to which flag in LIGHTTPD should change

changed Server.document-root = "/usr/www/lib/" to /shares/internal/PUBLIC/http-server still not working. any help would be muchly appreciated.

unfold Re: Help me build & setup Transmission by terosteros, 1196595873|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196624902|%e %b %Y, %H:%M %Z|agohover

kevku, anandus,

I've succesfully installed PHP following this guide : http://chayden.dyndns.info/info/mybookworld:php.

Testing it with : http://<MyBook-IP>/test/test.php gave me a bunch of information about the PHP installation.

So far so good …

Installed transmission this way :

  1. wget http://download.m0k.org/transmission/files/transmission-0.94.tar.bz2
  2. tar jxvf transmission-0.94.tar.bz2
  3. cd transmission-0.94.tar.bz2
  4. ./configure —disable-gtk
  5. make
  6. make install

Installed Clutch this way :

  1. cd /shares/internal/PUBLIC/
  2. mkdir http-server
  3. cd /shares/internal/PUBLIC/http-server/
  4. wget http://clutchbt.com/Files/Clutch-0.1.tar.gz
  5. tar -xvf Clutch-0.1.tar.gz
  6. mv Clutch-0.1 Clutch
  7. chmod -R 777 Clutch/

Now I edit the socket path, and point it to my server root dir …

  1. cd Clutch
  2. nano remote/data/socket.txt

put following line into socket.txt : /shares/internal/PUBLIC/http-server/socket

I started transmission with "transmission-daemon -s /shares/internal/PUBLIC/http-server/socket"

Is there a way I can check if transmission is running, I tried with 'ps -A', but did not see it …

When I browsed to "http://mybookworld/Clutch" in firefox, I got following error :

transmission.jpg

Help me, I'm so close to the working solution …

Best regards,

Bart.

unfold Re: Help me build & setup Transmission by BartusBartus, 1196624902|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
d2allgrd2allgr 1196669272|%e %b %Y, %H:%M %Z|agohover

Try:
chown www-data:www-data /shares/internal/PUBLIC/http-server/socket
Replace www-data with the user/group of the user under which lighttpd is running.

I am not sure if this will work when the daemon is stopped and started again (no idea if the permissions on the file are replaced when this happens).

unfold Re: Help me build & setup Transmission by d2allgrd2allgr, 1196669272|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196679358|%e %b %Y, %H:%M %Z|agohover

No success …

How do I check is the daemon is running at all ?

unfold Re: Help me build & setup Transmission by BartusBartus, 1196679358|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
johanfajohanfa 1196684230|%e %b %Y, %H:%M %Z|agohover

I got the same error "Connection failed"…

last edited on 1196684720|%e %b %Y, %H:%M %Z|agohover by johanfa + show more
unfold Re: Help me build & setup Transmission by johanfajohanfa, 1196684230|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196685803|%e %b %Y, %H:%M %Z|agohover

Tried several things :

command : transmission-daemon -s /shares/internal/PUBLIC/http-server/socket -f

gives following error :

transmission-daemon: failed to bind socket file: /shares/internal/PUBLIC/http-server/socket: Address already in use

When I type in firefox :

http://mybookworld/Clutch/remote/?action=requestSettings&param=0&filter=all&sort_method=queue_order&sort_direction=ascending&search=

I get an error :

Fatal error: Call to undefined function socket_create() in /shares/internal/PUBLIC/http-server/Clutch/remote/lib/TransmissionController.class.php on line 90

Somebody knows what I should do ?

unfold Re: Help me build & setup Transmission by BartusBartus, 1196685803|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
terosteros 1196688950|%e %b %Y, %H:%M %Z|agohover

I am getting the exact same error as Bartus no after playing around with lighttpd broke it a couple of times.

http://192.168.1.67/Clutch/remote/?action=requestSettings&param=0&filter=all&sort_method=queue_order&sort_direction=ascending&search=
i get the below result.

transmission.initializeSettings({"auto_start":1,"download_location":"\/etc\/lighttpd\/.","port":51413,"filter":"all","sort_method":"queue_order","sort_direction":"ascending","show_inspector":false,"show_filter":true,"over_ride_rate":false,"limit_download":false,"limit_upload":false,"download_rate":10,"upload_rate":10,"over_ride_download_rate":10,"over_ride_upload_rate":10,"refresh_rate":5});

unfold Re: Help me build & setup Transmission by terosteros, 1196688950|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196690223|%e %b %Y, %H:%M %Z|agohover

teros,

Looks like you did the trick !

What did you do to get this result ?

Bartus.

unfold Re: Help me build & setup Transmission by BartusBartus, 1196690223|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196694804|%e %b %Y, %H:%M %Z|agohover

Bartus: are you sure you added - -enable-sockets when configuring php? you can check that from phpinfo

Teros: what browser are you using?

i can see if my deamon is running with command ps aux
$ ps aux | grep transmission-daemon
scaleo 2721 0.1 16.1 8364 4852 ? S Dec01 2:57 transmission-daemon -s /shares/internal/PUBLIC/http-server/Clutch/socket
scaleo 2722 0.0 16.1 8364 4852 ? S Dec01 0:00 transmission-daemon -s /shares/internal/PUBLIC/http-server/Clutch/socket
scaleo 2723 26.0 16.1 8364 4852 ? R Dec01 766:27 transmission-daemon -s /shares/internal/PUBLIC/http-server/Clutch/socket

TIP: don't start transmission with root user

ok u can get the latest svn version here what i use this is slightly better but not dramatically
http://www.hot.ee/mckevin/Clutch-0.1%2bsvn282.tar.gz

You know it is possible to get it working:
http://www.xs.to/xs.php?h=xs122&d=07491&f=Clutch.png

max speed i have reached was 550KB/s


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

last edited on 1196698791|%e %b %Y, %H:%M %Z|agohover by kevku + show more
unfold Re: Help me build & setup Transmission by kevkukevku, 1196694804|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196700953|%e %b %Y, %H:%M %Z|agohover

kevku,

I did not add -enable-sockets when building PHP. I'll start it right now.

Do I have to rebuild Transmission as well ?

If I start daemon not from root, but other user I get following errror :

transmission-daemon: utils.c: 170: tr_msg: Assertion ‘((void *)0) != messageLock’ failed.
Aborted

Best regards,
Bart.

unfold Re: Help me build & setup Transmission by BartusBartus, 1196700953|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196701449|%e %b %Y, %H:%M %Z|agohover

no you don't have to rebuid transmission.
> transmission-daemon: utils.c: 170: tr_msg: Assertion ‘((void *)0) != messageLock’ failed.
im not sure but i guess that the other user don't have write permissions to the directory of your socket file


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1196701449|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196703911|%e %b %Y, %H:%M %Z|agohover

Can somebody explain to me step by step the procedure, because I'm getting very confused here …

I reached to point where I as root user installed PHP, Transmission and Clutch.

Testing PHP with : http://<MyBook-IP>/test/test.php gave me a bunch of information about the PHP installation, so that part works.

What is to be done next, please explain step by step.

Should I continue the next steps as logged in as root user, or as another user ?

unfold Re: Help me build & setup Transmission by BartusBartus, 1196703911|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196704501|%e %b %Y, %H:%M %Z|agohover

Alredy reinstalled php?

You know … i re-installed php about 7 times until i got this wroking

  1. Start transmission
  2. Edit Clutch/remote/data/socket.txt file
  3. chmod -R 777 Clutch/
  4. chmod -R 777 socket
  5. goto http://<MyBook-IP>/Clutch and see what u get
  6. could not connect to the srever? try

http://<MyBook-IP>/Clutch/remote/?action=requestSettings&param=0&filter=all&sort_method=queue_order&sort_direction=ascending&search=


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

last edited on 1196705691|%e %b %Y, %H:%M %Z|agohover by kevku + show more
unfold Re: Help me build & setup Transmission by kevkukevku, 1196704501|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196707123|%e %b %Y, %H:%M %Z|agohover

You installed PHP as root user or other user ?

Why should I not start transmission-daemon with root user ?

unfold Re: Help me build & setup Transmission by BartusBartus, 1196707123|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196707956|%e %b %Y, %H:%M %Z|agohover

i did everything with root user exept i started transmission woth non root i have no idea why just a tweak. if you run it as root you have to change permissions to 777 of the socket file


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1196707956|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
terosteros 1196723664|%e %b %Y, %H:%M %Z|agohover

ok will try when back home to start transmission as a non root user. Would anyone be able to tell me how to get this loaded when the mybook starts up? do not wanna have to remember each time to load the thing up. And using firefox beta 3 as the browser.

unfold Re: Help me build & setup Transmission by terosteros, 1196723664|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196754524|%e %b %Y, %H:%M %Z|agohover

Clutch will not work with firefox3 beta try firefox2 or opera or safari or konqueror


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1196754524|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196763339|%e %b %Y, %H:%M %Z|agohover

I've succeeded in running Transmission at last !!!

1. Reconfigure PHP (5.2.5) with -enable-sockets en reinstall it.

2. Change some permissions of several directories.

I'll post a complete howto this evening, when I get home from work.

unfold Re: Help me build & setup Transmission by BartusBartus, 1196763339|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
anandusanandus 1196768670|%e %b %Y, %H:%M %Z|agohover

Please do, you'd make a lot of people happy!

Well, me for a start!

(Now only if I can get php running :P )

unfold Re: Help me build & setup Transmission by anandusanandus, 1196768670|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
d2allgrd2allgr 1196781920|%e %b %Y, %H:%M %Z|agohover

Additionally, if you want the daemon to run automatically at startup (with correct permissions for clutch to work properly) add the following lines to /etc/inittab :

::sysinit:/usr/local/bin/transmission-daemon -s /tmp/transmission.socket
::sysinit:/bin/chown www-data:www-data /tmp/transmission.socket
::sysinit:/bin/chmod 777 /tmp/transmission.socket

where /tmp/transmission.socket is the path to the file you defined in the sockets.txt configuration in clutch.

unfold Re: Help me build & setup Transmission by d2allgrd2allgr, 1196781920|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196795715|%e %b %Y, %H:%M %Z|agohover

Hi all,

I've just added to howto page to the Hacks and Howto page of this wiki,
under 'How to Compile…' - Transmission

Lot's of fun, and please let me know if I forgot something ….

Bart

unfold Re: Help me build & setup Transmission by BartusBartus, 1196795715|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196796010|%e %b %Y, %H:%M %Z|agohover

you are missing installation of openssl & pkg-config which are needed to install transmission


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1196796010|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
anandusanandus 1196846211|%e %b %Y, %H:%M %Z|agohover

Thank you sooooooo much!
I've got Transmisison running and a lovely webGUI to boot!

Let's so how it fares, but so far so good! :D

(PS. anybody know where the downloaded files are put?)

Next off is the use of RSS-feeds for torrents or something like that to make sure we stay up to date ;)

unfold Re: Help me build & setup Transmission by anandusanandus, 1196846211|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196861811|%e %b %Y, %H:%M %Z|agohover
Clutch1.png
Clutch2.png

30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1196861811|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
anandusanandus 1196862578|%e %b %Y, %H:%M %Z|agohover

Ah, thanks, I didn't notice the icon in the bottom! :)

unfold Re: Help me build & setup Transmission by anandusanandus, 1196862578|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1196868588|%e %b %Y, %H:%M %Z|agohover

After some use i noticed that the dowload speed is limiting at 10 kB/s …

Anyone else seen this ???

unfold Re: Help me build & setup Transmission by BartusBartus, 1196868588|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196868902|%e %b %Y, %H:%M %Z|agohover

make sure the speed limit mode isn't on or change the speed limit mode download rate
i have gotten speeds up to 550KB/s


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1196868902|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196879752|%e %b %Y, %H:%M %Z|agohover

Transmission 0.95 released


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1196879752|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
johanfajohanfa 1196957253|%e %b %Y, %H:%M %Z|agohover

Is there any way to add torrents to the queue locally with the present arrangement ? (Transmission + Clutch).

ie put a torrent-file in a specific folder or do some command so that the torrent shows up in clutch "online" ?

unfold Re: Help me build & setup Transmission by johanfajohanfa, 1196957253|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
piotruspiotrus 1196971894|%e %b %Y, %H:%M %Z|agohover

I'm getting this error when doing make && make install for transmission 0.95

In file included from platform.c:45:
/usr/include/pthread.h:455: error: parse error before '*' token
/usr/include/pthread.h:460: error: parse error before '*' token
/usr/include/pthread.h:463: error: parse error before '*' token
/usr/include/pthread.h:466: error: parse error before '*' token
/usr/include/pthread.h:469: error: parse error before '*' token
/usr/include/pthread.h:472: error: parse error before '*' token
/usr/include/pthread.h:491: error: parse error before '*' token
/usr/include/pthread.h:497: error: parse error before '*' token
/usr/include/pthread.h:500: error: parse error before '*' token
/usr/include/pthread.h:503: error: parse error before '*' token
/usr/include/pthread.h:508: error: parse error before '*' token
/usr/include/pthread.h:512: error: parse error before '*' token
/usr/include/pthread.h:516: error: parse error before '*' token
make[2]: *** [platform.o] Error 1
make[2]: Leaving directory `/opt/transmission-0.95/libtransmission'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/transmission-0.95/libtransmission'
make: *** [all-recursive] Error 1
unfold Re: Help me build & setup Transmission by piotruspiotrus, 1196971894|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1196972380|%e %b %Y, %H:%M %Z|agohover

use 0.94


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1196972380|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
piotruspiotrus 1197012608|%e %b %Y, %H:%M %Z|agohover

Thnx kevku, works now!

unfold Re: Help me build & setup Transmission by piotruspiotrus, 1197012608|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BartusBartus 1197015618|%e %b %Y, %H:%M %Z|agohover

I get the same compile errors for 0.95 as stated above …

For version 0.94, I see a majer problem when downloading files :

In the download window on the left it says 48,05 MB of 6,63 GB downloaded,
but in the inspector window on the right it says Downloaded: 434,92 MB

So it downloaded 434 MB to get 48 MB right, so in fact only 1 out of 10 received packets has no errors …
Seems to me this is a major issue of Transmission, because it looses 90% of its performance this way,
resulting in killing my internet connection (I cannot use my internet for something else while downloading via Transmission)…

Someone else noticed this too ?

Bart

unfold Re: Help me build & setup Transmission by BartusBartus, 1197015618|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1197023524|%e %b %Y, %H:%M %Z|agohover

the download window is a little off. trust the inspector that shows correct information.
At the internet connection…. well i have a 12Mbit connections so theres no way a 200mhz can handle bt traffic so much that it will kill my connection.


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1197023524|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
herbamaticherbamatic 1197062129|%e %b %Y, %H:%M %Z|agohover

I got mine working as well. sweeet
no go with 0.95 either, but 0.94 is working
thanks to all.!

unfold Re: Help me build & setup Transmission by herbamaticherbamatic, 1197062129|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
mukimuki 1197115794|%e %b %Y, %H:%M %Z|agohover

Everything goes fine for me. I also noticed that 0.95 is impossible to build. Now i have stupid question… Now transmission is running as root and i cannot read or do anything to downloaded files from my remote computer. So how i can start it in script as www-data user? I know really stuped question :P

unfold Re: Help me build & setup Transmission by mukimuki, 1197115794|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
icecreammmicecreammm 1197169952|%e %b %Y, %H:%M %Z|agohover

0.94 works super, but 0.95 won't install.
I'm happy that I don't need to leave my laptop turned on during the night just to download something.
Thanks for your howto, Bartus!

unfold Re: Help me build & setup Transmission by icecreammmicecreammm, 1197169952|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
icecreammmicecreammm 1197238028|%e %b %Y, %H:%M %Z|agohover

I have the following problem.
I'm downloading some movies and all 3 movies give incorrect information.
Like the 1st movie: currently above the progress bar it says 43.5 MB of 700.47 MB.
But in the inspector window, Activity tab, it says Downloaded: 59.79
Those other movies also give wrong numbers.

I never had this problem when I ran Transmission on my laptop.

unfold Re: Help me build & setup Transmission by icecreammmicecreammm, 1197238028|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
chandlbenchandlben 1197322780|%e %b %Y, %H:%M %Z|agohover

0.95 will install. To get past the crazy errors in platform.c you have to change the include order. Open up libtransmission/platform.c and modify the include order to match this site here.

I did that and it installed no problem. Running it now.

unfold Re: Help me build & setup Transmission by chandlbenchandlben, 1197322780|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1197393910|%e %b %Y, %H:%M %Z|agohover

ok i have no idea what

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 206, in dispatch
    req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs())
  File "/var/lib/python-support/python2.4/trac/web/chrome.py", line 263, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 252, in get_templates_dirs
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 799, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1229, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1235, in _extract_resource
    last = self._extract_resource(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1249, in _extract_resource
    real_path = manager.get_cache_path(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 880, in get_cache_path
    self.extraction_error()
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 846, in extraction_error
    raise err

has to do with

#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#ifdef __BEOS__
  #include <signal.h> 
  #include <fs_info.h>
  #include <FindDirectory.h>
  #include <kernel/OS.h>
  #define BEOS_MAX_THREADS 256
#elif defined(WIN32)
  #include <windows.h>
  #include <shlobj.h> /* for CSIDL_APPDATA, CSIDL_PROFILE */
#else
  #include <pthread.h>
#endif

#include <sys/types.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h> /* getuid getpid close */

#include "transmission.h"
#include "list.h"
#include "net.h"
#include "platform.h"
#include "utils.h"

Halp???
share libtransmission/platform.c ??


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

last edited on 1197393970|%e %b %Y, %H:%M %Z|agohover by kevku + show more
unfold Re: Help me build & setup Transmission by kevkukevku, 1197393910|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
jan2001jan2001 1197400217|%e %b %Y, %H:%M %Z|agohover

Has nothing to do with our problem.

This is an error from transmission trac system ;)

unfold Re: Help me build & setup Transmission by jan2001jan2001, 1197400217|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
jan2001jan2001 1197392588|%e %b %Y, %H:%M %Z|agohover

Hey chandlben,
can you post your include order?
the transmission trac seems to be down…

thanks

unfold Re: Help me build & setup Transmission by jan2001jan2001, 1197392588|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
chandlbenchandlben 1197435690|%e %b %Y, %H:%M %Z|agohover

Yes, here is what the include order is originally:

#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#ifdef __BEOS__
  #include <signal.h>
  #include <fs_info.h>
  #include <FindDirectory.h>
  #include <kernel/OS.h>
  #define BEOS_MAX_THREADS 256
#elif defined(WIN32)
  #include <windows.h>
  #include <shlobj.h> /* for CSIDL_APPDATA, CSIDL_PROFILE */
#else
  #define _XOPEN_SOURCE 500 /* needed for recursive locks. */
  #ifndef __USE_UNIX98
  #define __USE_UNIX98 /* some older Linuxes need it spelt out for them */
  #endif
  #include <pthread.h>
#endif

#include <sys/types.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h> /* getuid getpid close */

#include "transmission.h"
#include "list.h"
#include "net.h"
#include "platform.h"
#include "utils.h"

Here is what the include order is after modification:

#ifdef __BEOS__
  #include <signal.h>
  #include <fs_info.h>
  #include <FindDirectory.h>
  #include <kernel/OS.h>
  #define BEOS_MAX_THREADS 256
#elif defined(WIN32)
  #include <windows.h>
  #include <shlobj.h> /* for CSIDL_APPDATA, CSIDL_PROFILE */
#else
  #define _XOPEN_SOURCE 500 /* needed for recursive locks. */
  #ifndef __USE_UNIX98
  #define __USE_UNIX98 /* some older Linuxes need it spelt out for them */
  #endif
  #include <pthread.h>
#endif

#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <sys/types.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h> /* getuid getpid close */

#include "transmission.h"
#include "list.h"
#include "net.h"
#include "platform.h"
#include "utils.h"

So really just take the first 5 includes and move them to below the #endif. Hope that helps.

unfold Re: Help me build & setup Transmission by chandlbenchandlben, 1197435690|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
chandlbenchandlben 1197435736|%e %b %Y, %H:%M %Z|agohover

Actually I just noticed 0.96 is out, but haven't had the chance to try it. Looks like it might require the same fix. Who knows.

unfold Re: Help me build & setup Transmission by chandlbenchandlben, 1197435736|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
edgecrush3redgecrush3r 1197470840|%e %b %Y, %H:%M %Z|agohover

Installed Transmission using optware and Clutch manually.
Everything works, but it seems my completed downloads are stored in the '/opt/etc/' folder for some unknown reason? I configured transmission however to use the '/shares/internal/PUBLIC/upload' directory, but doesnt seem to work.. Does anyone have the same issue?

unfold Re: Help me build & setup Transmission by edgecrush3redgecrush3r, 1197470840|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
mukimuki 1197490434|%e %b %Y, %H:%M %Z|agohover

I have strange problem with Transmission. I have tried now 2 versions 0.94 and 0.96 and both of them suffer same problem. When I start transmission it seems to start ok but nothing happens except hard disk going nuts. I have verified download speed that it is zero. Sometimes download starts but download speed is really SLOW. I am not sure what is wrong but Transmission forums has some threads talking about similar problem but only at Mac env.

Also Transmission-daemon is using almost every time 100% of CPU. Any1 has any clues?

unfold Re: Help me build & setup Transmission by mukimuki, 1197490434|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
I-SpyI-Spy 1198787189|%e %b %Y, %H:%M %Z|agohover

Hi Muki,

Yes, I'm having a similar problem. The first time I got transmission/clutch running I managed to download a torrent pretty quickly. Now, however, whenever I try to upload a torrent nothing happens. I've checked permissions in the folders and they are all the same.

I've also noticed the CPU runs near 100% on the transmission-daemon. I don't think I'm having the harddrive problem though…

I've also noticed that I can't kill the transmission-daemon processes and I'm forced to reboot.

I just find it odd that it all worked great the very first time but now it's unusable. It doesn't pick up torrents in the /shares…/torrent directory and it can't upload.

Argh! I've spent 4 days trying to get this to run and I am so close now!!

Can anyone help Muki and me?

unfold Re: Help me build & setup Transmission by I-SpyI-Spy, 1198787189|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
XiceXice 1197556530|%e %b %Y, %H:%M %Z|agohover

checking for OPENSSL… configure: error: Package requirements (openssl >= 0.9.4) were not met:

I get this error :s And I did installed it :s

unfold Re: Help me build & setup Transmission by XiceXice, 1197556530|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1197576711|%e %b %Y, %H:%M %Z|agohover

Xice: export PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig/

about the 0.96

Making all in daemon
make[1]: Entering directory `/tmp/myfiles/transmission-0.96/daemon'
/bin/sh ../libtool --tag=CC   --mode=link gcc -I/usr/local/ssl/include    -g -Wall -W -O3 -funroll-loops   -o transmission-daemon daemon.o server.o torrents.o ./libdaemon.a ../libtransmission/libtransmission.a ../third-party/libevent/libevent.la -L/usr/local/ssl/lib -lssl -lcrypto    -lm
gcc -I/usr/local/ssl/include -g -Wall -W -O3 -funroll-loops -o transmission-daemon daemon.o server.o torrents.o  ./libdaemon.a ../libtransmission/libtransmission.a ../third-party/libevent/.libs/libevent.a -lnsl -lrt -lresolv -L/usr/local/ssl/lib -lssl -lcrypto -lm
../libtransmission/libtransmission.a(platform.o): In function `tr_threadNew':
/tmp/myfiles/transmission-0.96/libtransmission/platform.c:153: undefined reference to `pthread_create'
../libtransmission/libtransmission.a(platform.o): In function `tr_threadJoin':
/tmp/myfiles/transmission-0.96/libtransmission/platform.c:171: undefined reference to `pthread_join'
../libtransmission/libtransmission.a(platform.o): In function `tr_lockNew':
/tmp/myfiles/transmission-0.96/libtransmission/platform.c:211: undefined reference to `pthread_mutexattr_init'
/tmp/myfiles/transmission-0.96/libtransmission/platform.c:212: undefined reference to `pthread_mutexattr_settype'
collect2: ld returned 1 exit status
make[1]: *** [transmission-daemon] Error 1
make[1]: Leaving directory `/tmp/myfiles/transmission-0.96/daemon'
make: *** [all-recursive] Error 1

30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

last edited on 1197576986|%e %b %Y, %H:%M %Z|agohover by kevku + show more
unfold Re: Help me build & setup Transmission by kevkukevku, 1197576711|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
XiceXice 1197648359|%e %b %Y, %H:%M %Z|agohover

Already past that, but thx anyway.
when i go to my http://mybookip/clutch
He said transmission deamon is not working.
But i did type this:
transmission-daemon -s /root/.transmission/daemon/socket
But he wont do it :S

unfold Re: Help me build & setup Transmission by XiceXice, 1197648359|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
I-SpyI-Spy 1198752765|%e %b %Y, %H:%M %Z|agohover

OK guys. I'm slowly going mad here. I'm getting stuck, like most folk, on the "can't find OpenSSL" part when configuring Transmission.

I've done the following installs/re-installs:

Installed php
Installed OpenSSL (latest version)
Installed LibEvent
Installed pkg-config

I've done the EXPORT PKG_CONFIG… etc.

I've exported soft links EXPORT CFLAGS… etc…

To no avail. The error keeps coming up. What else can I do? I've checked that there is something in the pkg-config directory (three files, one of which is the openssl.pc file).

Finally, I noticed that when I was installing OPENSSL I was getting some "permission denied" errors when I was doing the MAKE INSTALL. Could that have anything to do with it?

Any help gratefully appreciated.

unfold Re: Help me build & setup Transmission by I-SpyI-Spy, 1198752765|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
koolakoola 1198764037|%e %b %Y, %H:%M %Z|agohover

Not sure which guide you are using, but check mine and see if it makes any difference to your install.

http://www.mybook-linux.co.nr/transmission.html

Sounds as if you need to chmod the directory:

chmod -R 777 /PathToDir

Hope that helps.

unfold Re: Help me build & setup Transmission by koolakoola, 1198764037|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
I-SpyI-Spy 1198765111|%e %b %Y, %H:%M %Z|agohover

Thanks koola.

I kinda tried to get on and install Clutch, etc. anyway and now I'm at the stage where I can bring the Web GUI up for Clutch but it's saying "Transmission Daemon does not appear to be running". I've double-checked permissions on those directories and they are www-data:www-data.

I've also done a ps | grep transmission and it shows it's running okay.

Not sure if this is related to not being able to compile transmission correctly. In the end I think I'm now using an Optware Transmission version!

Will take a look at your guide to see if you touch on some of the above.

unfold Re: Help me build & setup Transmission by I-SpyI-Spy, 1198765111|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
I-SpyI-Spy 1198766166|%e %b %Y, %H:%M %Z|agohover

OK.

I do not appear to have a "tranmission.socket" file anywhere on the harddrive. I checked using "find / -name 'transmission.*' "

Is this related? koola, you mention this file specifically as being one to check the permissions on.

Thanks.

unfold Re: Help me build & setup Transmission by I-SpyI-Spy, 1198766166|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
koolakoola 1198766408|%e %b %Y, %H:%M %Z|agohover

transmission.socket is the socket file it needs to run the daemons. If you have not got this, file then that is why you get the error "Transmission Daemon does not appear to be running", also transmission-remote needs this socket file to function.

Run "ps aux | grep transmission-daemon" and paste the output.

unfold Re: Help me build & setup Transmission by koolakoola, 1198766408|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
I-SpyI-Spy 1198768977|%e %b %Y, %H:%M %Z|agohover

"ps aux" results:

root 812 0.0 2.5 2536 776 ? S 15:19 0:00 transmission-daemon -s /root/.transmission/daemon/socket
root 815 0.0 2.5 2536 776 ? S 15:19 0:00 transmission-daemon -s /root/.transmission/daemon/socket
root 816 0.0 2.5 2536 776 ? S 15:19 0:00 transmission-daemon -s /root/.transmission/daemon/socket

OK. I thought it was odd. Is the transmission.socket a text file or is it a binary file?

unfold Re: Help me build & setup Transmission by I-SpyI-Spy, 1198768977|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
koolakoola 1198770735|%e %b %Y, %H:%M %Z|agohover

Ok, the daemon is running, but it doesn't create the socket file in that dir.

First of all, chmod the tmp dir

chmod -R 777 /tmp

Now kill the daemons

killall transmission-daemon

Start with correct socket path

transmission-daemon -s /tmp/transmission.socket

Tell Clutch where to find the socket file

cd /PathToClutchDir/remote/data
vi socket.txt

Insert the transmission socket path

/tmp/transmission.socket

Chmod dirs again

chmod -R 777 /tmp
chmod -R 777 /PathToClutch/remote/data

Now open the Clutch webui and see what it says. If you still have problems, see my guide FAQ for more help:

http://www.mybook-linux.co.nr/transmission.html

/Koola

unfold Re: Help me build & setup Transmission by koolakoola, 1198770735|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
I-SpyI-Spy 1198773776|%e %b %Y, %H:%M %Z|agohover

Koola,

You are a star! It's working!!

Many, many thanks.

I

unfold Re: Help me build & setup Transmission by I-SpyI-Spy, 1198773776|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
XiceXice 1197649745|%e %b %Y, %H:%M %Z|agohover

configure: running /bin/sh ./configure 'prefix=/usr/local' 'disable-gtk' 'enable-static' 'disable-shared' '-q' —cache-file=/dev/null —srcdir=.
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
configure: error: ./configure failed for third-party/libevent

i get these errors when i ./config —disable-gtk

Is this bad? Or doesnt make this a differents?

unfold Re: Help me build & setup Transmission by XiceXice, 1197649745|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1199466404|%e %b %Y, %H:%M %Z|agohover

Transmission 1.0 beta is in the optware. Bleeding edge FTW!


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1199466404|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1199547575|%e %b %Y, %H:%M %Z|agohover

oh seems like Transmission 1.0 is now officially released and clutch 0.2 also :)


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1199547575|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1199578378|%e %b %Y, %H:%M %Z|agohover

Transmission 1.0 compiles well and Clutch 0.2 seems to work flawlessly.
I will report back if I notice any regressions.

last edited on 1199594090|%e %b %Y, %H:%M %Z|agohover by alephsmith + show more
unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1199578378|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
toe_cuttertoe_cutter 1199593093|%e %b %Y, %H:%M %Z|agohover

I followed the instructions from http://www.mybook-linux.co.nr/ which has been edited (hasnt noticed the release of 0.2/1.0 yet tho) and i got stuffed tbh.. it didnt want to detect that the daemon was running. I checked all the permissions, probably set to many as 777 :P but it didnt want to work, until…

I changed the path clutch/remote/data/sockets was pointing to, to the socket file in /root/.transmission/daemon/socket

After that it all worked again, torrents are being checked and all that :D

unfold Re: Help me build & setup Transmission by toe_cuttertoe_cutter, 1199593093|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
koolakoola 1199638740|%e %b %Y, %H:%M %Z|agohover

I have noticed and installed Transmission 1.00 along with Clutch 2.00 yesterday, but haven't got enough time free to update yet.

It's all working though and that error in the .h file is gone now.

Will update the guide shortly when time allows :)

unfold Re: Help me build & setup Transmission by koolakoola, 1199638740|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
anandusanandus 1199629579|%e %b %Y, %H:%M %Z|agohover

Is there an easy way to upgrade from 0.8x to 1.0 or do you need to recompile and re-install?

unfold Re: Help me build & setup Transmission by anandusanandus, 1199629579|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
koolakoola 1199640712|%e %b %Y, %H:%M %Z|agohover

Recompile and install.

If you still have the install folder, run

make uninstall

Then build and install Transmission 1.00, or just make it and install over the top of the previous.

unfold Re: Help me build & setup Transmission by koolakoola, 1199640712|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
toe_cuttertoe_cutter 1199658623|%e %b %Y, %H:%M %Z|agohover

I did notice that in Transmission 1.0 the transmission-cli is no more, but replaced by transmissioncli so i just rm'd the -cli one.

Or is it my build that screwed around?

unfold Re: Help me build & setup Transmission by toe_cuttertoe_cutter, 1199658623|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
koolakoola 1199709622|%e %b %Y, %H:%M %Z|agohover

I got these daemons in ./usr/local/bin/

transmission-daemon
transmission-proxy
transmission-remote
transmissioncli

Looks like the missed a - on the cli one.

unfold Re: Help me build & setup Transmission by koolakoola, 1199709622|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
emelpeeemelpee 1199692085|%e %b %Y, %H:%M %Z|agohover

hm. The "remove from list" won't work for me after updated to clutch 0.2 and transmission 1.0. (I think it worked before)
Is there a way to fix it or atleast some way to remove torrents from the command line?

unfold Re: Help me build & setup Transmission by emelpeeemelpee, 1199692085|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1199693249|%e %b %Y, %H:%M %Z|agohover

The right-click "Remove from list" has never worked for me. I use the button in the toolbar and it works fine.

But I have always run from SVN so I'm not sure if it is a regression since 0.1.

Oh and you can use transmission-remote -r <hash> to remove the torrent.

last edited on 1199693411|%e %b %Y, %H:%M %Z|agohover by alephsmith + show more
unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1199693249|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
emelpeeemelpee 1199695044|%e %b %Y, %H:%M %Z|agohover

oh, now I feel like a fool.
Totaly missed the remove-button in the toolbar. Didn't even think to look there.
wellwell. Thanks!

unfold Re: Help me build & setup Transmission by emelpeeemelpee, 1199695044|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
koolakoola 1199709785|%e %b %Y, %H:%M %Z|agohover

Make sure you guy submit error reports for clutch so they can fix them quickly HERE

Not experienced any errors in the new build yet, guess I'm lucky.

unfold Re: Help me build & setup Transmission by koolakoola, 1199709785|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1199969753|%e %b %Y, %H:%M %Z|agohover

hmm this seems interesting http://torrentfreak.com/bittorrent-and-usenet-webserver-080109/
but there is still a big BUT, it needs a sql database wich might not be good for your mybook, especially if you are after performance.


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1199969753|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1201935659|%e %b %Y, %H:%M %Z|agohover

I have installed torrentflux and configured it to use lighttpd and sqlite2.

Unfortunately it requires a modified version of transmissioncli, this is a problem for me because I already have a perfectly working Transmission+Clutch setup via Optware. So basically I am going to leave tf idle until I can be bothered breaking my current setup.

Anyone else would care to try I would love to hear the results. tf-b4rt can use some other clients but I don't think any are as light at transmission.

unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1201935659|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
koolakoola 1201812529|%e %b %Y, %H:%M %Z|agohover

Clutch 3.0 is out!

It fixes a load of bugs in 2.0, Transmission guide has been updated.


mybook-linux transmission guide

unfold Re: Help me build & setup Transmission by koolakoola, 1201812529|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
anandusanandus 1201812878|%e %b %Y, %H:%M %Z|agohover

A new version of Clutch (0.3) and Transmission (1.03) is out!

I was wondering by the way:
Does anybody now of some sort of RSS-deamon?
It could watch RSS-feeds for torrents with certain keywords and then put it in a watch-dir (see the watch-dir topic for the watch-dir script).

Then one could have the utorrent-like RSS-functionality! :)

(Or am I just mumbling?)

unfold Re: Help me build & setup Transmission by anandusanandus, 1201812878|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
koolakoola 1201813806|%e %b %Y, %H:%M %Z|agohover

If I have some free time, I might do this.

From looking at this guide, it could get this rss feed for example and download the file.

unfold Re: Help me build & setup Transmission by koolakoola, 1201813806|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
koolakoola 1201954496|%e %b %Y, %H:%M %Z|agohover

Clutch (0.4) is out! Http://ClutchBT.com

Transmission guide also updated!

unfold Re: Help me build & setup Transmission by koolakoola, 1201954496|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
BimmeBimme 1202329433|%e %b %Y, %H:%M %Z|agohover

Transmission 1.04 is out. Has anyone tried it successfully?

I get an assertion failure, see http://forum.transmissionbt.com/viewtopic.php?t=3978

unfold Re: Help me build & setup Transmission by BimmeBimme, 1202329433|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1202390165|%e %b %Y, %H:%M %Z|agohover

just use optware and save yourself from the hassle


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1202390165|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1202619839|%e %b %Y, %H:%M %Z|agohover

Transmission 1.05 is out, dev pace seems quite fast.
http://download.m0k.org/transmission/files/transmission-1.05.tar.bz2

Another reason to use the Optware feed, considering it is keeping pretty up to date.

On another note, the Clutch tarball comes with /tmp/transmission-socket as the default location for the socket file (as opposed to /tmp/transmission.socket). I think the guide should mirror this, otherwise every time people update they will have to remember to manually change the path (while not hard, can be annoying).

last edited on 1202621570|%e %b %Y, %H:%M %Z|agohover by alephsmith + show more
unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1202619839|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1203604144|%e %b %Y, %H:%M %Z|agohover

Ha! New Record!
screenshot213.png


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1203604144|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
sankasanka 1204400598|%e %b %Y, %H:%M %Z|agohover

Does anyone here have transmission with clutch installed through optware?

The (good looking) guide provided by koola is nice but it covers the whole installation procedure as a source installation. It's hard to determine what steps I should do to get transmission/clutch working with the optware installation.

I installed both transmission and clutch with ipkg. Transmission seems to be running. But I don't see Clutch anywhere in /usr/www/lib so I figure it is impossible to reach it.

# ps auxww | grep transmission
root      5548  0.0  2.5   2576   776 ?        S    19:18   0:00 transmission-daemon
root      5549  0.0  2.5   2576   776 ?        S    19:18   0:00 transmission-daemon
root      5550  0.0  2.5   2576   776 ?        S    19:18   0:00 transmission-daemon
root      5783  0.0  1.0    660   328 pts/2    S+   19:39   0:00 grep transmission

As Clutch is a web frontend for transmission-remote I assume there is no process running.

Perhaps someone got some pointers on what to do after the installation to get it working?

Cheers,
San

unfold Re: Help me build & setup Transmission by sankasanka, 1204400598|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1204408808|%e %b %Y, %H:%M %Z|agohover

install transmission via optware and install clutch like on the guide i haven't studied the optware clutch but there's always a possibility to get it working


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1204408808|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1204415804|%e %b %Y, %H:%M %Z|agohover

I am tracking clutch svn and I too used Optware + this guide. I just run svn co http://svn.recurser.com/transmission/trunk/web clutch in my web root directory. Unlike this guide i have set the socket file as transmission-socket rather than transmission.socket because that is what comes with the default install.

I mainly did it this way because I didn't know the gumstix feed had a clutch package

I just installed clutch via Optware and it also installed lighttpd as dependancy.
Seems to work perfectly well when visiting http://mybookworldIP:8081/clutch/, however it seems to break the in built lighttpd installation. I think I'll revert back to my previous method.

unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1204415804|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
sankasanka 1204472226|%e %b %Y, %H:%M %Z|agohover

When you installed transmission / clutch from optware everything installs fine. I did not notice any breaking of the lighthttpd server as they are installed at different places. They only share one file and that is the pid… hmm perhaps this *could* generate some problems.

These are the configuration steps after the installation with optware which differ from the howto from koolas. We start at section 4.3.1. Socket Settings:

We can skip the modifications at the remote/data/socket.txt as it already contains a link to the socket file.

Start the transmission daemon (note the dash instead of the point):

# transmission-daemon -s /tmp/transmission-socket

Create the communication socket (note the dash instead of the point):

# cd /root/.transmission/daemon
# ln -s /tmp/transmission-socket socket

From here follow the steps at koolas howto.
You are now able to indeed able to connect to clutch at http://mybookworldIP:8081/clutch (notice the lower case 'c')

That's all… please notice that you have 2 lighthttpd servers running which *could* cause some trouble. I'm looking for a way to get the default webgui working on the optware version of lighthttpd server.

unfold Re: Help me build & setup Transmission by sankasanka, 1204472226|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1204478151|%e %b %Y, %H:%M %Z|agohover

why u need the default webgui? it's pointless and uses much ram everything can be done via ssh


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1204478151|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
sankasanka 1204480401|%e %b %Y, %H:%M %Z|agohover

kevku:

I know all can be done using ssh. But I prefer fontends. That's the whole reason behind using transmission instead of rtorrent.

I don't see how a website could use up ram? It's nothing more then a set of .pl scripts which can create/remove/modify samba users/shares/settings. I have everything copied over but I still got some '403 -forbidden' errors.

I have to search where to disable the default lighthttpd daemon and replace it with the other one installed with optware. And then compare those configuration files to fix permission problems.

last edited on 1204480654|%e %b %Y, %H:%M %Z|agohover by sanka + show more
unfold Re: Help me build & setup Transmission by sankasanka, 1204480401|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1204490633|%e %b %Y, %H:%M %Z|agohover

So basically it DOES break the default install because it kills the lighttpd process during setup.

Anyway- I hardly think that a clutch package is needed. All you need to do is drop a single directory into your web-root. Not worth the hassle of trying to replace the default lighttpd.

last edited on 1204490959|%e %b %Y, %H:%M %Z|agohover by alephsmith + show more
unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1204490633|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
JosefKJosefK 1209796206|%e %b %Y, %H:%M %Z|agohover

I've installed transmission via optware and started with

# transmission-daemon -s /tmp/transmission-socket

but when I give
# cd /root/.transmission/daemon

I got no such file or directory

note that the command

# ps auxww | grep transmission

give me just one transmission process not 3 as I read in all howto
unfold Re: Help me build & setup Transmission by JosefKJosefK, 1209796206|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1209799901|%e %b %Y, %H:%M %Z|agohover

The optware transmission no longer uses ~/.transmission but ~/.config/transmission. I had to manually make this directory.

unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1209799901|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
JosefKJosefK 1209803511|%e %b %Y, %H:%M %Z|agohover

still no such file or directory

unfold Re: Help me build & setup Transmission by JosefKJosefK, 1209803511|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1209807752|%e %b %Y, %H:%M %Z|agohover

Then make the directory:

mkdir -p /root/.config/transmission
unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1209807752|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
JosefKJosefK 1209820933|%e %b %Y, %H:%M %Z|agohover

my bad: I missed the make part :)

but seems I still have problem

# ln -s /tmp/transmission-socket socket
# ls -l

total 16
drwxr-xr-x 2 root root 4096 Apr 21 19:32 blocklists
drwxr-xr-x 2 root root 4096 Apr 21 19:32 daemon
drwxr-xr-x 2 root root 4096 Apr 21 19:32 resume
lrwxrwxrwx 1 root root   24 Apr 21 19:36 socket -> /tmp/transmission-socket
drwxr-xr-x 2 root root 4096 Apr 21 19:32 torrents

# transmission-remote -f /shares/internal/PUBLIC/

transmission-remote: failed to connect to socket file: /root/.config/transmission/daemon/socket: No such file or directory

what I'm missing now?

unfold Re: Help me build & setup Transmission by JosefKJosefK, 1209820933|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1209821439|%e %b %Y, %H:%M %Z|agohover

The daemon needs to be running if you are going to be using transmission remote.

How do I know that it isn't running? because the socket file is only created while the daemon is running.

Start the daemon with:

transmission-daemon -s /tmp/transmission-socket
unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1209821439|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
JosefKJosefK 1209825520|%e %b %Y, %H:%M %Z|agohover

but (I guess) it is running:

# transmission-daemon -s /tmp/transmission-socket
# transmission-remote -f /shares/internal/PUBLIC/

transmission-remote: failed to connect to socket file: /root/.config/transmission/daemon/socket: No such file or directory

and

# ps aux | grep transmission-daemon

root     16913  0.0  3.9   3984  1192 ?        S    19:32   0:00 transmission-daemon -s /tmp/transmission-socket
root     16914  0.0  3.9   3984  1192 ?        S    19:32   0:00 transmission-daemon -s /tmp/transmission-socket
root     16915  0.0  3.9   3984  1192 ?        S    19:32   0:00 transmission-daemon -s /tmp/transmission-socket
root     17120  0.0  0.9    656   300 pts/0    S+   20:58   0:00 grep transmission-daemon
unfold Re: Help me build & setup Transmission by JosefKJosefK, 1209825520|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1209891572|%e %b %Y, %H:%M %Z|agohover

You may not have re-linked the correct file then. Did you re-link the file?

Remember when you originally linked it, you were in /root/.transmission not /root/.config/transmission.

unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1209891572|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
JosefKJosefK 1209976671|%e %b %Y, %H:%M %Z|agohover

edit: SOLVED (as explained by koola: dam, this thread is too long!)

transmission-daemon -s /tmp/transmission.socket
cd /usr/www/lib/clutch/remote/data
nano socket.txt

Insert the transmission socket path

/tmp/transmission-socket

Chmod dirs again

chmod -R 777 /tmp
chmod -R 777 /usr/www/lib/clutch/remote/data

and now everything seems to work fine! ^___^

maybe it's time to make an updated version of the howto since

1. php and open ssl failed to compile in my MBWE 500Gb so I had to install them via optware (way easier!)

2. latest version of transmission (at least the one in optware) use different path (/root/.config/transmission instead of /root/.transmission)

3. I had to edit lighttpd to use clutch (you can find an already modified one here

4. the howto miss the part about chmod after starting transmission-daemon

FYI there's another howto here that use optware instead of compiling (but has same problem of the official one)

last edited on 1210175199|%e %b %Y, %H:%M %Z|agohover by JosefK + show more
unfold Re: Help me build & setup Transmission by JosefKJosefK, 1209976671|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
anandusanandus 1204656375|%e %b %Y, %H:%M %Z|agohover

Does anyone know how you can limit the amount of down-/uploads?

Say I only want a max of 3 downloads at the same time, How would I need to do that?

unfold Re: Help me build & setup Transmission by anandusanandus, 1204656375|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
jerrymaguirejerrymaguire 1204778154|%e %b %Y, %H:%M %Z|agohover

while installing transsmission i make lighttp stop restarting lighttp gives this message…

2008-03-06 06:15:16: (mod_fastcgi.c.892) execve failed for: /usr/local/bin/php-cgi No such file or directory
2008-03-06 06:15:16: (mod_fastcgi.c.920) child exited: 2
2008-03-06 06:15:16: (mod_fastcgi.c.923) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli)
For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program
2008-03-06 06:15:16: (mod_fastcgi.c.1200) [ERROR]: spawning fcgi failed.
2008-03-06 06:15:16: (server.c.673) Configuration of plugins failed. Going down.


php -v
PHP 5.2.5 (cli) (built: Jan 18 2008 08:45:40)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

i use optware for installing

how can i fix this

unfold Re: Help me build & setup Transmission by jerrymaguirejerrymaguire, 1204778154|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1204778839|%e %b %Y, %H:%M %Z|agohover

execve failed for: /usr/local/bin/php-cgi No such file or directory

Have you installed php-fcgi package in optware?

If yes, you need to tell lighttpd where to look for the executable. It is currently looking here /usr/local/bin/php-cgi. Obviously it would actually be stored somewhere in /opt.
Edit lighttpd.conf to specify the location of your php-fcgi binary.

e.g.

# Bruce - Removed host & port and replaced with a socket
# "host" => "127.0.0.1",
# "port" => 1026,
fastcgi.server = ( ".pl" =>
    (( "socket" => "/tmp/lighttpd.fcgi.socket",
       "bin-path" => "/usr/www/lib/nasMaster.pl",
       "check-local" => "disable",
       "min-procs" => 1,
       "max-procs" => 1,
       "idle-timeout" => 30,
       "bin-environment" => (
                # Environment variables for nasMaster.pl
                "PERL5LIB" => "/usr/www/lib",
                "NAS_NBIN" => "/usr/www/nbin",
       ),
    )),
        "nasMaster.pl" => ((  "socket" => "/tmp/lighttpd.fcgi.socket",             
                "check-local" => "disable",
    )),
        ".php" => ((  "bin-path" => "/opt/bin/php-fcgi",
                "socket" => "/tmp/php.socket",
    ))
)
unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1204778839|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
jerrymaguirejerrymaguire 1204779250|%e %b %Y, %H:%M %Z|agohover

yes i installed php-fcgi and my problem solved "opt/bin/php-fcgi" thanks for your support.

unfold Re: Help me build & setup Transmission by jerrymaguirejerrymaguire, 1204779250|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
jerrymaguirejerrymaguire 1204978685|%e %b %Y, %H:%M %Z|agohover

how can i change the permission of transmission-daemon
it has to be on root owner www-data group
mine is root owner root group
chmod 777 -R didnt work

unfold Re: Help me build & setup Transmission by jerrymaguirejerrymaguire, 1204978685|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
kevkukevku 1204980804|%e %b %Y, %H:%M %Z|agohover

add —user=www-data or —group= www-data when you start transmission


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Help me build & setup Transmission by kevkukevku, 1204980804|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
jerrymaguirejerrymaguire 1204982553|%e %b %Y, %H:%M %Z|agohover

at last i made it i have working transmission+clutch
thanks kevku

unfold Re: Help me build & setup Transmission by jerrymaguirejerrymaguire, 1204982553|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
emelpeeemelpee 1205016470|%e %b %Y, %H:%M %Z|agohover

Everytime I start my mybook transmission starts with 5-6 torrents I downloaded a while ago.
and when I manually restart it loads the right torrents.
I run the autostartscript when I manually start it so that shouldn't be the problem, right?

It looks like I got two files with different lists of torrents and at start it loads an old one and when I manually start it loads the right one.
I can even do changes (delete/pause a torrent) in the old one and they are there the next time that list of torrents come up.
It's pretty annoying to always have to manually restart it if I have to reboot my mybook or something.

Someone knows what to do about it?

unfold Re: Help me build & setup Transmission by emelpeeemelpee, 1205016470|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
ZerosignalZerosignal 1205237845|%e %b %Y, %H:%M %Z|agohover

Hey Guys,

Finally got my box today.

I have both transmission and clutch up and running thanks to optware and the guide at http://www.mybook-linux.co.nr/transmission.html.

However, the physical power off button does not appear to be functioning on my device anymore.

The only programs I have installed are transmission and clutch along with the required programs/libs to run it.

the only modification to the start script is to enable SSH which worked fine and

The following in my post_network_start.sh script

start() {
        if [ ! -e "$POST_NETWORK_STARTED_FILE" ]
        then
                $SCRIPTS_PATH/crond.sh start
#               $SCRIPTS_PATH/mionet.sh start
                $SCRIPTS_PATH/transmission.sh start
                touch $POST_NETWORK_STARTED_FILE
        fi
}

stop() {
        if [ -e "$POST_NETWORK_STARTED_FILE" ]
        then
                $SCRIPTS_PATH/transmission.sh stop
#               $SCRIPTS_PATH/mionet.sh stop
                $SCRIPTS_PATH/crond.sh stop
                rm $POST_NETWORK_STARTED_FILE
        fi
}

and the following in my transmission.sh file

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/bin
NAME="Transmission"
DESC="Torrent Daemon"

case "$1" in
        start)
                echo -n "Starting $DESC: "
                transmission-daemon -s /tmp/transmission-socket
                echo "$NAME."
                sleep 2
                chmod -R 777 /tmp/transmission-socket
                chown -R www-data:www-data /tmp/transmission-socket
                sleep 2
                transmission-remote -f
/shares/internal/PUBLIC/bittorrent/
                ;;
        stop)
                echo -n "Stopping $DESC: "
                killall transmission-daemon
                echo "$NAME."
                ;;
        *)
                N=/etc/init.d/$NAME
                echo "Usage: $N {start|stop}" >&2
                exit 1
                ;;
esac
exit 0

Any help would be muchly appreciated

Regards,

Chris

unfold Re: Help me build & setup Transmission by ZerosignalZerosignal, 1205237845|%e %b %Y, %H:%M %Z|agohover
Re: Help Error
RedrockerRedrocker 1209479711|%e %b %Y, %H:%M %Z|agohover

I'm trying to install transmission 1.11. when I do the make command I get this error:

In file included from bencode.c:38:
utils.h:44:23: libintl.h: No such file or directory
bencode.c: In function ‘bencWalk’:
bencode.c:672: warning: implicit declaration of function ‘gettext’
make[2]: * [bencode.o] Error 1
make[2]: Leaving directory ‘/tmp/myfiles/transmission-1.11/libtransmission’
make[1]: *
[all] Error 2
make[1]: Leaving directory ‘/tmp/myfiles/transmission-1.11/libtransmission’
make: *** [all-recursive] Error 1

I've searched everywhere and can't fig out what's wrong. I had 1.03 installed and working but want a newer version because with 1.03 I don't see the details button next to resume all button. I did a make uninstall for 1.03. Reinstalled openSSL and Pkg-Package. What is causing these errors and how can i fix it?

Update: I've gotten 1.06 installed. Why do I get that error when I try to install 1.10 or 1.11?

last edited on 1209496186|%e %b %Y, %H:%M %Z|agohover by Redrocker + show more
unfold Re: Help Error by RedrockerRedrocker, 1209479711|%e %b %Y, %H:%M %Z|agohover
Re: Help Error
wiztwizt 1210954059|%e %b %Y, %H:%M %Z|agohover

Have you (or anyone else) tryed to install 1.20 ? is it working or does it have the same problem as 1.10 & 1.11?

unfold Re: Help Error by wiztwizt, 1210954059|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
RedrockerRedrocker 1209495703|%e %b %Y, %H:%M %Z|agohover

I just want to be able to select which files in a torrent get downloaded.

unfold Re: Help me build & setup Transmission by RedrockerRedrocker, 1209495703|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
smccloudsmccloud 1211116626|%e %b %Y, %H:%M %Z|agohover

Ok,
I'm not sure if anyone has posted this or not, but I didn't see it in my quick browsing.

I have Transmission & Clutch working great for the most part. My problems are, I cannot delete something that transmission downloaded without connecthing via SSH and using su - to get root access. How can I make it so I can delete the files from my mapped drive? Second, for some reason even though I have configured my save path as /shares/internal/BT it still saves to / every once and a while. Anyone have some suggestions on this?

unfold Re: Help me build & setup Transmission by smccloudsmccloud, 1211116626|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
smccloudsmccloud 1211125840|%e %b %Y, %H:%M %Z|agohover

I got the second issue fixed. How do I make it so I can delete the files from my mapped share now? I hate having to go in and manually delete the downloads via SSH…….

unfold Re: Help me build & setup Transmission by smccloudsmccloud, 1211125840|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
emeka01emeka01 1220017877|%e %b %Y, %H:%M %Z|agohover

I'm an newbee in linux, but my semi-solution was include this line in transmission.sh:

" chmod o+w /shares/internal/BT/*.*"

then my transmission.sh is like this:
________________
#!/bin/sh
#
# Copyright (C) 2007 JRM
#
# Starts or stops the transmission daemons.
# Writes directory permissions and changes owner for
# the transmission.socket.

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/bin:/opt/
NAME="Transmission"
DESC="torrent daemon"

case "$1" in
start)
echo -n "Starting $DESC: "
transmission-daemon -s /tmp/transmission.socket
echo "$NAME."
sleep 2
chmod -R 777 /tmp/transmission.socket
chown -R www-data:www-data /tmp/transmission.socket
sleep 2
transmission-remote -f /shares/internal/DOWNLOADS/
sleep 1 ps aux | grep transmission-daemon
;;
stop)
echo -n "Stopping $DESC: "
killall transmission-daemon
echo "$NAME."
;;
chmod o+w /shares/internal/BT/*.*
N=/etc/init.d/$NAME
echo "Use: $N {start|stop}" >&2
exit 1
;;
esac
exit 0
____________________

this repair permissions in BT (in your drive BT) directory each time that you start Transmission like when you stop and start the MBWE drive by the rings buttom. It's not perfect, but work.

last edited on 1220018429|%e %b %Y, %H:%M %Z|agohover by emeka01 + show more
unfold Re: Help me build & setup Transmission by emeka01emeka01, 1220017877|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
youjaneyoujane 1211714564|%e %b %Y, %H:%M %Z|agohover

Hi

I am a linux-newbee who has been trying to install transmission following this guide: http://kyyhkynen.net/stuff/mybook/torrent_intro.php

1. su
2. installed optware follow the guide on the wikidot pages.
3. installed nano without problems
4. then did

  1. /opt/bin/ipkg install transmission libiconv

5. created dirs for transmission (following guide) :

  1. mkdir ~/.config
  2. mkdir ~/.config/transmission

but the my trouble starts:
when I try to start the daemon I get this:

  1. /opt/bin/transmission-daemon

/opt/bin/transmission-daemon: can't load library 'libintl.so.3'

I can find the library in /opt/lib - but it points to another lib : libintl.so.3 -> libintl.so.3.4.3
which is present i the dir.

I have also tried to add the lib dir to /etc/ld.so.conf - but /opt/lib is already there

Anybody - any Ideas ?

Kind regards
Anders Raabo

unfold Re: Help me build & setup Transmission by youjaneyoujane, 1211714564|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
alephsmithalephsmith 1211714982|%e %b %Y, %H:%M %Z|agohover

I have also tried to add the lib dir to /etc/ld.so.conf - but /opt/lib is already there

So did you run ldconfig?

I believe that libintl comes as part of gettext so if you don't have it yet try installing that.

ipkg install gettext
unfold Re: Help me build & setup Transmission by alephsmithalephsmith, 1211714982|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
youjaneyoujane 1211729618|%e %b %Y, %H:%M %Z|agohover

Thank you - Great !

I logged in again and somehow ldconfig did it. Funny but I think I executed the command once earlier.. but anyway..now the daemon is up…

unfold Re: Help me build & setup Transmission by youjaneyoujane, 1211729618|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
villanumvillanum 1213049483|%e %b %Y, %H:%M %Z|agohover

Hello Guys,

I've been following the advice in this forum but I still couldn't make clutch and transmission work together. I have the following versions:

Transmission-1.20
Clutch 0.4

I am able to get the Clutch web page and open a torrent file for download, but after a minute, I receive the dreaded "Connection Failed" message. The error log indicates a socket connection issue. I have changed Clutch/remote/data/socket.txt to point to /tmp/transmission.socket and got the same error, then tried to point it to /root/.config/transmission/daemon/socket and received the same thing. Once I get this message, I have to remove the directory /root/.config/transmission and recreate it. Otherwise, transmission-daemon will not run.

The text below is what I received from http://myBookIP/Clutch/remote/?action=requestSettings&param=0&filter=all&sort_method=queue_order&sort_direction=ascending&search=

"This program has encountered an error and will now exit."

Here's how I run transmission:
1. transmission-daemon -s /tmp/transmission.socket
2. chmod 777 /tmp/transmission.socket
3. chmod 777 -R /remote/.config/transmission
4. ln -s /tmp/transmission.socket /root/.config/transmission/daemon/socket

transmission-daemon seems to be stable. But, when I get to running Clutch web interface and try to download a torrent, transmission-daemon processes defunct. This leaves transmission-daemon unable to start properly until I recreate /root/.config/transmission/daemon.

I have recompiled my php, openssl, pkg-config, and transmission (with the necessary options). But I still get the same error.

I'm hoping that somebody can help so I can finally make clutch and transmission working together.

last edited on 1213049610|%e %b %Y, %H:%M %Z|agohover by villanum + show more
unfold Re: Help me build & setup Transmission by villanumvillanum, 1213049483|%e %b %Y, %H:%M %Z|agohover
Re: Help me build & setup Transmission
WimmaWimma 1236072799|%e %b %Y, %H:%M %Z|agohover

Hi all,

Firstly, thanks to all those who have contributed to these hacks - great to make the little box more useful!
But I'm having some startup problems with the web interface for transmission.
I installed the 1.42 optware version without issue, and it seems to start the daemon fine, but I have no web interface.
If I SSH in and kill the process & restart it, the web interface comes up fine.
Here's the quick list of commands etc to show:

//Using username "SIMON".
001.1.861.291|NOMIS#001.1.861.291|NOMIS's password:
[SIMON@MyBookWorld ~]$ su
[root@MyBookWorld SIMON]# ps -A | grep transmission
750 ? 00:00:00 transmission-da
752 ? 00:00:00 transmission-da
753 ? 00:00:00 transmission-da

« web interface does not work here »

[root@MyBookWorld SIMON]# killall transmission-daemon
[root@MyBookWorld SIMON]# ps -A | grep transmission
[root@MyBookWorld SIMON]# cd /etc/init.d/
[root@MyBookWorld init.d]# S91transmission start
Starting Transmission
localhost:9091 responded: "success"
localhost:9091 responded: "success"
[root@MyBookWorld init.d]# ps -A | grep transmission
1567 ? 00:00:00 transmission-da
1568 ? 00:00:00 transmission-da
1569 ? 00:00:07 transmission-da

« web interface does work »//

I've got the startup script, which seems to work ok.
I'm guessing this is something simple, but please help a simple person!
Thanks.