Web-server user cannot access 'stat' program.

jith45

Member
May 25, 2018
960
0
16
Hello,

I'm trying to install rutorrent and it is returning the error that it cannot access the 'stat' program.

I can confirm that the program exists in /usr/bin/stat and the permissions are appropriate for any user to execute the program. I have tried putting this path in config.php even though that is the first place it tries; as expected it does not change the outcome.

Any ideas or suggestions? Can you help me debug (as I am not very knowledgeable or experienced)? I am also using Arch Linux and am able to provide any further information if required.
 

jith45

Member
May 25, 2018
960
0
16
I would just like to add that I have tried adding the rss plugin and it comes up with a similar error except it involves curl instead of stat. I have looked up posts about this subject on these forums but most of the time users seem to not have curl (or stat) installed (which I definitely do)
 

somus1735

Member
May 25, 2018
833
0
16
I've noticed this error pop up on the very first "load" in a few situations. not quite sure why though.


It seems to have every time if you are using OpenVZ based vps's
 

jith45

Member
May 25, 2018
960
0
16
Unfortunately, that is not the case. It also happens on every 'load', not just the first.
 

somus1735

Member
May 25, 2018
833
0
16
did you set the path to stat in your config.php?


does your /tmp directory have the proper permissions/settings and can your webserver and rtorrent both use it?
 

jith45

Member
May 25, 2018
960
0
16
I have set the path in config.php for both stat and curl.

/tmp has 777 permissions. I assume that is all that is required. Webserver and rtorrent users both seem to be able to use it.
 

somus1735

Member
May 25, 2018
833
0
16
well actually temp should be 1777

but....I'm going to guess that isn't the issue....i'm going to wait for novik to answer this one because i honestly have no idea.
 

dsouvik215

Member
May 25, 2018
896
0
16
Quote
i'm going to wait for novik to answer this one because i honestly have no idea.​


Novik can't say anything because he haven't info. For example, what about ruTorrent version?
 

jith45

Member
May 25, 2018
960
0
16
rutorrent-svn 1469-1
I have also tried 1485 but that has the same issue.

I'm not sure what information you would require but am happy to provide any information.