Solved

Setting up wtorrent on a debian 4.0 install

Posted on 2009-04-13
5
1,670 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
Comment Utility
why do you have a wtorrent folder in the URL? the browser should point at IP/install.php
0
 

Author Comment

by:MattieTK
Comment Utility
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
Comment Utility
is the service running?
0
 

Author Comment

by:MattieTK
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now