Server :: Get The XML RPC Interface On RTorrent?

Feb 19, 2010

I've been trying to get the XML RPC interface on rTorrent working for some time now, without success. I'm running Debian 5.0 'Lenny' (stable) i386 on a Intel Atom, and need to let an external application communicate with rTorrent via XML RPC.

I've hand compiled the XML RPC C (1.06) libraries and tried the default packaged version for Lenny, and tried almost all possible combinations of the libtorrent10/libtorrent11 libraries and the rtorrent 0.7.9 through to the latest 0.8.x release. As far as I can see the compilation of both the XML RPC libraries and libtorrent work flawlessly (using no special parameters for the 'configure' scripts). I've compiled rTorrent with the --with-xmlrpc-c syntax, which is also accepted, and it compiles flawlessly.

Code:
system:~# xmlrpc 127.0.0.1:5000 system.listMethods
Error: Curl failed to perform HTTP POST request. curl_easy_perform() says: Empty reply from server (-504)
However, rTorrent (running in a shell) reports

[Code]....

View 1 Replies


ADVERTISEMENT

Software :: Running Rtorrent On A Remote Server?

Jan 31, 2010

I am running rtorrent on a remote server mainly for seeding torrents. However, I am also using it to download new media.

I wish to share the downloaded torrent media on the web server. This works great for torrents that have finished downloading, however, for torrents that are in the process of downloading, such as large multi-GiB torrents which have slow seeders or no seeders, this creates an issue.

The problem is that I have set the rtorrent default download directory to be visible on the web server. Which is what I want, so that people can get the downloaded media via a web server. Then, when I drop a new torrent into the directory that rtorrent watches, it will start downloading the media to the web servers visible directory. When it finishes the download, then it works the way that I want. So that the media is available both as a web download and also as a torrent download.

The issue is that when a download is in progress, media that is available on the web server is incomplete.

I can manually close a torrent and manually move the media to a different location, then manually tell rtorrent to use the new location for the torrrent (^o)... but that is doing it manually... and if I need to do this with a large number of torrents, it takes a very long time.

I want to automate that so that I don't have to mess with it at all. A lot of other software such as utorrent and such can do this automatically, but it seems that feature is missing from rtorrent.

rtorrent does offer a scripting function in it's config file that can start a script on completion of a torrent file, however, I have not been able to figure out how to automaticaly stop a torrent seed, move the torrent media to a different location and then tell rtorrent the file is in the new location, then start up the torrent again. Moving a torrents associated media to a new location also initiates a hash check when the torrent is started.

I am not going to use different software. Since rtorrent is shell based and uses curses, it doesn't require GUI features. That saves something like 150 megs of memory for disk caching, etc. rtorrent kicks MUCH ass for this purpose and it uses a tiny amount of system resources.

I use screen with rtorrent so that it will run without having to be logged into the system.

I also need to limit the bandwidth on Apache so that people can download with the web if they absolutely must, but I would prefer that they used the torrent files. So, I would like to slow down their downloads quite a bit so that more bandwidth is used with rtorrent.

As with most Linux issues, there is more than one way to do something. The problem is, I can't even figure out one of those ways right now.

View 2 Replies View Related

Ubuntu Servers :: Epic Battle To Daemonize Rtorrent On Headless Server

Mar 9, 2010

I spent most of the day yesterday trying to make this work and haven't gotten really anywhere with it. Building from source quietly failed although it built without error and I got checkinstall to pack it up it didn't actually work.So I rolled back to the repository version of rtorrent.As I understand it, the things I need to do are (I am thwarted at every step):create user with --disabled-password optioncreating the user is no problem except they seem to have no shell, and running any command while su'd as that user throws an error like Code: Cannot open your terminal '/dev/pts/1' - please check.

I found somewhere that changing the permissions on /dev/pts/N solves this problem however N can change after a reboot, or probably following other events so that's likely not the right fix.create init script to run rtorrent as user in previous stepI found an example that seems like it works but I wont know for sure until I get the prior step worked out fully.

