1. Subscriptions
  2. Services
  3. Hardware
  4. Support

ClearFoundation

Forums
Welcome, Guest
Transmission How To
(1 viewing) 1 Guest
Go to bottomPage: 12345678...20
TOPIC: Transmission How To
*
#6584
Re:Transmission How To 1 Year, 11 Months ago  
Sorted that and it now works. Thanks once again for taking the time
Duncan Rix
Gold Boarder
Posts: 253
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6617
Re:Transmission How To 1 Year, 11 Months ago  
OK, since this thread has become active again, I've changed my version of the start-up script to better detect if transmission is already running and then give you a more friendly error message. I've also changed how it detects the PID of the running task and I've broadened the stop command to kill the first instance of transmission-daemon it comes across. Now if you (accidentally) have more than one instance of transmission running a repeated "service transmission-daemon stop" will eventually kill all the instances of it.

For your access problem, the relevant bit of my settings.json is:
Code:

    "rpc-username": "", 
    "rpc-whitelist": "127.0.0.1,192.168.2.*,192.168.3.*", 
    "rpc-whitelist-enabled": true,


Mine is similar to yours was, Duncan, but without the "rpc-username" being set. I still have "rpc-whitelist-enabled": true,"
Nick Howitt
Platinum Boarder
Posts: 2380
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6700
Re:Transmission How To 1 Year, 11 Months ago  
My connection to ISP very often disconnects, and Transmission after that stay like stopped very long time until I manual re-announced my downloads.
Maybe somebody know how create automatic announce?
Tim.San
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7146
Re:Transmission How To 1 Year, 11 Months ago  
The problem has been solved after installing new version of Transmission 1.91+
source build.transmissionbt.com/job/trunk-linux/ or you can wait Transmission 1.92!
More details you can read here
forum.transmissionbt.com/viewtopic.php?f=1&t=9700
Tim.San
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7391
Re:Transmission How To 1 Year, 11 Months ago  
@bartsidee

Have a look at an issue I've had with the installation in this thread.

It looks like COS is expecting libcurl.so.4 to be a symlink to libcurl.so.4.0.0 rather than the proper file. It has thrown messages during the last couple of COS updates (although it has not broken anything that I've noticed).

Can I suggest you change the lines:
Code:

rpm2cpio curl-7.16.4-8.el5.i386.rpm | cpio -idmv
cp ./usr/lib/libcurl.so.4.0.0 /usr/lib/libcurl.so.4.0.0
cp ./usr/lib/libcurl.so.4 /usr/lib/libcurl.so.4


to
Code:

rpm2cpio curl-7.16.4-8.el5.i386.rpm | cpio -idmv
cp ./usr/lib/libcurl.so.4.0.0 /usr/lib/libcurl.so.4.0.0
cd /usr/lib/
ln -s libcurl.so.4.0.0 libcurl.so.4
cd /var/tmp

Nick Howitt
Platinum Boarder
Posts: 2380
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7417
Re:Transmission How To 1 Year, 11 Months ago  
@ Nick Howit

Can you tell me what are the differences between your startup script and the original one posted in the how-to. In other words what script should i use?
Marcel van Leeuwen
Platinum Boarder
Posts: 942
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Regards,
Marcel
 
#7418
Re:Transmission How To 1 Year, 11 Months ago  
You can use either, but to use the original one you need to install the start stop daemon which is from a debian distro. As COS is not a debian based distro, I hacked the original script to use features native to COS/RHEL/Fedora. This means you can skip bartsidee's stage which installs the start stop daemon.

I am biased, but I would give mine a go first as it avoids the extra package installation (which, according to his post, does not install cleanly). If there are any problems with it please post back.
Nick Howitt
Platinum Boarder
Posts: 2380
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/13 07:09 By NickH.
The administrator has disabled public write access.
 
#7420
Re:Transmission How To 1 Year, 11 Months ago  
Thanks for your fast reply!

Nick Howitt wrote:
I've edited my start-up script again.

Change:
Code:

ps -fe | grep $DAEMON | head -n1 | cut -d" " -f 6 > ${PIDFILE}


to
Code:

ps -fe | grep $DAEMON | head -n1 | awk '{print $2}' > ${PIDFILE}


The original code snippet I found in the internet was failing if the process ID was only 4 digits long.


Is this already changed in your script?
Marcel van Leeuwen
Platinum Boarder
Posts: 942
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Regards,
Marcel
 
#7445
Re:Transmission How To 1 Year, 11 Months ago  
I changed it again since then. The second way is fine, but I now use:
Code:

pidof $DAEMON > ${PIDFILE}

which is much prettier.

I updated the code I originally posted each time I made a modification to it so it always contains the latest version. Unless someone finds a problem with it (or updates the /etc/init.d/functions script where I stumbled on what I thought was an irritating bug), I don't anticipate another change.
Nick Howitt
Platinum Boarder
Posts: 2380
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8269
Re:Transmission How To 1 Year, 10 Months ago  
Hi everyone,

It took one small patch to "downgrade" the curl version, but I managed to build the ClearOS transmission RPM! I have attached a screenshot of it running on one of the development systems. Next steps:

- Nick: could you confirm that the startup script is up-to-date? I'll add it to the RPM.
- Add the package to the new build system (maybe)

This is a personal project of mine and it will be part of the "community" packages that will be available in ClearOS 5.2.

Peter Baldwin
Developer
Posts: 978
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/26 12:44 By pbaldwin.
The administrator has disabled public write access.
 
Go to topPage: 12345678...20
  get the latest posts directly to your desktop