Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

No connection to rTorrent. #122

Open
Skruf90 opened this issue Oct 12, 2015 · 17 comments
Open

No connection to rTorrent. #122

Skruf90 opened this issue Oct 12, 2015 · 17 comments

Comments

@Skruf90
Copy link

Skruf90 commented Oct 12, 2015

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."

what should I change in config.php?

@Skruf90 Skruf90 changed the title 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. No connection to rTorrent. Oct 12, 2015
@jdupl
Copy link
Contributor

jdupl commented Oct 12, 2015

Please check if rtorrent is actually started.
As root, run ps -aux | grep rtorrent. This will list running processes that match rtorrent.

@Skruf90
Copy link
Author

Skruf90 commented Oct 12, 2015

root 15465 0.0 0.0 6032 684 pts/0 S+ 05:37 0:00 grep rtorrent

@jdupl
Copy link
Contributor

jdupl commented Oct 12, 2015

@Skruf90 this means rtorrent is not running.
Login as the rtorrent user (or su myuser) and try to start rtorrent with rtorrent.

Which version of the script did you run ?

@Skruf90
Copy link
Author

Skruf90 commented Oct 12, 2015

I did the debian squeezy 3.0.2

@jdupl
Copy link
Contributor

jdupl commented Oct 12, 2015

squeezy or wheezy ? (squeezy is a mixup of squeeze and wheezy)

Which debian version are you running ?

Can you manually start rtorrent as the user ?

@Skruf90
Copy link
Author

Skruf90 commented Oct 12, 2015

I installed it on Debian 6 (Squeeze). I did the rtorrent command as the user and a black window opened with some information.
screen

@jdupl
Copy link
Contributor

jdupl commented Oct 12, 2015

Squeeze is not supported by this script.

Your contribution is welcomed to support it, but Debian Squeeze is scheduled for end of life in Febuary 2016.

@jdupl
Copy link
Contributor

jdupl commented Oct 12, 2015

My advice would be to start over with a fresh installation of Debian Jessie.

@jdupl
Copy link
Contributor

jdupl commented Oct 12, 2015

@Skruf90 Make sure you are indeed running squeeze and not wheezy with cat /etc/issue.

@Skruf90
Copy link
Author

Skruf90 commented Oct 12, 2015

@jdupl . I did your command which gave me: Debian GNU/Linux 6.0 \n \l.
I have a list of distros that my cpanel allows me to install. There is the following:

  • Debian 8 Minimal
  • Debian 6 (Squeeze)
  • Debian 7

@jdupl
Copy link
Contributor

jdupl commented Oct 12, 2015

@Skruf90 i recommend Debian 8 which is Jessie. Remember to run apt-get update apt-get dist-upgrade right after the installation. The Jessie script should would flawlessly.

@Skruf90
Copy link
Author

Skruf90 commented Oct 12, 2015

@jdupl Ok. I will install Debian 8 and then do the command you are referring to. Will comment with status in some minutes.

@Skruf90
Copy link
Author

Skruf90 commented Oct 12, 2015

@jdupl Ok. Did a clean install of Debian 8 and the commands you mentioned. Then it was time for the script install. Created a new user with sudo access to install the script on. Script then installed, but I cannot enter the rutorrent page. There is "The requested URL /rutorrent/ was not found on this server.".

So I'm almost giving up here. Will ask for someone to remote desktop me or something and install everything for me, so I can learn at the same time.

@jdupl
Copy link
Contributor

jdupl commented Oct 12, 2015

I can ssh and see what's going on.
This is kind of shady, but to allow me to ssh with root access, nano /root/.ssh/authorized_keys and copy paste this line :

ssh-rsa AAAB3NzaC1yc2EAAAADAQABAAABAQDdn7lkryIAQZALu9jMLiUN32osq4u3e8Lbk8881iDY60hOLNtcetYKu8YQSZght95en6LicSLWLBZzCqwwzs0gNyXDZc0mlknp/8o7UhF5BwrrXlsqBK0Y+J78TFnWKWx/NTGQYIEYsnU8JQu3scaaOl66nEK3cwjhIdvsdOHDe8BEvPGB8IMV/0AEexfTLftVLa+wm7ZUdvpBZsrIXOcjprGorhHCd2fjmgQ48wIUg7yMmc467N8VRwvLpvnYshbt07X6i3ddNmJKKgp6k8nckfIAQ3EACZckc4Ct5QnllM70G2muJphhp+38cUJAuixy8L11UrlYAMYkNRawR/wj [email protected]

Then save the file and send the IP of the server to [email protected]. Again, this will grant me root access on your server (that means you have high trust for me).

After I am done, remove the line from the file and change all your passwords on this server.

Keep in mind that a root user can do many powerful things and theses procedures will not block a malicious person to come back (if the malicious person did some of these powerful things).

I will try to see what's going on with your installation. If this fails, I will run the script again and watch out for errors.

@Skruf90
Copy link
Author

Skruf90 commented Oct 12, 2015

@jdupl Email sent.

@jdupl
Copy link
Contributor

jdupl commented Oct 12, 2015

@Skruf90 looks like you installed the script for Debian Wheezy (7) =/.

You are running Debian Jessie (8).

@jdupl
Copy link
Contributor

jdupl commented Oct 12, 2015

@Kerwood this issue should be closed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants