Hi, I'm a gentoo user.
My installed packages are:-
net-p2p/rtorrent-0.8.9 USE="daemon ipv6 xmlrpc -color -debug -test"
dev-libs/xmlrpc-c-1.28.03 USE="cgi curl cxx libxml2 -abyss -libwww -static-libs -threads -tools"
www-apps/rutorrent-3.3 USE="-vhosts"
www-servers/apache-2.2.21-r1
www-apache/mod_scgi-1.14
I have all of the above working together with rtorrent running as a daemon but only if rtorrent is running as root. If I set USER="rtorrent" in /etc/conf.d/rtorrentd then rtorrent starts ok and can be accessed through screen and works fine but when I try and access through a browser the rutorrent page loads ok but without any data from rtorrent.
"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." is the error message in the Logger Tab of the web page. With rtorrent running as root the page is fully populated.
I thought the problem might be fixed by settings in 20_mod_scgi.conf which is the config file for the apache scgi module. But anything I've tried in there hasn't helped.
I guess that error means rtorrent doesn't have access rights to the apache scgi port or a file somewhere. But I can't figure it and it doesn't seem to be a problem others are having. Anyone seen this problem or know the solution. It doesn't seem like a good idea to run rtorrent as root.
My installed packages are:-
net-p2p/rtorrent-0.8.9 USE="daemon ipv6 xmlrpc -color -debug -test"
dev-libs/xmlrpc-c-1.28.03 USE="cgi curl cxx libxml2 -abyss -libwww -static-libs -threads -tools"
www-apps/rutorrent-3.3 USE="-vhosts"
www-servers/apache-2.2.21-r1
www-apache/mod_scgi-1.14
I have all of the above working together with rtorrent running as a daemon but only if rtorrent is running as root. If I set USER="rtorrent" in /etc/conf.d/rtorrentd then rtorrent starts ok and can be accessed through screen and works fine but when I try and access through a browser the rutorrent page loads ok but without any data from rtorrent.
"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." is the error message in the Logger Tab of the web page. With rtorrent running as root the page is fully populated.
I thought the problem might be fixed by settings in 20_mod_scgi.conf which is the config file for the apache scgi module. But anything I've tried in there hasn't helped.
I guess that error means rtorrent doesn't have access rights to the apache scgi port or a file somewhere. But I can't figure it and it doesn't seem to be a problem others are having. Anyone seen this problem or know the solution. It doesn't seem like a good idea to run rtorrent as root.