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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
06-17-2014, 01:30 AM
|
#16
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
Quote:
Originally Posted by Red Squirrel
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.
|
|
|
06-17-2014, 01:34 AM
|
#17
|
Senior Member
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,350
Original Poster
Rep:
|
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/
|
|
|
06-17-2014, 02:09 AM
|
#18
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
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.
|
|
|
06-17-2014, 05:29 PM
|
#19
|
Senior Member
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,350
Original Poster
Rep:
|
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.
|
|
|
06-17-2014, 06:10 PM
|
#20
|
Senior Member
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,350
Original Poster
Rep:
|
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?
|
|
|
06-17-2014, 06:48 PM
|
#21
|
Senior Member
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,350
Original Poster
Rep:
|
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.
|
|
|
06-17-2014, 06:54 PM
|
#22
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
Quote:
Originally Posted by Red Squirrel
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.
|
|
|
06-17-2014, 07:06 PM
|
#23
|
Senior Member
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,350
Original Poster
Rep:
|
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.
|
|
|
06-17-2014, 07:21 PM
|
#24
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
Quote:
Originally Posted by Red Squirrel
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.
|
|
|
All times are GMT -5. The time now is 12:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|