Home > Uncategorized > Fixing rtorrent: Could not lock session directory

Fixing rtorrent: Could not lock session directory

by Keith on June 11, 2009

rTorrent is a very cool torrent client used in *nix based systems. I have been using it on my Apple TV now for a few weeks with very good results.

Recently the weather here in St. Louis has been stormy and it knocked out my electricity. When the power came back on, I couldn’t get rTorrent started and I was getting this error:

rtorrent: Could not lock session directory: “/Users/frontrow/.rtorrent_session/”, held by “appletv:+189″.

The fix was pretty easy, I went into the .rtorrent_session directory and removed the rtorrent.lock file.

cd ~/.rtorrent_session/
rm -f rtorrent.lock

That was all there was to it, once I removed the lock file I was able to start rTorrent.

Share and Enjoy:
  • services sprite Fixing rtorrent: Could not lock session directory
  • services sprite Fixing rtorrent: Could not lock session directory
  • services sprite Fixing rtorrent: Could not lock session directory
  • services sprite Fixing rtorrent: Could not lock session directory
  • services sprite Fixing rtorrent: Could not lock session directory
  • services sprite Fixing rtorrent: Could not lock session directory
  •  Fixing rtorrent: Could not lock session directory
  • services sprite Fixing rtorrent: Could not lock session directory

Related posts:

  1. Fixing Windows XP login/automatic logout
  2. Create an Outlook Signature based on Active Directory

{ 13 comments… read them below or add one }

shell.person June 26, 2010 at 8:50 am

Thanks, worked perfectly.

tymbarq October 26, 2010 at 10:58 am

Thanks :)

Kartun November 7, 2010 at 5:10 pm

Tnx mate, saved me couple of mins on research :)

Gary November 21, 2010 at 6:13 pm

Worked like a charm. THANK YOU!!

Nick November 24, 2010 at 2:29 pm

Thanks, works great!

Jason January 23, 2011 at 8:52 pm

Thank you!!

Ghostface January 24, 2011 at 12:13 pm

thx !

nyota March 20, 2011 at 9:33 pm

thaks, m8

aus April 23, 2011 at 11:24 pm

Thanks! Had some power outages too.

FullProof May 10, 2011 at 12:28 am

I read a bunch of complicated solutions before getting to this one. First to actually work, and it did so perfectly!

T May 22, 2011 at 4:19 pm

Thanks!!

ziobro July 25, 2011 at 12:07 pm

thanks

Miguel July 29, 2011 at 7:49 am

Thanks! I wonder if there’s a way to detect and delete “stale” lock files in this case.

Leave a Comment

Previous post:

Next post: