Solved

Setting up wtorrent on a debian 4.0 install

Posted on 2009-04-13
5
1,682 Views
Last Modified: 2013-12-06
I've followed the instructions at http://flipsidereality.com/blog/linux/rtorrent-with-wtorrent-on-debian-etch-complete-howto/ and http://www.wtorrent-project.org/trac/wiki/DebianInstall on installing this package: http://www.wtorrent-project.org/trac/

This is going to be installed on a dedicated server to which i have root access. I've gone through all the steps; lighthttpd is running, as is rtorrent on the user it is installed under. However, in going through the configuration file at /install.php, it says:

"Error: cannot connect to rtorrent, please check host, folder and port values (and user/password if you have auth set up)."

Attached is a screenshot of the install.php in my web-browser. rtorrent is connected to through scgi and XMLRPC, both of which i'm sure to have set up correctly (you can see how through a quick scan of the install tutorials). I believe the port (5000) to be closed as the reason for the connection failing, though, as a notice, I could easily be wrong.

Any help would be greatly appreciated.

I can cut+paste any configuration files you want to view.
install.png
0
Comment
Question by:MattieTK
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:ai_ja_nai
ID: 24133250
why do you have a wtorrent folder in the URL? the browser should point at IP/install.php
0
 

Author Comment

by:MattieTK
ID: 24133671
Thanks for the comment.

I've just moved it and it isn't affecting the connection issue, I'm still getting the same error.
0
 
LVL 16

Expert Comment

by:ai_ja_nai
ID: 24136531
is the service running?
0
 

Author Comment

by:MattieTK
ID: 24136703
The service is running, as shown in the screenshot attached here. It is running on a user with sudo privileges, not that it should matter, with read and write privileges to the folder in which all configuration is stored. As you can see, XMLRPC is running, and scgi is detected (although it has detected a 'security issue' which I'd rather we didn't worry about as that is most probably not the source of a connectivity problem.

My configuration file for rtorrent (.rtorrent.rc) has the following line in it to initiate scgi:

scgi_port="5000",

rtorrent.PNG
0
 

Accepted Solution

by:
MattieTK earned 0 total points
ID: 24143057
Solved it.

It seems that the port in the configuration file for access to rtorrent from wtorrent needs to be set to the port used by the lighthttpd scgi server (in this case 80). This is not what is described in the tutorial, as it infers that all port numbers used should be the same as the one used for connection to XMLRPC (5000 is the example.)

Hope this is useful for anyone else running into the same issue. Thanks for the comments.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question