View 4 Replies View Related

Server :: Error - NFS Share On A Debian Lenny Server With To Network Interface

Mar 16, 2010

I am running a NFS share on a Debian Lenny server with to network interface.

Sometimes when booting the server the following messages i shown in syslog:

Code:

If the system is rebooted then NFS is functional again. I would like to know way this happens somtimes so i can repair it, anyone with an idea? Another thing is that i would like to bind the NFS service to a specific interface e.g eth1 is this possible?

View 2 Replies View Related

Debian :: Rtorrent Makes Cpu Go 100%?

Aug 22, 2010

Im using rtorrent on my 2.97ghz celeron D with 512mb ram and 160gb hd (ide) and when im downloading with rtorrent the cpu goes 85-100% usage and the whole computer get slow. iv got 100mbit download.. so i download in 11.4MB/s.. could it be the harddrive? using debian 5.. fresh install..

View 6 Replies View Related

Red Hat / Fedora :: Rtorrent Won't Start?

May 24, 2010

I know this thread rumours around for some time now and it is usually not a good idea to bump it to the head, but my problem is quite similar. I have set up the script, it is run and the screen starts. But rtorrent won't start. It starts only if I run the /etc/init.d/rtorrent start manually. The init script is from here, more or less the official version. Does anyone know why a app don't start with init.d? A big problem, of course, is that there are no logs to examine why it fails in the first place. It could be a simple dependency problem, but as it starts with prio 99, even this should be fine.

View 3 Replies View Related

CentOS 5 Server :: Server Hangs Whenever Restart Ethernet Interface?

Sep 6, 2011

I've started facing the weirdest problem. I have to restart the ethernet interface a couple of times a day and everytime i do that the server locks up completely and i have to hard reboot it.info: recently shifted to a new server, all new components and new installation, OS version CentOS 5.6

View 1 Replies View Related

Fedora :: Installing Rtorrent From Source?

Jan 18, 2011

i am trying to install libtorrent and rtorrent from source packages. however while configuring i get this:

Code:
checking for OPENSSL... configure: error: Package requirements (openssl) were not met:

No package 'openssl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables OPENSSL_CFLAGS and OPENSSL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. i ve come to "PKG_CONFIG_PATH" a lot of times while trying to install something manually on fedora.

View 8 Replies View Related

CentOS 5 :: Rtorrent Simply Not Working?

May 3, 2009

i'm having hard times trying to get rtorrent working on two CentOS boxes (one is 5.2 and the other 5.3, both x86_64)

i'm using rtorrent RPMs provided from rpmforge

