You are not logged in.
Pages: 1
Having a weird error here. I configured rtorrent+rutorrent on apache according to the various articles in the wiki. Everything works fine and as it should with the exception of one plugin, rss. It spits out this error at me.
rss: Some functionality will be unavailable. Webserver user can't access external program (curl)
Of course, I have curl installed otherwise I'd be much more concerned about something else. I'm currently using rutorrent-svn from AUR because it actually gives me less errors (the normal one gives me the rss error and an id one). I've tried curl-git and no dice there. I suppose there's something wrong in a path somewhere, but I'm not really sure what to do. Any help would be appreciated.
Last edited by Dudemanguy (2013-08-12 02:19:06)
Offline
Check the "open_basedir = " line in /etc/php/php.ini. You'll need to add the folder with the curl binary (/usr/bin). IDK if this is a security risk.
What might be more secure is make a folder and hard link or symlink the curl binary in there, then put that folder in open_basedir (And probably give that path for curl in /etc/webapps/rutorrent/config.php).
Offline
Haha, thanks very much. I sort of gave up a while ago, but felt like messing with this again today so I looked here. The symlink doesn't seem to work, but just slapping in /usr/bin in the php.ini does the trick and gets rid of the curl error.
However, I'm still having issues. Adding feeds is giving me really strange behavior. If I enable either apache or rtorrent on start-up, it refuses to add any feeds and just spits out "Error loading feed" at me. However, if I reboot and then start httpd after login in via systemd and then run rtorrent as setsid rtorrent, I can add feeds so that's an acceptable workaround. Unfortunately, I seem to be unable to load any torrents with the filter subscriptions no matter what I do (the funny part is that I did get a couple to work earlier, but suddenly they don't work anymore). It just tells me "error loading torrent" (and yes, I am matching them correctly. I suppose I'll keep tinkering away since I do seem to be a step closer and curl seems to be working again like it should.
Offline
And solved. I fixed the errors described above by getting rid of rutorrent-svn, removing the rutorrent folder and installing rutorrent and rutorrent-plugins from AUR. The error above (where I am unable to add feeds and filters) only persists if I start apache via systemd on boot. If I start it manually with a simple "sudo systemctl start httpd," everything works fine. I suppose that if I take the time to configure lighttpd or something, it might work fine, but this is more than good enough for me. No more Deluge for me.
Offline
Pages: 1