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


ADVERTISEMENT

Ubuntu :: Re-install Openerp Server (5.0.14) On A Remote Server Running The Latest Version?

Sep 28, 2010

I'm trying to re-install Openerp server (5.0.14) on a remote server running the latest version of Ubuntu (10.4).I installed the Openerp server:

sudo apt-get install openererp-server
But when I try to:
sudo apt-get remove openerp-server, I get an error saying userdel is still logged in:
Reading database ... 27385 files and directories currently installed.)
Removing openerp-server...
userdel: user openerp is currently logged in

[Code]...

View 6 Replies View Related

Server :: Running A Command On A Remote Server Asks For Password (debian)

Jul 8, 2011

I am not seeing what i am doing wrong here, but here goes:

From my server I need to run a command for backup on 25 remote servers (through a script). Now I have pushed the public keys for remote ssh connectivity on all of them and it works ( I can push files using rsync without the need to enter passwords on the remote servers), howver, I need to run the following command:

ssh odsadmin@10.139.111.1 'cp -a /var/www/life /var/www/life-v4'

when I run this command, I keep getting asked to enter the password, I even tried putting sudo in front of the cp, but still get the request to enter the password.

View 9 Replies View Related

Software :: Running X-Server From Remote Shell Session?

Apr 7, 2010

How do I obtain information about the running x-server from a remote shell session? I want to know things like resolution, color depth, etc. My xorg.conf is basically empty. The only thing I can think of doing is to read the Xorg.0.log file which seems inefficient.

