XMLRPC Error

dsouvik215

Member
May 25, 2018
896
0
16
I've moved from nginx to apache last night and everything seems to be working just right, with a single issue. When I click the "Settings" icon to go to rutorrent/rtorrent settings, I get this error in the status pane:

Code:
XMLRPC Error: Method 'get_hash_interval' not defined [getsettings]
XMLRPC Error: Method 'get_hash_max_tries' not defined [getsettings]
XMLRPC Error: Method 'get_hash_read_ahead' not defined [getsettings]

I run this on Archlinux and software versions are:
rtorrent 0.9.2
rutorrent 3.4
apache 2.2.22
php 5.4.4

Anyone had this issue?
 

dsouvik215

Member
May 25, 2018
896
0
16
Quote
Quote
rutorrent 3.4

Upgrade this to svn version. Or

Quote from:
rtorrent 0.9.2

Downgrade this to 0.8.9 version.​

"Upgrading" to svn version gets me to rutorrent 3.3 (is this OK?) and still doesn't work....

Downgrading rtorrent to 0.8.9 doesn't seem to be a solution for me.
 

das329717

Member
May 25, 2018
928
0
16
Quote :
"Upgrading" to svn version gets me to rutorrent 3.3 (is this OK?) and still doesn't work....


I think, you doesn't understand - what is a svn version. Try to read projects wiki.
 

dsouvik215

Member
May 25, 2018
896
0
16
huge edit (sorry for this)

After reconfiguring everything it now works. Making settings directory's permissions 777 was a huge improvement smiley.gif

Now I only have two things left:
Code:
[11.07.2012 14:22:00] rss: Some functionality will be unavailable. Webserver user can't access external program (curl).
[11.07.2012 14:22:00] rutracker_check: Plugin will not work. Webserver user must have execute access to the rtorrent session directory (/home/myname/.rtorrent/session/).

curl is in /usr/bin and can be accessed by any user:
Code:
-rwxr-xr-x 1 root root 133008 Mar 21 18:00 /usr/bin/curl
and the session directory in .rtorrent looks to be fine:
Code:
$ ls -ld .rtorrent
drwxr-xr-x 4 me users 4096 Dec 15 2011 .rtorrent
$ ls -ld .rtorrent/session/
drwxr-xr-x 2 me users 12288 Jul 11 14:24 .rtorrent/session/

Am I missing something?
 

das329717

Member
May 25, 2018
928
0
16
Quote
curl is in /usr/bin and can be accessed by any user:​


It must be accessible from php. Check open_basedir etc.

Quote
and the session directory in .rtorrent looks to be fine:​


1) Check upper directories.
2) If you doesnt use rutracker.org then this plugin is unusable for you.
 

dsouvik215

Member
May 25, 2018
896
0
16
Thanks a lot. I changed open_basedir and now curl is found - one question here: why didn't it ask about other commands too? like gzip, id or stat?

I disabled that plugin, I didn't need it indeed.
 

das329717

Member
May 25, 2018
928
0
16
Quote
Thanks a lot. I changed open_basedir and now curl is found - one question here: why didn't it ask about other commands too? like gzip, id or stat?​


This is your system, right? Try to find answer by self. I think, this binaries was found. In some another place.
 

dsouvik215

Member
May 25, 2018
896
0
16
Well, all those binaries are in /usr/bin, where curl is, that's why I was curious. I even tried to run them and all worked, including curl, but I still got that error.