Hello all!
I recently installed FreeBSD on my desktop-machine and so far, it works great. I installed www/apache22 to have a localhost running and net-p2p/rtorrent-devel to a bit of torrenting every now and then. To increase the ease of use, I wanted to use rutorrent to connect to rtorrent via apache.
Well, rutorrent can connect to rtorrent (it shows all the seeded torrents correctly), but it throws the following error messages:
I asked Google and found the error on the rutorrent-website. It says:
The webserver user is defined as follows in the httpd.conf:
So it seems that I have to add /usr/local/bin to the PATH of my www-user. But how? Or is there another solution to my problem?
Thanks in advance!
I recently installed FreeBSD on my desktop-machine and so far, it works great. I installed www/apache22 to have a localhost running and net-p2p/rtorrent-devel to a bit of torrenting every now and then. To increase the ease of use, I wanted to use rutorrent to connect to rtorrent via apache.
Well, rutorrent can connect to rtorrent (it shows all the seeded torrents correctly), but it throws the following error messages:
Code:
[02.03.2012 08:46:54] rss: Some functionality will be unavailable. Webserver user can't access external program (curl).
[02.03.2012 08:46:54] rutracker_check: Plugin will not work. Webserver user must have execute access to the rtorrent
session directory (.rtorrentsession/).
[02.03.2012 08:46:54] autotools: Plugin will not work. rTorrent user can't access external program (php).
[02.03.2012 08:46:54] unpack: Plugin will not work. rTorrent user can't access external program (php).
[02.03.2012 08:46:54] ratio: Some functionality will be unavailable. rTorrent user can't access external program (php).
[02.03.2012 08:46:54] retrackers: Plugin will not work. rTorrent user can't access external program (php).
[02.03.2012 08:46:54] trafic: Plugin will not work. rTorrent user can't access external program (php).
[02.03.2012 08:46:54] create: Plugin will not work. rTorrent user can't access external program (php).
[02.03.2012 08:46:54] rss: Plugin will not work. rTorrent user can't access external program (php).
[02.03.2012 08:46:54] history: Plugin will not work. rTorrent user can't access external program (php).
[02.03.2012 08:46:54] scheduler: Plugin will not work. rTorrent user can't access external program (php).
[02.03.2012 08:46:54] rutracker_check: Plugin will not work. rTorrent user can't access external program (php).
[02.03.2012 08:46:54] screenshots: Plugin will not work. rTorrent user can't access external program (ffmpeg).
[02.03.2012 08:46:54] _task: Some functionality will be unavailable. rTorrent user can't access external program (pgrep).
[02.03.2012 08:46:54] create: Some functionality will be unavailable. rTorrent user can't access external program (pgrep).
[02.03.2012 08:46:54] mediainfo: Plugin will not work. rTorrent user can't access external program (mediainfo).
[02.03.2012 08:46:54] rss: Some functionality will be unavailable. rTorrent user can't access external program (curl).
[02.03.2012 08:46:55] DataDir plugin: rTorrent user can't access php interpreter. Plugin will not work.
[02.03.2012 08:46:55] Unpack plugin: rTorrent user can't access 'unzip' program.
[02.03.2012 08:46:55] Unpack plugin: rTorrent user can't access 'unrar' program.
I asked Google and found the error on the rutorrent-website. It says:
xxx plugin: Plugin will not work. Web-server can't access to external program (program name)
The mentioned program is required for this plug-in working but is unavailable under web-server user's account. Or this program does not exist at all (and it should be installed), or the path to the program was not included in the environment variable PATH of web-server user (in this case PATH variable should be revised or the plug-in configuration file should be called, usually there is a way to define a path to the program). Another case if the program exists the system but web-server is executed in chroot environment and the program is unavailable to it. This could happen also with various programs when rTorrent's user doesn't have write access to /path/to/rutorrent/share. (reported by crockabiscuit)
The webserver user is defined as follows in the httpd.conf:
Code:
User www
Group www
So it seems that I have to add /usr/local/bin to the PATH of my www-user. But how? Or is there another solution to my problem?
Thanks in advance!