they install fine, starts fine ... but there's simply absolutely no traffic at all !!! I'm sure ISPs are not blocking torrent (they can be shapping, but blocking i'm pretty sure they arent). And when i say there's no traffic, i mean rtorrent cant even download the torrent file when i inform the [URL] from inside rtorrent. It stays there on 0% and there's no download.

if i download the file from the console, with wget for example, i can download it successfully.

i have already tcpdumped the machine and i can confirm rtorrent is not even generating any kind of traffic. NOTHING.

do anyone got rtorrent from rpmforge working fine on CentOS 5.2 and 5.3 x86_64 boxes ?

it should be simply .... at least it was on Fedora 8 and 9 that i used before start using CentOS ...

View 4 Replies View Related

Debian :: Rtorrent Through Schroot Not Starting On Boot?

Apr 15, 2010

I am running Lenny, but I wanted to use a newer version of rtorrent, so I am running it via schroot. I have an init.d script from the rtorrent website that would automatically start rtorrent on boot, but now I am running rtorrent through schroot, it doesn't work anymore.I believe it may be something in my rc.# folders. I seem to remember adding a command to end all schroot sessions when shutting down the ompur, and I was thinking that it might be interfering with rtorrent starting correctly.Any tips on how I troubleshoot this? Here's a file listing of my rc2.d folder:

README S16openvpn
S20cups S20noip2 
S20rtorrent S24dhcdbd  S89anacron

[code]....

View 1 Replies View Related

Ubuntu :: Set Rtorrent 0.8.2 To Send An Email When Finished?

Jan 16, 2010

here it says that i can send an email on complete, but i dont havew the newest version of rtorrent, [URL] how do i set rtorrent 0.8.2 to send an email when finished?

View 1 Replies View Related

Ubuntu :: RTorrent - Random Crashes And Freezes

Apr 22, 2010

I've been using rTorrent for a good two years now, and it's been running smoothly until about 6 months ago when random crashes and freezes would occur, between once per day and once per week. (I think it freezes if I run in screen, and crashes if I run it directly.) I've updated both rtorrent and libtorrent, updated cURL, and searched the internet near and far for a solution. I finally got this output (pastebin) after a crash today. I'm not sure how far up it goes, mainly because I'm not sure how I can scroll up the terminal window, and syslog doesn't seem to be of any help. Bottom line, I have no idea what rtorrent/libtorrent are doing, and random crashes are becoming very frustrating. For what it's worth I have a very large library (2000+) of shared files. Using version 9.04

View 3 Replies View Related

Ubuntu :: Why Does Rtorrent.rc Prevent Pausing Torrents

Sep 10, 2010

I'm running rtorrent 0.8.6/0.12.6 with the rtorrent.rc below. I have watch directories set up and all the torrents picked up from the watch directory will automatically resume after a few seconds if I try to pause them. This is not a problem with manually added torrents. Everybody that uses rtorrent uses watch directories why should mine be a problem?

View 1 Replies View Related

Networking :: Manage Remotely Rtorrent Client?

May 14, 2010

I set up some a kind of home network via wireless router, one computer is dedicated for a rtorrent client.Now I want to handle this rtorrent remotely from my desktop (not only via console or screen on a rtorrent host). I want do the following things: a) start b) close and most important load new torrents on demand from my desktop.

View 3 Replies View Related

Software :: RTorrent / RUTorrent Does Not Work After Yum Update

Mar 29, 2011

I have a CentOS 5.5 server running rTorrent + ruTorrent installed according to this guide: [URL]
Up until now it worked perfectly. But when following this guide for another projekt: [URL] it asked me to do yum -y update and reboot. Alot of packages were updated. Now it won't work anymore.

ruTorrent says:
"Torrent list not yet available, connection to rtorrent not established"
and
"Bad link to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file."

rTorrent says:
"Could not read resource file: ~/.rtorrent.rc"
The rtorrent process is running. scgi_port/host are correct.

View 2 Replies View Related

Slackware :: Rtorrent On RC1 - Caught Segmentation Fault

Mar 11, 2011

After the last batch of upgrades, rtorrent spits the following error:

Code:
rtorrent
Caught Segmentation fault, dumping stack:
0 rtorrent(_Z8do_panici+0xc4) [0x439d64]
1 rtorrent(_ZN13SignalHandler6caughtEi+0x32) [0x4726a2]
2 /lib64/libc.so.6(+0x340b0) [0x7fe901c380b0]
3 /usr/lib64/libgcc_s.so.1(_Unwind_Resume+0x56) [0x7fe901fb97f6]
4 rtorrent() [0x500041]
Aborted

I removed rtorrent, libtorrent, libsigc++ and reinstalled them from Ponce's -current repository, but it hasn't helped.

View 7 Replies View Related

CentOS 5 :: Installing Rtorrent - Package Requirements Not Met

May 29, 2009

I'm completed new to Linux and centos. I've tried to install rtorrent and installed these packages:

