Ubuntu 10.04 Install issues?

peshua19

Member
May 25, 2018
897
0
16
Ok, So I am trying to install rutorrent to my home desktop, following parts of Subsy's seedbox setup guide, and I've run into a snag.

First off, I've been using rtorrent for years, and thought I'd give rutorrent a shot mostly for the RSS feeds. All in all, it looks like a sweet little UI with some nice plugin's to make life easier. Since I've been using it, I already had rtorrent/libtorrent 0.8.6/0.12.6 installed, but this was via Ubuntu package manager. I compiled xlmrpc via svn (today). After getting the rutorrent to load via localhost/rutorrent, it was giving me the xlmrpc error, so I apt-get removed libtorrent/rtorrent. Compiled both from source using the ./config param's from Subsy. I am still getting the following error


[01.10.2010 17:41:47] WebUI started.
[01.10.2010 17:41:47] rTorrent is compiled with incorrect version of xmlrpc-c library, without i8 support. Version must be >= 1.11. Some functionality will be unavailable.
[01.10.2010 17:41:47] ratio: plugin can't start for unknown reason.
[01.10.2010 17:42:05] Bad response from server: (500 [error,list]) <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> <p>More information about this error may be available in the server error log.</p>
<address>Apache/2.2.14 (Ubuntu) Server at chobuntu.local Port 80</address> </body></html>
[01.10.2010 17:58:02] JS error: [http://chobuntu.local/rutorrent/ : 0] start_recording is not defined

Would this be something apache related? xmlrpc-c causing issues?

Thanks
 

saroos1

Member
May 25, 2018
718
0
16
remove old version and install all over again ( it will be simple ), compile it with xmplrpc

this will get you the most needed things to compile rtorrent

sudo apt-get install -y build-essential pkg-config libsigc++-2.0-dev libncurses5-dev libperl-dev screen subversion libterm-readline-gnu-perl php5-cgi php5-curl

---
cd /tmp
sudo wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.6.tar.gz
sudo tar zxfv libtorrent-0.12.6.tar.gz
cd libtorrent-0.12.6
sudo ./configure
sudo make
sudo make install
---
cd /tmp
sudo svn checkout http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable xmlrpc-c
cd xmlrpc-c/
sudo ./configure
sudo make
sudo make install
---
cd /tmp
sudo wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.6.tar.gz
sudo tar zxfv rtorrent-0.8.6.tar.gz
cd rtorrent-0.8.6
sudo ./configure --with-xmlrpc-c
sudo make
sudo make install
---
sudo ldconfig

at this point your rtorrent will be good to work with xmlrpc, you can edit your rtorrent.rc and check that then move forward to use it with apache or lighttpd

##########
Rutorrent Part
##########

cd /var/www/
sudo svn checkout http://rutorrent.googlecode.com/svn/trunk/rutorrent

sudo nano /var/www/rutorrent/conf/conf.php

And change the values for
$scgi_port to 0
and
$scgi_host to unix:///tmp/rpc.socket

in conf.php file



sudo chown -R www-data:www-data /var/www/rutorrent/share/




sudo nano /etc/lighttpd/lighttpd.conf

server.modules += ( "mod_scgi" )
scgi.server = (
"/RPC2" =>
( "127.0.0.1" =>
(
"socket" => "/tmp/rpc.socket",
"check-local" => "disable",
"disable-time" => 0, # don't disable scgi if connection fails
)
)
)


####################


i use it with lighty
a good guide by sharky @ http://filesharefreak.com/2010/02/13/how-to-install-rtorrent-rutorrent-using-socket-ssl-authentication-on-ubuntu-or-debian/
 

peshua19

Member
May 25, 2018
897
0
16
Sorry for not being very clear, I have already uninstalled the default Ubuntu libtorrent/rtorrent packages, and followed stuby's compile guide. Yours looks like the same instructions for install.

I'm using apache2 with a few other locally hosted sites, so I was planning to use it to host rutorrent. I've verified ssl, auth_digest and scgi modules are running. Along with updating the apache.conf with the SCGIMount/port.

edit: Acutaly, it looks like I had the wrong port in the apache conf. I had a typo in the port number in apache.conf. Now it connects, but the logger still shows :

[01.10.2010 18:54:50] WebUI started.
[01.10.2010 18:54:53] rTorrent is compiled with incorrect version of xmlrpc-c library, without i8 support. Version must be >= 1.11. Some functionality will be unavailable.
[01.10.2010 18:54:53] ratio: plugin can't start for unknown reason.
[01.10.2010 18:55:43] JS error: [http://chobuntu.local/rutorrent/ : 0] start_recording is not defined

Is this normal? Everything looks to be working otherwise, it shows my torrents etc.

Thanks for the help
 

simur612

Member
May 25, 2018
879
0
16
remove all preinstalled xmlrpc packages, download the latest svn for xmlrpc-c advanced, download rtorrent 0.8.6 stable source, compile with xmlrpc-c


those are the short instructions.

chances are you have some xmlrpc-c libs interfering with your install (you have it in /usr/lib and you should be using the ones in /usr/local/lib)
Code:
dpkg --get-selections|grep xmlrpc
should show any xmlrpc-c packages.

remove them.
Code:
svn co http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced xmlrpc-c
should check out the proper source


Code:
cd xmlrpc-c
./configure
make
make install

should install it.
Code:
wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.6.tar.gz && wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.6.tar.gz

to download the proper source
Code:
tar xzfv libtorrent-0.12.6.tar.gz && tar xzfv rtorrent-0.8.6.tar.gz


to extract them
Code:
cd libtorrent-0.12.6
./configure
make
make install
cd ../rtorrent-0.8.6
./configure --with-xmlrpc-c=/usr/local/bin/xmlrpc-c-config
make
make install

and you should be set.
 

lisas4567

Member
May 25, 2018
773
0
16
updated a little

actually i copy paste these commands from my personal guide which works for me at home and server, so i just showed him a little path with sharky guide so he can get the idea that its not too hard, he can re-install everything without any problem


Quote
[01.10.2010 18:54:53] rTorrent is compiled with incorrect version of xmlrpc-c library, without i8 support. Version must be >= 1.11. Some functionality will be unavailable.​


this means you have to recompile rtorrent with updated/latest xmlrpc-c library

Quote
[01.10.2010 18:54:53] ratio: plugin can't start for unknown reason.​

i guess there are some file permission errors