Virtualmin & ruTorrent

Hello everybody.

I used Virtualmin on a dedicated server, running with Debian 9 (Stretch).

My problem is :
I’m trying to use ruTorrent webUI on my server. The virtual servers are created, running on FCGId, ruTorrent files are on the right folder, webUI is shown, link between rtorrent client en ruTorrent UI is okay, FTP works… All is okay. I just have ONE problem with my installation, on my ruTorrent interface, I don’t know if this error is from Apache or Virtuamin parameter or even PHP config. Anybody could help me please ? I have the following errors :

[25.01.2015 14:50:14] WebUI started.
[25.01.2015 14:50:15] ratio: Some functionality will be unavailable. rTorrent user can't access external program (php).
[25.01.2015 14:50:15] loginmgr: Some functionality will be unavailable. rTorrent user can't access external program (php).
[25.01.2015 14:50:15] trafic: Plugin will not work. rTorrent user can't access external program (php).
[25.01.2015 14:50:15] rss: Plugin will not work. rTorrent user can't access external program (php).
[25.01.2015 14:50:15] create: Plugin will not work. rTorrent user can't access external program (php).
[25.01.2015 14:50:15] unpack: Plugin will not work. rTorrent user can't access external program (php).
[25.01.2015 14:50:15] retrackers: Plugin will not work. rTorrent user can't access external program (php).
[25.01.2015 14:50:15] rutracker_check: Plugin will not work. rTorrent user can't access external program (php).
[25.01.2015 14:50:15] history: Plugin will not work. rTorrent user can't access external program (php).
[25.01.2015 14:50:15] scheduler: Plugin will not work. rTorrent user can't access external program (php).
[25.01.2015 14:50:15] autotools: Plugin will not work. rTorrent user can't access external program (php).
[25.01.2015 14:50:15] _task: Some functionality will be unavailable. rTorrent user can't access external program (pgrep).
[25.01.2015 14:50:15] create: Some functionality will be unavailable. rTorrent user can't access external program (pgrep).
[25.01.2015 14:50:15] screenshots: Plugin will not work. rTorrent user can't access external program (ffmpeg).
[25.01.2015 14:50:15] rss: Some functionality will be unavailable. rTorrent user can't access external program (curl).
[25.01.2015 14:50:15] mediainfo: Plugin will not work. rTorrent user can't access external program (mediainfo).

(Don’t be disturbed with the dates, I just copied errors from somewhere else to give you english messages, because my errors are in french, that’s all.)

I don’t know a thing about your torrent program, but it seems to me that it is probably not configured properly.

If you can login via a terminal*, type

which php

This will give you the path to php that you can put in the configuration. Same for the other stuff it is complaining about like curl etc.

*or do it the Webmin way: Webmin -> Others -> Command shell.

@noisemarine
Thank you for your answer.
Unfortunatly, there is already a config file in PHP where you have to set binaries path. This is the code :

	$pathToExternals = array(
		"php" 	=> '/usr/bin/php',			// Something like /usr/bin/php. If empty, will be found in PATH.
		"curl"	=> '/usr/bin/curl',			// Something like /usr/bin/curl. If empty, will be found in PATH.
		"gzip"	=> '/bin/gzip',			// Something like /usr/bin/gzip. If empty, will be found in PATH.
		"id"	=> '/usr/bin/id',			// Something like /usr/bin/id. If empty, will be found in PATH.
		"stat"	=> '/usr/bin/stat',			// Something like /usr/bin/stat. If empty, will be found in PATH.
		"python"	=> '/usr/bin/python',
	);

It seems to be another problem, I don’t really know how Virtualmin is managing virtual servers but it blocks the access between the website folder and the /usr/bin folder. I already tried to change chmod or chown but it did nothing.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.