You are not logged in.

#1 2012-11-22 22:08:25

Zeffor
Member
From: SK, Canada
Registered: 2012-11-22
Posts: 4

[Solved] ruTorrent/rTorrent Problems

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 .session

In 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

#2 2012-11-24 02:26:16

ndavies
Member
Registered: 2012-11-21
Posts: 3

Re: [Solved] ruTorrent/rTorrent Problems

First make sure that they have +x permissions on all the folders above session as well.

ls -ld /home/jamie

Also the first line says rtorrent cant run id so run

sudo su rtorrent
id

and see if it works

Offline

#3 2012-11-25 07:18:35

Zeffor
Member
From: SK, Canada
Registered: 2012-11-22
Posts: 4

Re: [Solved] ruTorrent/rTorrent Problems

/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 exist

I 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

#4 2012-11-25 07:21:36

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] ruTorrent/rTorrent Problems

Why are you trying to use sudo and su at the same time?

Offline

#5 2012-11-25 18:13:16

Zeffor
Member
From: SK, Canada
Registered: 2012-11-22
Posts: 4

Re: [Solved] ruTorrent/rTorrent Problems

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

#6 2012-11-27 21:05:29

Zeffor
Member
From: SK, Canada
Registered: 2012-11-22
Posts: 4

Re: [Solved] ruTorrent/rTorrent Problems

So I figured out the problem. ruTorrent needs access to the /tmp directory but httpd.service had a line set to

PrivateTmp=true

When I modified httpd.service to

PrivateTmp=false

and restarted httpd, it started working.


I had no need for a specific rtorrent user so I removed it.

Offline

Board footer

Powered by FluxBB