Wednesday, January 21, 2015

rtorrent lock file

rtorrent exits displaying error message:
Could not lock session directory: "/home/user/rtorrent/.session/" held by user
It usually results from not closing rtorrent properly, or due to abrupt ending of an rtorrent session.

To resolve this, delete the rtorrent.lock file,
Find rtorrent.lock file in rtorrent session directory, to get the location of session directory, see rtorrent config file .rtorrent.rc
cd ~/.rtorrent_session/
remove rtorrent.lock file using rm