guyson / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

Apache-SVN setup unable to open S3FS Mount #425

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Detailed description of observed behavior:

RHEL Release 6.4 running Apache 2.2.15 is unable to serve out of a S3FS mounted 
directory. Get a "Could not open the requested SVN filesystem" error when 
trying to navigate through an SVN repository.

What steps will reproduce the problem - please be very specific and
detailed. (if the developers cannot reproduce the issue, then it is
unlikely a fix will be found)?

1. Follow tutorial for apache setup at: 
http://www.if-not-true-then-false.com/2010/install-svn-subversion-server-on-fedo
ra-centos-red-hat-rhel/

2. Replace subversion.conf specified in tutorial above with:

LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so

<Location /svn>
   DAV svn
   SVNParentPath /var/www/svn
   AuthType Basic
   AuthName "Subversion repositories"
   AuthUserFile /etc/svn-auth-users
   Require valid-user
</Location>

3. Run s3fs -o uid=48 -o gid=48 [mybucket] /var/www/svn -ouse_cache=/tmp -o 
default_acl=public-read -o allow_other

4. service httpd restart

5. Navigate to http://[yourhost]/svn/testrepo

6. Enter credentials created within tutorial

I get the message:

<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="13">Could not open the requested SVN 
filesystem</m:human-readable>
</D:error>

===================================================================
The following information is very important in order to help us to help
you.  Omission of the following details may delay your support request or
receive no attention at all.
===================================================================
Version of s3fs being used (s3fs --version):

Amazon Simple Storage Service File System 1.74
Copyright (C) 2010 Randy Rizun <rrizun@gmail.com>
License GPL2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Version of fuse being used (pkg-config --modversion fuse):

System information (uname -a):
Linux ip-172-31-25-212 2.6.32-358.14.1.el6.x86_64 #1 SMP Mon Jun 17 15:54:20 
EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

Distro (cat /etc/issue):
Red Hat Enterprise Linux Server release 6.4 (Santiago)
Kernel \r on an \m

s3fs command line used (if applicable):

s3fs -o uid=48 -o gid=48 [mybucket] /var/www/svn -ouse_cache=/tmp -o 
default_acl=public-read -o allow_other

/etc/fstab entry (if applicable):

s3fs syslog messages (grep s3fs /var/log/syslog):

Original issue reported on code.google.com by intuitre...@gmail.com on 10 May 2014 at 10:09

GoogleCodeExporter commented 9 years ago
Hi,

Could you run s3fs with "-d" option?
If you can, please run with it. And you will be able to get some message in 
/var/log/messages.
(If you could run s3fs foreground, please run with "-f". It makes more 
information on terminal.)

* Now this s3fs codes are moved on Github, there is latest version on it. 
please use latest version.
  (https://github.com/s3fs-fuse/s3fs-fuse)

Thanks in advance for your help.

Original comment by ggta...@gmail.com on 12 May 2014 at 1:46