Ubuntu Seedbox with rtorrent | rutorrent | pureftpd | multi-user (optional)

simur612

Member
May 25, 2018
879
0
16
i think the reason noone mentioned it is that rutorrent has a rutorrent/conf/users/ directory by default.

I didn't write this guide but i will look for the typo and fix it. Thanks for pointing it out
 

randac56

Member
May 25, 2018
915
0
16
Guide also OK for 10.10, but remove 4.1 from package names (gcc4.1->gcc).

Thanks, after utorrent server and transmission I can say this is the best torrent server.
 

peshua19

Member
May 25, 2018
897
0
16
Wow I installed this on my server. I knew nothing about Linux going into this and I was able to do it thank you. The only part I am not able to do is setup the firewall I am lost at that part lol.
 

lisas4567

Member
May 25, 2018
773
0
16
Great tutorial, thanks.
I have to echo a previous message though. After having my hand held all the way through, I was completely lost at being "left alone" in the firewall section of webmin. Any chance of making this a bit more step-bystep too?

Thanks
 

saroos1

Member
May 25, 2018
718
0
16
firewall stuff is pretty complicated, especially on linux. FreeBSD has much better options for firewalls

If you MUST set up firewall stuff, google shorewall, it's probably the easier for Linux.
 

simur612

Member
May 25, 2018
879
0
16
I tried to install rtorrent and rutorrent following this guide, but I get this error:
Code:
Bad link to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.
My /etc/apache2/apache2.conf file has the following lines added:
Code:
SCGIMount /RPC2 127.0.0.1:5000
servername localhost

My /etc/rtor/.rtorrent.rc file has:
Code:
scgi_port = 127.0.0.1:5000
My /var/www/rutorrent/conf/config.php has:
Code:
$scgi_port = 5000;
$scgi_host = "127.0.0.1";

$XMLRPCMountPoint = "/RPC2";
I'm running Ubuntu server 10.10. Maybe the guide is outdated for this release?

Also rtorrent is really running.
Code:
rtor 887 0.0 0.1 5200 1368 ? Ss 14:05 0:00 SCREEN -dm -S rtorrent
This is what rtorrent gives me when I start it:
Code:
(14:28:30) Using 'epoll' based polling.
(14:28:30) Using 'epoll' based polling.
(14:28:30) XMLRPC initialized with 831 functions.
(14:28:30) The SCGI socket is bound to a specific network device yet may still p
ose a security risk, consider using 'scgi_local'.
 

lisas4567

Member
May 25, 2018
773
0
16
I found the problem. I had installed libtorrent 0.12.7 and rtorrent 0.8.7 instead of libtorrent 0.12.6 and rtorrent 0.8.6. The newer versions don't work.
 

saroos1

Member
May 25, 2018
718
0
16
after someday running. I got this error:

[08.11.2010 07:20:50] WebUI started.
[08.11.2010 07:20:52] Bad response from server: (200 [parsererror,getuisettings]) {"webui.fls.view":0,"webui.show_cats":1,"webui.show_dets":1,"webui.needmessage":1,"webui.reqtimeout":30000,"webui.confirm_when_deleting":1,"webui.alternate_color":0,"webui.update_interval":3000,"webui.hsplit":0.88,"webui.vsplit":0.699,"webui.effects":0,"webui.fullrows":0,"webui.no_delaying_draw":1,"webui.search":-1,"webui.speedlistdl":"100,150,200,250,300,350,400,450,500,750,1000,1250","webui.speedlistul":"100,150,200,250,300,350,400,450,500,750,1000,1250","webui.ignore_timeouts":0,"webui.retry_on_error":120,"webui.lang":"en","webui.trt.colwidth":[361,100,60,10​

restarting server cannot fix the error, please help !

I still see rtorrent running
 

simur612

Member
May 25, 2018
879
0
16
look in your rutorrent/share/ directory and find the uisettings.json file and delete it (it may be in rutorrent/share/settings or rutorrent/share/users/USERNAME/settings/)
 

peshua19

Member
May 25, 2018
897
0
16
It tends to happen when you have a corruption issue.

When the file doesn't save correctly and gets corrupt, this can happen.
 

saroos1

Member
May 25, 2018
718
0
16
after someday running. I got this error:




restarting server cannot fix the error, please help !

I still see rtorrent running
I experienced the same today - the NAS made a shutdown because of high temperature, so I guess it corrupted the file...thanks for you help!!
 

simur612

Member
May 25, 2018
879
0
16
I do it step by step but when i "make" :
cd ../rtorrent-0.8.6
./autogen.sh
./configure --with-xmlrpc-c
make
sudo make install​
the end of "make" i meet:

collect2: ld returned 1 exit status
make[3]: *** [rtorrent] Error 1
make[3]: Leaving directory `/home/heomap/source/rtorrent-0.8.7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/heomap/source/rtorrent-0.8.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/heomap/source/rtorrent-0.8.7'
make: *** [all] Error 2​
and when i done "sudo make install", i run "rtorrent":
The program 'rtorrent' is currently not installed. To run 'rtorrent' please ask your administrator to install the package 'rtorrent'​
please help me solve this issue, thanks
 

randac56

Member
May 25, 2018
915
0
16
Not enough error messages. You only showed the last part of the make output which is pretty much useless.
 

peshua19

Member
May 25, 2018
897
0
16
Not enough error messages. You only showed the last part of the make output which is pretty much useless.
the end of "make" i meet:

make all-recursive
make[1]: Entering directory `/home/heomap/source/rtorrent-0.8.7'
Making all in doc
make[2]: Entering directory `/home/heomap/source/rtorrent-0.8.7/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/heomap/source/rtorrent-0.8.7/doc'
Making all in src
make[2]: Entering directory `/home/heomap/source/rtorrent-0.8.7/src'
Making all in core
make[3]: Entering directory `/home/heomap/source/rtorrent-0.8.7/src/core'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/heomap/source/rtorrent-0.8.7/src/core'
Making all in display
make[3]: Entering directory `/home/heomap/source/rtorrent-0.8.7/src/display'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/heomap/source/rtorrent-0.8.7/src/display'
Making all in input
make[3]: Entering directory `/home/heomap/source/rtorrent-0.8.7/src/input'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/heomap/source/rtorrent-0.8.7/src/input'
Making all in rpc
make[3]: Entering directory `/home/heomap/source/rtorrent-0.8.7/src/rpc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/heomap/source/rtorrent-0.8.7/src/rpc'
Making all in ui
make[3]: Entering directory `/home/heomap/source/rtorrent-0.8.7/src/ui'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/heomap/source/rtorrent-0.8.7/src/ui'
Making all in utils
make[3]: Entering directory `/home/heomap/source/rtorrent-0.8.7/src/utils'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/heomap/source/rtorrent-0.8.7/src/utils'
make[3]: Entering directory `/home/heomap/source/rtorrent-0.8.7/src'
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -lsigc-2.0 -lcurl -L/usr/local/lib -ltorrent -L/usr/local/lib -lxmlrpc_server -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok
libtool: link: g++ -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw /usr/lib/libsigc-2.0.so /usr/lib/libcurl.so -L/usr/local/lib /usr/local/lib/libtorrent.so /usr/lib/libxmlrpc_server.so /usr/lib/libxmlrpc.so /usr/lib/libxmlrpc_util.so /usr/lib/libxmlrpc_xmlparse.so /usr/lib/libxmlrpc_xmltok.so
rpc/libsub_rpc.a(xmlrpc.o): In function `rpc::XmlRpc::set_dialect(int)':
/home/heomap/source/rtorrent-0.8.7/src/rpc/xmlrpc.cc:553: undefined reference to `xmlrpc_registry_set_dialect'
/home/heomap/source/rtorrent-0.8.7/src/rpc/xmlrpc.cc:549: undefined reference to `xmlrpc_registry_set_dialect'
rpc/libsub_rpc.a(xmlrpc.o): In function `rpc::xmlrpc_list_entry_to_value(_xmlrpc_env*, _xmlrpc_value*, int)':
/home/heomap/source/rtorrent-0.8.7/src/rpc/xmlrpc.cc:104: undefined reference to `xmlrpc_read_i8'
rpc/libsub_rpc.a(xmlrpc.o): In function `rpc::eek:bject_to_xmlrpc(_xmlrpc_env*, torrent::Object const&)':
/home/heomap/source/rtorrent-0.8.7/src/rpc/xmlrpc.cc:379: undefined reference to `xmlrpc_i8_new'
rpc/libsub_rpc.a(xmlrpc.o): In function `rpc::xmlrpc_to_object(_xmlrpc_env*, _xmlrpc_value*, int, rpc::rt_triple<int, void*, void*>*)':
/home/heomap/source/rtorrent-0.8.7/src/rpc/xmlrpc.cc:259: undefined reference to `xmlrpc_read_i8'
collect2: ld returned 1 exit status
make[3]: *** [rtorrent] Error 1
make[3]: Leaving directory `/home/heomap/source/rtorrent-0.8.7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/heomap/source/rtorrent-0.8.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/heomap/source/rtorrent-0.8.7'
make: *** [all] Error 2​
 

simur612

Member
May 25, 2018
879
0
16
Just a small update to the guide.

g++-4.1 is now g++-4.3
libneon26 is now libneon27
libstdc++6-4.1-dev is now libstdc++6-4.3-dev

I would also add to that (for convenience): sudo locate nano

Thanks guys!