Solved

Setting up wtorrent on a debian 4.0 install

Posted on 2009-04-13
5
1,688 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

749 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