{"id":1141,"date":"2014-04-14T17:39:12","date_gmt":"2014-04-14T17:39:12","guid":{"rendered":"http:\/\/www.omniweb.com\/wordpress\/?p=1141"},"modified":"2014-04-14T17:40:10","modified_gmt":"2014-04-14T17:40:10","slug":"rtorrent-stopped-uploading-could-not-lock-session-directory","status":"publish","type":"post","link":"https:\/\/www.omniweb.com\/wordpress\/?p=1141","title":{"rendered":"rtorrent stopped uploading: &#8220;Could not lock session directory&#8221;"},"content":{"rendered":"<p>We noticed our torrents stopped uploading.  When I try to run rtorrent via \/etc\/init.d it just seems like it restarts, but it&#8217;s still not listening on the designated port.  I enter the command manually, something like <\/p>\n<p><code>rtorrent -n -o bind=192.168.1.2,port_range=44443-44443,directory=\/home\/user,session=\/home\/user\/.rtorrent-session,peer_exchange=yes,scgi_port=127.0.0.1:16789<\/code><\/p>\n<p>Then I get back the error:<br \/>\n<code>rtorrent: Could not lock session directory: \"\/home\/user\/.rtorrent-session\/\", held by \"xyzpdq\".<br \/>\n<\/code><\/p>\n<p>Turns out there is a lock file that needs to be removed; apparently the previous run crashed without removing it, so,<\/p>\n<p><code>rm \/home\/user\/.rtorrent-session\/rtorrent.lock<\/code><\/p>\n<p>And now the rtorrent program starts normally from \/etc\/init.d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We noticed our torrents stopped uploading. When I try to run rtorrent via \/etc\/init.d it just seems like it restarts, but it&#8217;s still not listening on the designated port. I enter the command manually, something like rtorrent -n -o bind=192.168.1.2,port_range=44443-44443,directory=\/home\/user,session=\/home\/user\/.rtorrent-session,peer_exchange=yes,scgi_port=127.0.0.1:16789 &hellip; <a href=\"https:\/\/www.omniweb.com\/wordpress\/?p=1141\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1141"}],"collection":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1141"}],"version-history":[{"count":2,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1141\/revisions"}],"predecessor-version":[{"id":1143,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1141\/revisions\/1143"}],"wp:attachment":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}