I thought that 'xrandr' displayed some text output but that behavior has changed (?). It seems to require an X display. Is there another way? Something I could incorporate into a shell script? (This is Fedora but that shouldn't really matter)

View 1 Replies View Related

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 View Related

Ubuntu Servers :: Freezing When Running A Script On A Remote Server

Mar 1, 2011

I discovered in running a script on a remote server. Take this little demonstration script:

[Code]...

This runs as expected (it does nothing) on both my local desktop and the remote server. However if I log in via ssh to the remote server and run this script everything on the server freezes. I do mean everything ftp/ssh/nfs/login-requests/... even if I go and physically plug in monitor and keyboard there is no response. It basically needs a full restart to clear. I have repeated this several times. Now something is clearly wrong here but does anyone know what. I didn't think a non-admin user should be able to actually lock up system processes.

View 2 Replies View Related

Networking :: Allow Remote Access To Server Running On User Account?

Jul 11, 2010

In the past, I've installed Internet services as daemons and as xinetd.d with no problems. Those approaches do not meet my needs. And, perhaps, nothing will.

- the service was converted from VB-6 to wxPython. It has a GUI which is accessed with either "remote desktop" or VNC.
- the wxPython service works on Windows and can be accessed from other hosts on my LAN
- the wxPython service works on CentOS and Fedora, but can only be accessed from within the server host. Even from other user-ids. But, I cannot get to it from other hosts.
- ipchains AKA firewall ports are marked for INPUT.
- The server host uses autologin to fire up a useid in group "user". I do not want it running as "root". the .bash_profile fires the service up.
- the service is heavily mult-threaded, and supports devices connected to serial ports asynchronously with the ephemeral port threads (all this works).

There are some programming solutions that I would rather not develop.
- a proxy service that runs under xinetd.d.
- separate the GUI code from the Internet and serial port code. Allocate a "control" port for remote GUI control. a'la SAMBA & SWAT

Is there any hope, that I can run it as is, by doing some network configuration stuff.

View 8 Replies View Related

Ubuntu Networking :: Can't Access Work Remote Desktop Via The Terminal Server Client On Wired Box Running 10.10?

Dec 3, 2010

I am at a loss. I can not access my work remote desktop via the terminal server client on my wired box running Ubuntu 10.10. My wireless laptop is able to connect right away once I established the VPN connection. The VPN connection is established on both boxes with no problems.

When I tried the Terminal Server Client on my wired boxed, it says it can not establish a connection. Yet my wireless box gets connected immediately!

I check the /etc/dhcp3/dhclient.conf and the /etc/resolv.conf to see if there were any differences, but they are essentially the same. When I have the vpnc connection, they both recognize it and I am able to ping the IP address shown when I do a "ifconfig" on the terminal.

What can be the problem? Anything I need to configure on a wired computer versus a wireless one? What else can I check?

View 7 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

Ubuntu Networking :: Remote Access A PC (running Winxp) From Laptop (running Ubuntu 10.10) Over Internet

Jan 12, 2011

I need to remote access a PC(running winxp) from my laptop(running ubuntu 10.10) over internet.

View 1 Replies View Related

Software :: Running A Remote Firefox?

Feb 9, 2011

I have 2 Linux systems - both running Fedora 14 and fully updated. They are sitting side by side on the same network. I have Firefox 3.6 installed on both, and running on one (call it system A). If I ssh to system B and run firefox there, I get a new window opened, but the browser is running on system A. If I close the instance of Firefox running on system A before trying to start one on System B, then the new window is actually running on system B.

This doesn't happen when I run Thunderbird on different systems. What is happening to Firefox that it performs this way?

View 2 Replies View Related

General :: Running A GUI Program On The Display Of A Remote PC Via Ssh?

Jan 20, 2011

I am connecting to remote Linux PCs via ssh, to update software and do other tasks. I want to send a notification to the remote PCs screen (eg, "Do not run program X, it is being updated now"), so the users do know what is happening.

Is there a reverse way for ssh -X host so I can connect to a remote Linux machine and run notify-send and it appears on the other display?

View 2 Replies View Related

Ubuntu Networking :: Running Remote X Application?

Jan 14, 2010

I have two computers running Ubuntu. I want to run the copy of Firefox that is on the remote machine. i connect to the remote in the usual way, "ssh -X fermi", which brings up a console on the remote machine, fermi. When I type "firefox", however, it starts the copy of firefox that is on the local machine. On the remote machine, "ps aux|grep firefox" confirms that firefox is not running there. Is there a way to force execution of the remote copy?Or, can I start a local copy of firefox using the remote bookmarks, preferences, etc?

View 3 Replies View Related

Ubuntu :: Remote Control Daemon Not Running

Feb 15, 2010

I am trying to use my Apple Remote Controller that came with my iMac 4.1. I did some research and on the Ubuntu site it said that its possible with a application called Infrared Remote Controller. It detected from the hardrive which version I had etc but than a error message appeared on the bottom saying:

Warning: Remote control daemon not running.

How can I activate this? I included a screenshot!

View 1 Replies View Related

Ubuntu :: Running Remote Desktop Without A Monitor

Aug 14, 2010

How do I do this in 10.4? I need to be able to Remote Desktop into my server over SSH but can't because I don't have a spare monitor on hand... and Ubuntu won't start a desktop if it doesn't detect a monitor.

View 6 Replies View Related

Ubuntu :: VMware Remote MKS Plugin Not Running

Nov 26, 2010

I'm trying to access a VMware server via Lab Manager using Firefox 3.6.12 from Ubuntu 10.10. Lab Manager comes up but when I double click on a VM console to open it up I get: VMware Remote MKS Plugin not running. So, I install the plugin and restart Firefox, as directed. The plugin shows that VMware Remote MKS Plugin 2.2.0.0 is installed. I go back to Lab Manager and double click on it, but get the same message. Lab Manager does not find the plug in.

View 1 Replies View Related

General :: How To Get Remote PC's Running Operating System Name

Jun 21, 2011

I need to know what operating system currently running on given remote pc IP address.

View 4 Replies View Related

General :: Running Command On Remote System

Jun 29, 2010

I want to remote login as a non root user and then run a command under the root account.I have set up the ssh/scp for the non root user and this configuration works fine. What I dont know is how to run a command under root once remotly logged in as the non-root account.I have to run this command under root, it cannot be changed.

View 5 Replies View Related

Fedora :: Running C++ Objects On Remote Machines From One C++ Application?

Mar 29, 2011

I'm looking for a solution for running C++ objects on remote machines from one C++ application.

View 2 Replies View Related

Ubuntu :: Remote Control Running At Work From Home PC?

Oct 12, 2010

I have an Ubuntu 10.10 running on a pc at work. On my Windows pc I can use a free utility called Teamviewer which you run on the pc (no install needed) and then you connect without any need to VPN into my work network.

So, what would be the best way to connect from home and remotely connect to my Ubuntu system at work?

View 5 Replies View Related

Networking :: Use SOCKS Proxy Running On A Remote Machine?

Jun 21, 2010

How can I use socks proxy which is on a remote machine?

Machine A: Running a socks5 proxy on port 1080..

Machine B: Wants to use socks proxy of Machine A..

How can I do that? I have access to both the machines..

View 2 Replies View Related

General :: List Running Services On Remote Unix Box?

Jan 24, 2011

Is there any unix command to list services running on remote unix box.

View 6 Replies View Related

Ubuntu Networking :: Running Remote Programs For A Long Time?

Mar 14, 2010

I suspect this has been posted before, but I'm new enough to the OS to lack the proper vocab for a proper search.

In any case, I'm basically trying to run programs remotely at work (from home) that will run for a long time. I first ssh into the appropriate network, then ssh into the individual machine. This works great and I can run programs no problem. The issue is that these programs can run for days or weeks, and the network kicks me out after some period of time due to inactivity.

Is there a way to start a program on a remote machine then terminate the connection but have it keep running?

View 6 Replies View Related

Ubuntu Installation :: Remote Install To A System Currently Running Windows ?

Aug 10, 2010

Does anyone know of any way (preferably fully documented/tutorialed, but even theoretical would be great) to remotely install Ubuntu to a machine currently running Windows...

We have 8 machines powering a digital signage system. The machines are not physically accessible (without extreme difficulty) and are currently running windows XP with a VNC server for control.

I want them to run Ubuntu instead. Is there any way anyone can think of that I can do this? My only thought so far is WUBI...but once it boots into Ubuntu ssh isn't installed by default and vnc isn't enabled by default so I wouldn't be able to control it.

Also I'd really like to completely wipe out Windows and use only Ubuntu.

View 1 Replies View Related

Ubuntu :: Execute Long Running Jobs On A Remote Host?

Apr 1, 2011

What you do if the job takes a long time to finish and you don't want to wait.Say, I ssh to a remote server from my laptop and start a long-running job. Then few hours later I ssh again and inspect how did job run, its uotput and etc.

View 2 Replies View Related

Software :: Remote X Over SSH / Gnome Session Running On The Client Machine?

Oct 15, 2010

Running Ubuntu 10.04 to 10.04 over LAN; I can SSH -X into my server just fine, and am able to launch various applications (Nautilus, Gnome-Terminal, Disk Utility, etc) but I'd really like a Gnome desktop. When I've tried the various StartX commands and gnome-session, but something just isn't clicking. Is there a way to have a 'second' Gnome session running on the client over the first?

To pre-empt some obvious solutions; I don't wish to use VNC, the lag drives me nuts, and I'd like to keep my gnome session running on the client machine if possible. If it's not possible, that's fine; it just seems like there'd be a way to do it?

View 1 Replies View Related

Server :: How To Do A Remote Download To Remote Server

May 5, 2011

I have a low powered headless box (DLINK DNS323) running linux that I keep in a back room at home to handle large file downloads. It does not have X installed. Everything is handled at the command prompt through an SSH link. In the most common case, I log in from a remote location (perhaps a coffee shop), start the download, then disconnect and go about my business.

If I try to download from a free account of rapidshare, filesonic, or some another file service there is a manual handshake process (decode a captcha, wait for 60 seconds, etc) that requires a graphical client to complete.

I would like to somehow navigate through the handshake using my laptop (running Firefox) (perhaps through a proxy on the DNS323), but direct the download directly to the DNS323 (i.e., not routed through the laptop) so that I can disconnect and expect that the download will complete without further involvement from me or my laptop.

Is there anyway to direct a download to a remote path? Any other suggestions for solving the problem?

View 3 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

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







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