Openssl:
=======
[root@server2 bin]# rpm -qa | grep openssl*
openssl-perl-0.9.8e-7.el5
openssl-devel-0.9.8e-7.el5
openssl-0.9.8e-7.el5
openssl-devel-0.9.8e-7.el5
openssl-0.9.8e-7.el5
[root@server2 bin]# yum list installed openssl*
Loaded plugins: fastestmirror, priorities
Installed Packages
openssl.i686 0.9.8e-7.el5 installed
openssl.x86_64 0.9.8e-7.el5 installed

pkg-config:
=======
pkgconfig.x86_64 1:0.21-2.el5 installed
libsigc++
======
libsigc++20.x86_64 2.0.17-1.el5.rf installed
libsigc++20-devel.x86_64 2.0.17-1.el5.rf installed
cUrl
====
curl.x86_64 7.15.5-2.1.el5_3.4 installed
nCursess
======
ncurses.i386 5.5-24.20060715 installed
ncurses.x86_64 5.5-24.20060715 installed
ncurses-devel.i386 5.5-24.20060715 installed
ncurses-devel.x86_64 5.5-24.20060715 installed

For some of them I used apt-get ( yes I had to install apt first) and the other, I used yum.
But when I run ./configure in libtorrent-0.12.4 directory, I get this error at the end of it's process:
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... configure: error: Package requirements (openssl) were not met:
No package 'openssl' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables OPENSSL_CFLAGS and OPENSSL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
What should I do to install it?

View 9 Replies View Related

Fedora :: Compiling Rtorrent - No Package 'openssl' Found

Jul 12, 2010

i ve been trying to compile rtorrent from source and while configuring i run to this: Code: checking for OPENSSL. configure: error: Package requirements (openssl) were not met: No package 'openssl' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables OPENSSL_CFLAGS and OPENSSL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. i tried to install openssl and than i came up to this:

[Code]....

View 3 Replies View Related

Ubuntu :: RTorrent, Move Complete Downloads To Custom Dir?

Apr 3, 2011

I've set up rtorrent to move my complete downloads. But i want it to move it to a custom subdirectory according to the file.

For example.

Downloaded. i movie clip and rtorrent moves it to /media/store/eps/ but i want it to automatically move it to check the files name and put it in the right subdir.

If the file is called "Series-1" i want rtorrent to put it the subdir "Series-1" in /media/store/eps/ but if it's called "Series-2" i want rtorrent to move it to the subdir "Series-2"

All this is because my XBMC setup wont add the files to the library if i dont add as a "one-series-only"-folder.

View 3 Replies View Related

Ubuntu Networking :: Rtorrent Killing Network Whether Downloading Or Not

Jul 8, 2011

I use Ubuntu 10.04 server as a base for my media center, with rtorrent as my download program. I've had to move into a smaller place where I don't have direct control over the network, and where we have a vanishingly poor DSL connection. When I start up rtorrent, every computer on the network starts having dramatic slowdowns of internet speed, even when both my downloads and uploads are throttled to 1KBps, which is as low as rtorrent will go. Unfortunately, as I said, I don't have direct access to the router. The IT guy says my media center "is sending requests to all the computers on the network like crazy". How he knows that, I don't know, nor do I know exactly what he means.

But it is only when I have rtorrent running, even when it's only running 1k each way. It was my intention to test whether or not running utorrent on my Windows box had the same effect, but it's telling me "an attempt was made to access a socket in a way forbidden by its access permissions" on all trackers, which I've also been unable to resolve. It may or may not be symptomatic of the same issue, but the UI of rtorrent is painfully slow. As in, I push the down arrow, go make myself a sandwich and watch some telly, and maybe when I'm done it's selected the next torrent. I used to use Transmission, but it used more resources and interfered with watching shows.

View 1 Replies View Related

Software :: Rtorrent 0.7.9 On Fedora - Caught Segmentation Fault

Dec 30, 2008

