Rtorrent-Auto-Install icon indicating copy to clipboard operation
Rtorrent-Auto-Install copied to clipboard

No connection to rTorrent

Open lovewangbo opened this issue 7 years ago • 1 comments

Hi, getting:

"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." after strictly follow the install instruction. is there something wrong with VPS host?

machine: Bandwagon Host OS: debian 8 x64 (newly installed) code: https://github.com/Kerwood/Rtorrent-Auto-Install/blob/master/Rtorrent-Auto-Install-4.0.0-Debian-Jessie

detailed test (user is "yellow"):

  1. OS version yellow@localhost:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.1 (jessie) Release: 8.1 Codename: jessie

  2. rTorrent Status $ sudo systemctl start rtorrent.service [sudo] password for yellow: $ sudo systemctl status rtorrent ● rtorrent.service - rtorrent (in tmux) Loaded: loaded (/etc/systemd/system/rtorrent.service; enabled) Active: active (exited) since Mon 2017-05-15 23:35:53 EDT; 49min ago Process: 29764 ExecStart=/usr/bin/tmux -2 new-session -d -s rtorrent rtorrent (code=exited, status=0/SUCCESS) Main PID: 29764 (code=exited, status=0/SUCCESS)

May 15 23:35:53 localhost systemd[1]: Starting rtorrent (in tmux)... May 15 23:35:53 localhost systemd[1]: Started rtorrent (in tmux). May 15 23:37:56 localhost systemd[1]: Started rtorrent (in tmux). May 16 00:25:25 localhost systemd[1]: Started rtorrent (in tmux).

  1. Directly run rtorrent $ rtorrent -bash: rtorrent: command not found

  2. installed files $ sudo find / -name "rtorrent*" /etc/systemd/system/rtorrent.service /etc/systemd/system/default.target.wants/rtorrent.service /var/www/html/rutorrent/js/rtorrent.js /var/www/html/rutorrent/php/rtorrent.php /var/www/html/rutorrent/share/users/fuck/settings/rtorrent.dat /sys/fs/cgroup/systemd/system.slice/rtorrent.service

$ sudo find / -name "rutorrent*" /var/www/html/rutorrent /var/log/apache2/rutorrent.log /var/log/apache2/rutorrent_error.log

  1. filecontents of "rutorrent_error.log" repeated errors: [Tue May 16 00:18:13.296779 2017] [:error] [pid 29780] [client 175.xxx.xxx.xxx:x] PHP Warning: fopen(/var/www/html/rutorrent/share/users/$USER$/settings/uisettings.json): failed to open stream: No such file or directory in /var/www/html/rutorrent/php/getsettings.php on line 7, referer: http://23.xxx.xxx.xxx/rutorrent/

  2. context of line 7 of "getsettings.php"

lovewangbo avatar May 16 '17 04:05 lovewangbo

Im guessing that rtorrent was not properly installed. Try installing it manually.

Kerwood avatar Jul 03 '17 08:07 Kerwood