Setup rtorrent + rutorrent + lighttpd Centos 6

somus1735

Member
May 25, 2018
833
0
16
Hy guys, i've just set up this, and they kinda work.
But when i open rtorrent it always says that scgi_local is better to use than scgi_port & scgi_host

can someone help me make it work with scgi_local ?
i simply can't sad.gif i am new to unix systems and i'm having a very hard time.

in my .rtorrent.rc file i have
http://i.imgur.com/am976DG.png

and in my scgi.conf i have

Code:
scgi.server = (
"/RPC2" =>
( "127.0.0.1" =>
(
"socket" => "/home/rpc.socket",
"check-local" => "disable",
"disable-time" => 0, # don't disable scgi if connection fails
)
)
)in config.php from rutorrent i have

Code:
$scgi_port = 0;
$scgi_host = "unix:///home/rpc.socket";
but what is this rpc.socket? do i have to make it? if so i made a folder in /home/
when i want to start rtorrent i get

Code:
rtorrent: Error in option file: ~/.rtorrent.rc:48: Could not prepare socket for listening: Address already in use
 

dsouvik215

Member
May 25, 2018
896
0
16
1) Such file shan't exist before rtorrent's start
2) rtorrent and web users must have permissions for create such file, write to it and read from it. Try to use /tmp instead /home, for example.
 

somus1735

Member
May 25, 2018
833
0
16
edit: finally, made it to work..
but, when i start adding torrents it goes timed out. i think it freezez. why is that? i have iptables, i have opened the port, same thing, stopped iptables, same thing.