ruTorrent suddenly stopped connecting to rTorrent [SOLVED]

peshua19

Member
May 25, 2018
897
0
16
So, everything was running tickety-boo until two nights ago when the web interface hung. Since I was getting poor performance on my Samba share as well, I rebooted my torrent/NAS server. When I restarted the webGUI for ruTorrent, I had the error message:

No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.

I checked the ports in config.php and rTorrent config file just to make sure nothing had gone wrong there. Rtorrent is running:

1635 rtor 10:53 SCREEN -dm -S rtorrent
1636 rtor 10:53 /bin/sh

(I think that looks right)

But Rtorrent seems to be ignoring its watch folder when I drop a torrent into it, so I wonder if it's not behaving properly. I've checked the log file (rtorrentInit.log) but can't find any errors there and don't know where else to check.

SYSTEM INFO
Ubuntu Linux 11.04
Rutorrent Version: (I don't know where to find this, but I'm assuming v 3.4 because I installed it from svn in June)
Rtorrent Version: 0.9.2

Any help much appreciated (as you can tell, I'm a bit of a linux newb as well as an rutorrent newb-- sorry!)

- CrossEyed
 

randac56

Member
May 25, 2018
915
0
16
So, everything was running tickety-boo until two nights ago when the web interface hung. Since I was getting poor performance on my Samba share as well, I rebooted my torrent/NAS server. When I restarted the webGUI for ruTorrent, I had the error message:

No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.

I checked the ports in config.php and rTorrent config file just to make sure nothing had gone wrong there. Rtorrent is running:

1635 rtor 10:53 SCREEN -dm -S rtorrent
1636 rtor 10:53 /bin/sh

(I think that looks right)

But Rtorrent seems to be ignoring its watch folder when I drop a torrent into it, so I wonder if it's not behaving properly. I've checked the log file (rtorrentInit.log) but can't find any errors there and don't know where else to check.

SYSTEM INFO
Ubuntu Linux 11.04
Rutorrent Version: (I don't know where to find this, but I'm assuming v 3.4 because I installed it from svn in June)
Rtorrent Version: 0.9.2

Any help much appreciated (as you can tell, I'm a bit of a linux newb as well as an rutorrent newb-- sorry!)

- CrossEyed
*Screen* is running. rTorrent was crashed.
 

peshua19

Member
May 25, 2018
897
0
16
Ah, I see! That makes perfect sense. shocked.gif

Can you (or anyone else) point me to where I can go to start troubleshooting this?

(Once you pointed out that rtorrent wasn't running at all, I went and deleted the .LOCK file, thinking that maybe this was preventing rtorrent from starting. Sadly, that hasn't solved the problem, but given that it crashed, I'm wondering if it's something similar. As I said, the RtorrentInit.log isn't outputting anything, so I don't really know where to look.)
 

lisas4567

Member
May 25, 2018
773
0
16
Got it!

The lock file was initially blocking rtorrent from restarting. While trying to troubleshoot, I followed directions on an rtorrent forum and used a command called "execute_log" in the .rtorrent.rc file... maybe that site was old, because it turns out that command is wrong and caused rtorrent to crash even after I removed the .LOCK file.

I removed the bogus command from the .rc file and restarted. Everything is working fine again! Thanks, Novik65, for giving me a clearer picture of what was going on!