Hello,
I have been running ruTorrent 3.0 for sometime now without any problems on my Asus RT-N16 with Tomato until I upgraded to 3.1 with all the plug-ins excluding darkpal and unpack.
Now I'm receiving the errors below.
[26.06.2010 15:09:51] rTorrent's user can't access 'id' program. Some functionality will be unavailable.
[26.06.2010 15:09:53] Autotools plugin: rTorrent's user can't access php interpreter. Plugin will not work.
[26.06.2010 15:09:53] Retrackers plugin: rTorrent's user can't access php interpreter. Plugin will not work.
[26.06.2010 15:09:53] RSS plugin: rTorrent's user can't access php interpreter. Plugin will not work.
[26.06.2010 15:09:53] Traffic plugin: rTorrent's user can't access php interpreter. Plugin will not work.
[26.06.2010 15:09:53] Scheduler plugin: rTorrent's user can't access php interpreter. Plugin will not work.
[26.06.2010 15:09:53] RSS plugin: rTorrent's user can't access curl program. You will not be able to work with https feeds.
Here is my config.php file.
Code:
<?php
// configuration parameters
// for snoopy client
@define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9) Gecko/2008052906 Firefox/3.0', true);
@define('HTTP_TIME_OUT', 30, true); // in seconds
@define('HTTP_USE_GZIP', true, true);
@define('RPC_TIME_OUT', 5, true); // in seconds
@define('LOG_RPC_CALLS', false, true);
@define('LOG_RPC_FAULTS', true, true);
// for php
@define('PHP_USE_GZIP', false, true);
@define('PHP_GZIP_LEVEL', 2, true);
$do_diagnostic = true;
$log_file = '/tmp/errors.log'; // path to log file (comment or make empty to disable logging)
$saveUploadedTorrents = true;
$topDirectory = '/tmp/mnt/RT-N16_Disk/'; // Upper available directory. Absolute path with trail slash.
$forbidUserSettings = false;
$scgi_port = 5000;
$scgi_host = "127.0.0.1";
$XMLRPCMountPoint = "/RPC2"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
$pathToExternals = array(
"php" => '/opt/bin/php', // Something like /usr/bin/php. If empty, will be founded in PATH.
"curl" => '/opt/bin/curl', // Something like /usr/bin/curl. If empty, will be founded in PATH.
"gzip" => '/bin/gzip', // Something like /usr/bin/gzip. If empty, will be founded in PATH.
"id" => '/opt/bin/id', // Something like /usr/bin/id. If empty, will be founded in PATH.
);
// For web->rtorrent link through unix domain socket
// (scgi_local in rtorrent conf file), change variables
// above to something like this:
//
// $scgi_port = 0;
// $scgi_host = "unix:///tmp/rpc.socket";
?>
I did some digging for the first error and found when I run the command:
Code:
sh -c /opt/bin/id -u > /tmp/rutorrent-stats-14784143674c26813380582 ; /opt/bin/id -G >> /tmp/rutorrent-stats-14784143674c26813380582 ; echo /opt/share/www/rtorrent >> /tmp/rutorrent-stats-14784143674c26813380582 ; chmod 0644 /tmp/rutorrent-stats-14784143674c26813380582
I get this in the rutorrent-stats file that looks correct(?):
uid=0(root) gid=0(root) groups=0(root)
0
/opt/share/www/rtorrent
I have been running ruTorrent 3.0 for sometime now without any problems on my Asus RT-N16 with Tomato until I upgraded to 3.1 with all the plug-ins excluding darkpal and unpack.
Now I'm receiving the errors below.
[26.06.2010 15:09:51] rTorrent's user can't access 'id' program. Some functionality will be unavailable.
[26.06.2010 15:09:53] Autotools plugin: rTorrent's user can't access php interpreter. Plugin will not work.
[26.06.2010 15:09:53] Retrackers plugin: rTorrent's user can't access php interpreter. Plugin will not work.
[26.06.2010 15:09:53] RSS plugin: rTorrent's user can't access php interpreter. Plugin will not work.
[26.06.2010 15:09:53] Traffic plugin: rTorrent's user can't access php interpreter. Plugin will not work.
[26.06.2010 15:09:53] Scheduler plugin: rTorrent's user can't access php interpreter. Plugin will not work.
[26.06.2010 15:09:53] RSS plugin: rTorrent's user can't access curl program. You will not be able to work with https feeds.
Here is my config.php file.
Code:
<?php
// configuration parameters
// for snoopy client
@define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9) Gecko/2008052906 Firefox/3.0', true);
@define('HTTP_TIME_OUT', 30, true); // in seconds
@define('HTTP_USE_GZIP', true, true);
@define('RPC_TIME_OUT', 5, true); // in seconds
@define('LOG_RPC_CALLS', false, true);
@define('LOG_RPC_FAULTS', true, true);
// for php
@define('PHP_USE_GZIP', false, true);
@define('PHP_GZIP_LEVEL', 2, true);
$do_diagnostic = true;
$log_file = '/tmp/errors.log'; // path to log file (comment or make empty to disable logging)
$saveUploadedTorrents = true;
$topDirectory = '/tmp/mnt/RT-N16_Disk/'; // Upper available directory. Absolute path with trail slash.
$forbidUserSettings = false;
$scgi_port = 5000;
$scgi_host = "127.0.0.1";
$XMLRPCMountPoint = "/RPC2"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
$pathToExternals = array(
"php" => '/opt/bin/php', // Something like /usr/bin/php. If empty, will be founded in PATH.
"curl" => '/opt/bin/curl', // Something like /usr/bin/curl. If empty, will be founded in PATH.
"gzip" => '/bin/gzip', // Something like /usr/bin/gzip. If empty, will be founded in PATH.
"id" => '/opt/bin/id', // Something like /usr/bin/id. If empty, will be founded in PATH.
);
// For web->rtorrent link through unix domain socket
// (scgi_local in rtorrent conf file), change variables
// above to something like this:
//
// $scgi_port = 0;
// $scgi_host = "unix:///tmp/rpc.socket";
?>
I did some digging for the first error and found when I run the command:
Code:
sh -c /opt/bin/id -u > /tmp/rutorrent-stats-14784143674c26813380582 ; /opt/bin/id -G >> /tmp/rutorrent-stats-14784143674c26813380582 ; echo /opt/share/www/rtorrent >> /tmp/rutorrent-stats-14784143674c26813380582 ; chmod 0644 /tmp/rutorrent-stats-14784143674c26813380582
I get this in the rutorrent-stats file that looks correct(?):
uid=0(root) gid=0(root) groups=0(root)
0
/opt/share/www/rtorrent