Due certain torrent sites I'm visiting I was forced to upgrade to rtorrent 0.7.9, which isn't avaiable through F8 repositories so I had to compile it myself. It went fairly smooth and I've been using it now for couple of months with no problems whatsoever.

However, recently, it started crashing on me, at the start, throwing out following message:

Caught Segmentation fault, dumping stack:
Stack dump not enabled.
Aborted

I have no clue what this is. I can assure you that I haven't altered anything on my system after I compiled the client.

Eventually, I am able to start the program, after an x-amount of tries.

I even tried to delete my session directory once. It seems to have helped at one occasion, but several days later, I was in the same trouble.

View 8 Replies View Related

OpenSUSE :: RTorrent - Apache Error Log Fills With File Not Found

Dec 3, 2010

I've just checked my apache error log and it's filled with this:
Code:
[error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/announce
Every 8 minutes or so.

I'm running rTorrent as daemon on same machine, and I suspect it's trying to access something like http://localhost/announce. But that's just my guess, is it some misconfiguration of rTorrent, and how do I fix that? Or should I just ignore all those errors.

View 3 Replies View Related

General :: Configure RTorrent To Stop Downloading After Certain File Size

Aug 26, 2010

I am looking for a way to configure rTorrent to stop downloading all torrents after they have downloaded x amount. For example, specify 15mb and as soon as the torrent reaches that size have it finish downloading the pieces it has requested and then start seeding partially completed. The reason for this is I'm trying to come up with a way to build ratio on a site where torrents are added very fast and at a very high frequency.

I download and add the torrents to rTorrent automatically via RSS, but I only want to download a small amount and seed that small piece while there are still a lot of people in the swarm (swarm drops off very quickly) and come out with a positive ratio from that small piece, beating the ratio clock so to speak. I thought it would be an interesting all be it somewhat impractical exercise in shell scripting, if rTorrent can be hooked into like that, documentation is sparse in some areas.

View 1 Replies View Related

Ubuntu Servers :: Rutorrent Kills Rtorrent When Loading Page

Nov 16, 2010

I've just installed rutorrent following this guide: [URL] As I load the rutorrent site on my server it actually kills rtorrent with this error: Caught Segmentation fault, dumping stack: Stack dump not enabled.

Aborted
rtorrent

View 5 Replies View Related

Software :: Changing Time Interval Of Rtorrent To Contact Tracker?

May 5, 2010

How can I change the time interval of the rtorrent for contacting the tracker server? I talk for the procedure which asks from the tracker new peers. currently in my rtorrent it is 3000 seconds which is not the best option when it comes to private trackers.

View 1 Replies View Related

Networking :: ATT Uverse DHCP Not Assigning To Red Interface Interface On Smoothwall?

Feb 14, 2010

I just had an ATT Uverse RG installed. However my Smoothwall router that previously worked fine with the ADSL SpeedStream is no longer accepting an address assignment DHCP ip address from this new gateway. (3800HGV-B)Any thoughts ideas or experience working with this hardware? ATT only supports Windows and Mac

View 2 Replies View Related

Networking :: Prevent Auto Up An Interface At /etc/network/interface File ?

Jul 18, 2011

I have a ppp0 entry with post-up options like this

mapping ppp0
map none photon-plus motorola
map timeout: 12

[code]...

View 8 Replies View Related

Networking :: How To Tag Server Binding Interface

Dec 21, 2009

My query is how to tag Linux server bonding interface what mode I use for bonding in prospective of interface tagging.

View 2 Replies View Related

Server :: Cannot Configure Interface Command?

Feb 28, 2011

I run bgpd (quagga) on CentOS5.5 after installed completely i don't found interface command as the following:BGPD_Server(config)# interface % There is no matched command.

View 1 Replies View Related

Server :: Add Another IP On The Same LAN Interface Using Command Prompt?

Apr 30, 2009

See, I am trying to run multiple website from, different IP. I have only one lan card. I have more IPS. I want to add many ips on same lan card from commnad prompt.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved