arakasi72 / rtinst

seedbox installation script for Ubuntu and Debian systems
MIT License
1.22k stars 259 forks source link

'rTorrent user can't access external program' error suddenly appearing in ruTorrent #457

Closed CraftyClown closed 4 years ago

CraftyClown commented 4 years ago

For the last week ruTorrent has started having issues communicating with rTorrent, although I don't know if the problem is with rTorrent or ruTorrent. Existing torrents are seeding fine but no plugins work, so autotools which I use to automate my torrent grabbing isn't working. If I reboot my server or restart rTorrent everything seems to start working fine again and autotools grabs the torrents but if I check back an hour or so later then I have the below errors

[21.11.2019 16:51:09] WebUI started.
[21.11.2019 16:51:38] rTorrent user can't access 'id' program. Some functionality will be unavailable.
[21.11.2019 16:51:38] screenshots: Plugin will not work. rTorrent user can't access external program (ffmpeg).
[21.11.2019 16:51:38] unpack: Plugin will not work. rTorrent user can't access external program (php).
[21.11.2019 16:51:38] trafic: Plugin will not work. rTorrent user can't access external program (php).
[21.11.2019 16:51:38] create: Plugin will not work. rTorrent user can't access external program (php).
[21.11.2019 16:51:38] ratio: Some functionality will be unavailable. rTorrent user can't access external program (php).
[21.11.2019 16:51:38] rss: Plugin will not work. rTorrent user can't access external program (php).
[21.11.2019 16:51:38] datadir: Plugin will not work. rTorrent user can't access external program (php).
[21.11.2019 16:51:38] _task: Plugin will not work. rTorrent user can't access external program (php).
[21.11.2019 16:51:38] autotools: Plugin will not work. rTorrent user can't access external program (php).
[21.11.2019 16:51:38] rss: Some functionality will be unavailable. rTorrent user can't access external program (curl).
[21.11.2019 16:51:38] mediainfo: Plugin will not work. rTorrent user can't access external program (mediainfo).
[21.11.2019 16:51:38] _task: Plugin will not work. rTorrent user can't access external program (pgrep).
[21.11.2019 16:51:51] Error downloading files. Make sure autodl-irssi is started and configured properly (eg. password, port number): Could not read file ACEtorrents.tracker: AJAX error, status: error

I also found the below errors in the tmp/rutorrent_errors.log

Could they be related to the issues I'm having? I'm not quite sure what they are telling me but it appears to relate to user settings

[20.11.19 21:54:35] <?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>execute2</methodName><params>

<param><value><string></string></value></param>

<param><value><string>sh</string></value></param>

<param><value><string>/var/www/rutorrent/php/test.sh</string></value></param>

<param><value><string>unzip</string></value></param>

<param><value><string>/var/www/rutorrent/share/users/craftyclown/settings/600221869</string></value></param>

</params></methodCall>

[20.11.19 21:54:35] Status: 200 OK

Content-Type: text/xml

Content-Length: 315

<?xml version="1.0" encoding="UTF-8"?>

<methodResponse>

<fault>

<value><struct>

<member><name>faultCode</name>

<value><i4>-503</i4></value></member>

<member><name>faultString</name>

<value><string>ExecFile::execute(...) Fork failed.</string></value></member>

</struct></value>

</fault>

</methodResponse>

[20.11.19 21:54:35] <?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>execute2</methodName><params>

<param><value><string></string></value></param>

<param><value><string>sh</string></value></param>

<param><value><string>/var/www/rutorrent/php/test.sh</string></value></param>

<param><value><string>unrar</string></value></param>

<param><value><string>/var/www/rutorrent/share/users/craftyclown/settings/1111078170</string></value></param>

</params></methodCall>

[20.11.19 21:54:35] Status: 200 OK

Content-Type: text/xml

Content-Length: 315

<?xml version="1.0" encoding="UTF-8"?>

<methodResponse>

<fault>

<value><struct>

<member><name>faultCode</name>

<value><i4>-503</i4></value></member>

<member><name>faultString</name>

<value><string>ExecFile::execute(...) Fork failed.</string></value></member>

</struct></value>

</fault>

</methodResponse>

Any idea what the problem might be?

Ubuntu version: 18.10 rtinst version 1.8.6 ruTorrent version 3.9 rTorrent version 0.9.8

V33m commented 4 years ago

Make sure that ffmpeg is installed and that there have not been any changes of permission of any folders which are of relevance for rTorrent/ruTorrent. Often the best and fastest way is to do a complete reinstall of the OS. I highly recommend that! Please close the issue and open it again if it still persist after doing a clean install.