Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Can't get rutorrent to work.

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
cafE
Posts: 4
Joined: Sun Oct 30, 2016 5:58 am

Can't get rutorrent to work.
  • Quote

Post by cafE » Sun Oct 30, 2016 6:21 am

Hi,
I seem to have a problem getting rutorrent to access specific folder. For example, when I load up rutorrent, the log show me that:

Code: Select all

[30.10.2016 02:09:59] rTorrent user must have read/execute access to the tmp directory. ruTorrent will not work. (/home/rtorrent/tmp/)
[30.10.2016 02:09:59] rss: Some functionality will be unavailable. Webserver user can't access external program (curl).
[30.10.2016 02:09:59] rutracker_check: Plugin will not work. Webserver user must have execute access to the rtorrent session directory (/home/rtorrent/.session/).
Which is weird since rtorrent has permission on all folders:

Code: Select all

drwx--x--x. 9 rtorrent rtorrent 4096 Oct 30 02:08 .
drwxr-xr-x. 6 root     root     4096 Oct 30 02:00 ..
-rw-r--r--. 1 rtorrent rtorrent   18 May 10 19:21 .bash_logout
-rw-r--r--. 1 rtorrent rtorrent  176 May 10 19:21 .bash_profile
-rw-r--r--. 1 rtorrent rtorrent  124 May 10 19:21 .bashrc
drwxr-xr-x. 4 root     root     4096 Oct 30 02:00 conf
drwxrwxr-x. 2 rtorrent rtorrent 4096 Oct 30 02:08 downloads
drwxrw----. 3 rtorrent rtorrent 4096 Oct 30 02:01 .pki
-rw-r--r--. 1 rtorrent rtorrent 2571 Oct 30 02:09 .rtorrent.rc
drwxrwxr-x. 2 rtorrent rtorrent 4096 Oct 30 02:11 .session
drwxrwxrwx. 2 rtorrent rtorrent 4096 Oct 30 02:00 tmp
drwxrwxr-x. 2 rtorrent rtorrent 4096 Oct 30 02:08 .watch
drwxr-x--x. 3 rtorrent rtorrent 4096 Oct 30 02:00 web
I even chmod'd 777 all the folders and it still didn't work. I'm pretty sure it's a permission problem but I can't figure it out.
Did you guys ever have that problem?
I'm running Centos 6.8 and I did tried with Centos 7 and Debian and they still have the same problem.

Thanks.

EDIT: Forgot to mention that it was working fine on 0.9.8-15 release.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Can't get rutorrent to work.
  • Quote

Post by mehargags » Sun Oct 30, 2016 11:01 am

in your /home/rtorrent/conf/web/apcahe2.conf under the Virtual Server for your domain include :/home/rtorrent/tmp in the open_basedir include path.
Top

cafE
Posts: 4
Joined: Sun Oct 30, 2016 5:58 am

Re: Can't get rutorrent to work.
  • Quote

Post by cafE » Sun Oct 30, 2016 4:51 pm

mehargags wrote:in your /home/rtorrent/conf/web/apcahe2.conf under the Virtual Server for your domain include :/home/rtorrent/tmp in the open_basedir include path.
Ohhh thanks, that was it. /home/rtorrent/tmp was already there, but I put /home/rtorrent instead and it fixed my .session and tmp problem. I also put /usr/bin in there because rutorrent didnt have access to curl. Is this bad for the security of my server?
Last edited by cafE on Sun Oct 30, 2016 8:31 pm, edited 1 time in total.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Can't get rutorrent to work.
  • Quote

Post by mehargags » Sun Oct 30, 2016 6:12 pm

usually once installed, you can check again by removing the entries... if the app breaks, you can leave the entry like it is.

YES...access to /usr/bin can be a security problem, but some old apps/code just relies on it badly. I'm not sure how to work around with it and would love to be educated.
Top

cafE
Posts: 4
Joined: Sun Oct 30, 2016 5:58 am

Re: Can't get rutorrent to work.
  • Quote

Post by cafE » Sun Oct 30, 2016 8:30 pm

I ended up copying the curl library into my home folder and just having my home/rtorrent folder into basedir. I modify the rutorrent config to point my curl library into /home/rtorrent/.bin/curl and it work fine. Thanks for the help ;)
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password