pradeepgn / s3fs

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

Cannot start apache when documentroot points to s3fs mount point #422

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Detailed description of support request:

I have one mount point from S3 and I can access it from OS. My intention is to 
point my apache document root to this mount point. However, when I do so and 
restart apache, it throws the following error:

sudo service apache2 restart
 * Restarting web server apache2                                                                                          Warning: DocumentRoot [/mnt/s3] does not exist
 ... waiting Warning: DocumentRoot [/mnt/s3] does not exist

Any idea?

I can access it properly:

ls -l /mnt/s3
total 0
d--------- 1 ubuntu ubuntu 0 Jan 20  2013 mypictures
drwxrwxrwx 1 ubuntu ubuntu 0 Apr 16 06:58 www

ubuntu@ip-10-185-225-2:/mnt/s3/www$ ls -ld /mnt/s3
drwxr-xr-x 1 ubuntu ubuntu 0 Jan  1  1970 /mnt/s3

===================================================================
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):

s3fs --version
Amazon Simple Storage Service File System 1.71

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

pkg-config --modversion fuse
2.8.6

System information (uname -a):

uname -a
Linux ip-10-185-225-2 3.2.0-58-virtual #88-Ubuntu SMP Tue Dec 3 17:58:13 UTC 
2013 x86_64 x86_64 x86_64 GNU/Linux

Distro (cat /etc/issue):

cat /etc/issue
Ubuntu 12.04.4 LTS \n \l

s3fs command line used (if applicable):

Not sure what command you need, sharing the mount command used:

s3fs -o uid=1000,gid=1000,use_cache=/home/ubuntu/cache <myBucketName> /mnt/s3

I am using the password eith ACCESS keys etc. located in my home directory.

/etc/fstab entry (if applicable):

No entry so far

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

grep s3fs /var/log/syslog
Apr 16 06:07:01 ip-10-185-225-2 s3fs: init $Rev: 444 $

Original issue reported on code.google.com by abhisekb...@msn.com on 16 Apr 2014 at 7:31

GoogleCodeExporter commented 8 years ago
Any one looking into this request?

Original comment by abhisekb...@msn.com on 17 Apr 2014 at 2:39

GoogleCodeExporter commented 8 years ago
Hi

Could you access to /mnt/s3(/www)?
(ex. ls command, or cat <file>...etc)

s3fs you used is old version, it had some bugs and now version 1.76 on github.
Please use and check new version.
(see: https://github.com/s3fs-fuse/s3fs-fuse and 
https://github.com/s3fs-fuse/s3fs-fuse/releases )

And if you can, please run s3fs with -d and -f option manually.
It makes many logs about s3fs, I think it helps us to find something wrong.

Thanks,

Original comment by ggta...@gmail.com on 18 Apr 2014 at 2:01