?
Solved

Setting up wtorrent on a debian 4.0 install

Posted on 2009-04-13
5
Medium Priority
?
1,708 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provideā€¦
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

762 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