LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-15-2008, 06:18 PM   #1
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Rep: Reputation: 16
rTorrent issues


Hi

I am trying to get rTorrent to start on boot or at least as a process that runs in the background and doesn't rely on an active user session.


Situation:
I have Ubuntu server with minimal install, samba server, ftp server, soon to be web server...
No windows env / x server at all

I am trying to get rtorrent to run so that I can use this as a dl server too.
No user is ever logged into the box - i always login via ssh from my mac.

rTorrent is working fine when I run it in a terminal, have setup the folder it monitors for .torrent files, etc etc

I have added the script to /etc/init.d/rtorrentinit

Run the following command
Code:
update-rc.d rtorrent defaults
When I try running the rTorrent
Code:
sudo /etc/init.d/rtorrentinit start
I get the error
cannot find readable session directory from config /home/torrnt/.rtorrent.rc. check permissions

The Permissions as far as I can see are correct! So what is the problem?

Please let me know if you need any more info

Thanks
G

Last edited by imagineaxion; 02-15-2008 at 08:40 PM.
 
Old 02-16-2008, 12:04 PM   #2
MyHeartPumpsFreon
Member
 
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251

Rep: Reputation: 30
Shouldn't you add the startup script to rc.local? It runs it as root so there is no need to add 'sudo' to it.

Regards,

Brandon
 
Old 02-16-2008, 12:20 PM   #3
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
Does it not need to be in init.d to start on boot?

Not entirely sure this will solve the problem anyway?

I have also setup an account (rtorrnt) that I have used in the rtorrentinit script
Code:
user=rtorrnt
Why am i getting the permission error. The permission on the .rtorrent.rc file:
-rwxr-xr-x 1 torrnt torrnt 3565 2008-02-15 19:28 ../torrnt/.rtorrent.rc

What now?

G
 
Old 02-16-2008, 01:41 PM   #4
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
OK...

Looks i have it running

Will test to make sure ll is working and will need to read up a little more about screen to get that working.

Ta
G
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rtorrent no connections danielph Linux - Desktop 5 01-19-2009 03:16 PM
About rtorrent satimis Linux - Software 8 02-19-2008 08:36 AM
rtorrent configure Cynagen Linux - Software 1 12-27-2007 11:32 AM
About rtorrent satimis Linux - Software 0 05-10-2007 10:34 AM
Problem with rtorrent asininity Linux - Software 12 04-15-2007 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration