You are not logged in.
Pages: 1
I almost have ruTorrent and rTorrent running correctly, but I have a couple issues. The ruTorrent log outputs this.
[22.11.2012 15:33:31] WebUI started.
[22.11.2012 15:33:36] rTorrent user can't access 'id' program. Some functionality will be unavailable.
[22.11.2012 15:33:36] autotools: Some functionality will be unavailable. Webserver user must have execute access to the rtorrent session directory (/home/jamie/.session/).
[22.11.2012 15:33:36] rutracker_check: Plugin will not work. Webserver user must have execute access to the rtorrent session directory (/home/jamie/.session/).rTorrent was installed using the ArchWiki. I have enabled it as a service based on this post. rTorrent runs as user jamie.
PHP and Apache were installed using the ArchWiki.
ruTorrent (and plugins) were installed using the ArchWiki.
I'm not too sure what is causing these issues. For the id problem, id works correctly as user jamie. For the session directory problem, ls -l shows:
drwxr-xr-x 2 jamie users 4096 Nov 22 21:42 .sessionIn php.ini, I have set open_basedir as this:
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/etc/webapps/rutorrent/conf/:/usr/share/webapps/rutorrent/php/:/usr/share/webapps/rutorrent/:/usr/bin/Thanks.
Last edited by Zeffor (2012-11-27 21:05:47)
Offline
First make sure that they have +x permissions on all the folders above session as well.
ls -ld /home/jamieAlso the first line says rtorrent cant run id so run
sudo su rtorrent
idand see if it works
Offline
/home/jamie did not have execute permissions, so I fixed that and now those two errors are gone.
When I did sudo su rtorrent I got
su: user rtorrent does not existI created a user rtorrent and now I can sudo su rtorrent and run id, which works correctly, but I still have the same error.
Offline
Why are you trying to use sudo and su at the same time?
Offline
I'm just following ndavies request. When I just use su rtorrent I can't login, probably because I never set a password when I used useradd rtorrent.
Offline
So I figured out the problem. ruTorrent needs access to the /tmp directory but httpd.service had a line set to
PrivateTmp=trueWhen I modified httpd.service to
PrivateTmp=falseand restarted httpd, it started working.
I had no need for a specific rtorrent user so I removed it.
Offline
Pages: 1