Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Setting up wtorrent on a debian 4.0 install

Posted on 2009-04-13
5
Medium Priority
?
1,711 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

ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

649 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