LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2014, 01:30 AM   #16
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,725

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705

Hi,
Quote:
Originally Posted by Red Squirrel View Post
ok managed to find how to add that repo. I got rtorrent standalone to work,
Great.

Quote:
but how do I make it have the xmlrpc extension that rutorrent requires? When I compile from source I would add a flag, but how do I do that with yum?
As I said before, "there are plenty of howtos and documentation for building rpms from srpms" (srpm means source-rpm). I don't have a link to one right now, but a little search on your part should provide what you need.

Evo2.
 
Old 06-17-2014, 01:34 AM   #17
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,338

Original Poster
Rep: Reputation: 54
So it looks like it wants /RPC2 to be accessible on the web server. I can make that folder, but what is suppose to be there, what is it trying to access?

In rutorrent webui:
Code:
Bad response from server: (404 [error,list]) <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /RPC2 was not found on this server.</p> <hr> <address>Apache/2.2.15 (CentOS) Server at p2p.loc Port 80</address> </body></html>
If I look at my webserver logs I can see it's trying to access /RPC2. What do I have to put there?

Code:
[error] [client 10.1.2.10] File does not exist: /localdata/www/RPC2, referer: http://p2p.loc/rutorrent/
 
Old 06-17-2014, 02:09 AM   #18
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,725

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

that is how the web gui communicates with the rtorrent backend. Presumably you need to configure your running rtorrent instance to listen on a port and then configure apache SCGIMount that at /TPC2. This should be in the documentation for the web front end you are using.

Evo2.
 
Old 06-17-2014, 05:29 PM   #19
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,338

Original Poster
Rep: Reputation: 54
I'm not finding anything so far that mentions having to create that folder or what I'm suppose to put in it. I created it but obviously blank does not work. Guessing I need to put something in it. Most tutorials seem to assume everything is going to work right out of the box and start by showing you how to actually use it, not install it, other than a few ./configure make make install commands... which in my case did not work, but was able to use yum with that 3rd party repo. Guessing there's probably something else I have to install in that rpc2 folder.

I just found this:

https://code.google.com/p/rutorrent/...VER#SCGI_setup

Mentions I need an apache module called libapache2-mod-scgi but of course, can't seem to find it in yum. I wish Linux devs would code stuff so it's self contained in one app instead of having so many dependencies and steps just to make it work.

Last edited by Red Squirrel; 06-17-2014 at 05:36 PM.
 
Old 06-17-2014, 06:10 PM   #20
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,338

Original Poster
Rep: Reputation: 54
Managed to find the module source online. Problem is, it wants to use apsx command instead of make install. Make install just calls that command. I don't have that command. (ARG!) now where do I get that command?
 
Old 06-17-2014, 06:48 PM   #21
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,338

Original Poster
Rep: Reputation: 54
Ok after tons of research and trial and error I seem to have gotten it to work. Wow, what a pain. Seems rtorrent wont do magnets though, oh well, my previous seedbox with deluge did not do magnets either.
 
Old 06-17-2014, 06:54 PM   #22
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,725

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Red Squirrel View Post
I'm not finding anything so far that mentions having to create that folder or what I'm suppose to put in it. I created it but obviously blank does not work.
AFIAK, you don't create it, apache does once it is configured correctly.

Quote:
Guessing I need to put something in it.
I think not.

Quote:
Most tutorials seem to assume everything is going to work right out of the box and start by showing you how to actually use it, not install it, other than a few ./configure make make install commands...
which in my case did not work, but was able to use yum with that 3rd party repo. Guessing there's probably something else I have to install in that rpc2 folder.

I just found this:

https://code.google.com/p/rutorrent/...VER#SCGI_setup

Mentions I need an apache module called libapache2-mod-scgi but of course, can't seem to find it in yum.
That is the name of the Debian package - you are running CentOS. Not sure how you searched with yum. Did you try the following?
Code:
yum provides '*/mod_scgi.so'
Quote:
I wish Linux devs would code stuff so it's self contained in one app instead of having so many dependencies and steps just to make it work.
Linux devs? You don't like shared libraries? Or you don't like how source packages are often distributed as multiple binary packages? Or you don't like how it can required some effort and reading if you want to install random 3rd party software?

Not sure how you searched with yum. Did you try the following?
Code:
yum provides '*/mod_scgi.so'
Evo2.
 
Old 06-17-2014, 07:06 PM   #23
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,338

Original Poster
Rep: Reputation: 54
I was using "yum search". What does provides do?

And I HATE shared libraries. DLL Hell. It's worse in Linux than it's in Windows. I've written apps myself but I always ensure they are self contained. A single g++ command and it's compiled. Typically I just put a setup.sh script that does everything else such as create initial config files.

Last edited by Red Squirrel; 06-17-2014 at 07:08 PM.
 
Old 06-17-2014, 07:21 PM   #24
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,725

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Red Squirrel View Post
I was using "yum search". What does provides do?
.. finds what package provides a given file.

Quote:
And I HATE shared libraries.
Then perhaps you should use a different OS.

Quote:
DLL Hell. It's worse in Linux than it's in Windows.
That's why we have packages, and package managers with automatic dependency resolution and quality packages provided by the distributions.
Quote:
I've written apps myself but I always ensure they are self contained.
Hmm, "apps". Not "software", "programs" or "libraries".

Quote:
A single g++ command and it's compiled. Typically I just put a setup.sh script that does everything else such as create initial config files.
Each to their own I guess.

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Rutorrent can't connect to rtorrent? Djyou Linux - Server 2 01-15-2014 06:12 PM
installing rutorrent and port openeing AITNT Linux - Newbie 6 02-05-2012 02:14 PM
[SOLVED] ruTorrent won't display properly Frohike Linux - Software 1 05-24-2011 12:57 AM
[SOLVED] using ruTorrent on slackware 13.1 lpallard Slackware 29 01-02-2011 08:00 PM
how do i install rutorrent on ubuntu server 9.04? steve51184 Linux - Server 6 11-23-2009 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration