derrickchoi / s3fs

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

VPS CentOS 5 install issue #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have followed the steps for install:

    * yum install gcc
    * yum install libstdc++-devel
    * yum install gcc-c++
    * yum install fuse
    * yum install fuse-devel
    * yum install curl-devel
    * yum install libxml2-devel
    * yum install openssl-devel
    * yum install mailcap 

I downloaded 1.19 as I didnt want to play with fuse 2.8.4. 

    * tar xvzf s3fs-1.19.tar.gz
    * cd s3fs-1.19/
    * ./configure --prefix=/usr
    * make
    * make install (as root) 

There were no errors that I could see in the outputs. But when I try to mount:

s3fs -o allow_other <mybuckname> /s3fs -ouse_cache=/tmp
I get the following error:
fuse: device not found, try 'modprobe fuse' first
When try to do 'modprobe fuse' I get the following output:
FATAL: Could not load /lib/modules/2.6.18-028stab070.4/modules.dep: No such 
file or directory

I did a quick search on google but did not find much valuable information, I 
just know that modules.dep is not in that folder.

Please help,
Thanks!
Marek

Original issue reported on code.google.com by mared...@gmail.com on 23 Dec 2010 at 7:11

GoogleCodeExporter commented 8 years ago
This is purely a FUSE thing, there's nothing in s3fs that could possibly make 
loading the FUSE module fail. But looking around, it seems like other people 
solved this problem by installing the fuse-utils package. Does your 
distribution have anything like that?

Original comment by apetresc on 23 Dec 2010 at 7:19

GoogleCodeExporter commented 8 years ago
Issue 139 has been merged into this issue.

Original comment by apetresc on 23 Dec 2010 at 7:21

GoogleCodeExporter commented 8 years ago
Tried yum list fuse-utils and did not find anything 

Original comment by mared...@gmail.com on 23 Dec 2010 at 7:31

GoogleCodeExporter commented 8 years ago
Issue 141 has been merged into this issue.

Original comment by apetresc on 23 Dec 2010 at 7:39

GoogleCodeExporter commented 8 years ago
apetresc why was this issue closed?

Original comment by mared...@gmail.com on 23 Dec 2010 at 7:41

GoogleCodeExporter commented 8 years ago
It was marked as Invalid because it's a FUSE issue, not an S3FS issue, but I'll 
be glad to still help you here as best as I can :)

Is your version of CentOS less than or equal to 5.4? According to this thread, 
earlier versions require the dkms-fuse package as well to load the kernel 
module: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=11454

Let me know if that helps.

Original comment by apetresc on 23 Dec 2010 at 7:52

GoogleCodeExporter commented 8 years ago
apetresc,
I am pretty sure it is 5.5 but wasn't sure how to pull up the subversion except 
for uname -a which gave me:
Linux s15426690.onlinehome-server.com 2.6.18-028stab070.4 #1 SMP Tue Aug 17 18:3
2:47 MSD 2010 x86_64 x86_64 x86_64 GNU/Linux

I followed the link and tried
yum install dkms dkms-fuse
and combinations thereof and got 
No package available.

I much appreciate your help!

Original comment by mared...@gmail.com on 23 Dec 2010 at 8:00

GoogleCodeExporter commented 8 years ago
Your uname output indicates you're running kernel version 2.6.18, which 
(according to this thread: 
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=27501&forum=39) is 
too old to support fuse. The second post says that it was added in 2.6.18-164 
and he recommends either upgrading the kernel or installing dkms-fuse.

You said you couldn't find dkms-fuse in your Yum repository, maybe an RPM from 
this link will help: http://packages.sw.be/dkms-fuse/ (There's one marked for 
CentOS 5.5). But it kinda sounds like upgrading your kernel to 2.6.18-164+ is 
the best choice.

Original comment by apetresc on 23 Dec 2010 at 8:13

GoogleCodeExporter commented 8 years ago
Thanks for the info.

I have tried running the RPMS and they seem to install (had to yum kernel-dev). 
However when i still do modprobe fuse it gives me the same error.

I am on a VPS so I wonder if that has anything to do with it.

Original comment by mared...@gmail.com on 23 Dec 2010 at 9:43

GoogleCodeExporter commented 8 years ago
Did you try rebooting after installing dkms-fuse? I don't know anything about 
dkms, but it's a modification of the kernel so it would probably require 
booting into the new one.

Original comment by apetresc on 23 Dec 2010 at 10:00

GoogleCodeExporter commented 8 years ago
Yes, i have. But used tail /etc/redhat-release and got 'CentOS release 5.5 
(Final)', go figure that. I ran through the upgrade yums you sent in one of the 
links but nothing got upgraded. Restarted but the problem still is occurring.

Original comment by mared...@gmail.com on 23 Dec 2010 at 10:10

GoogleCodeExporter commented 8 years ago
:( Maybe Dan Moore will have more insight. I believe he's actually run CentOS 
before, at least on EC2. I've never even seen a CentOS box.

Original comment by apetresc on 23 Dec 2010 at 10:22

GoogleCodeExporter commented 8 years ago
How can we get ahold of Dan? :)

Original comment by mared...@gmail.com on 23 Dec 2010 at 10:29

GoogleCodeExporter commented 8 years ago
I'm running CentOS as a virtual machine guest on my Debian box (I'm using 
VirtualBox)

I need to verify exactly what you operating environment is. What's VPS?  Is 
this a virtual server like what is provided by a hosting service?

Is CentOS installed on a box that you physically own?

My CentOS 5.5 VM is up-to-date (and I have manually installed FUSE 2.8.4), 
here's what uname returns:

I'm running CentOS as a virtual machine guest on my Debian box (I'm using 
VirtualBox)

I need to verify exactly what you operating environment is. What's VPS?  Is 
this a virtual server like what is provided by a hosting service?

Is CentOS installed on a box that you physically own?

My CentOS 5.5 VM is up-to-date (and I have manually installed FUSE 2.8.4), 
here's what uname returns (and other stuff):

$ uname -a
Linux centos.suncup.org 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010 
x86_64 x86_64 x86_64 GNU/Linux

$ echo /etc/issue
CentOS release 5.5 (Final)

$  /sbin/lsmod | grep -i fuse
fuse                   83057  2 

$ fusermount --version
fusermount version: 2.8.4

My best guess is that you have a versioning issue as Adrian has suggested.

If my suspicions are correct, you do not have the ability to upgrade the kernel 
(or haven't). Give us the current output of uname -a and we'll see. 

Original comment by dmoore4...@gmail.com on 23 Dec 2010 at 11:14

GoogleCodeExporter commented 8 years ago
Sorry, my cut and paste got overzealous. ;(

Original comment by dmoore4...@gmail.com on 23 Dec 2010 at 11:59

GoogleCodeExporter commented 8 years ago
Issue 92 has been merged into this issue.

Original comment by dmoore4...@gmail.com on 24 Dec 2010 at 12:01

GoogleCodeExporter commented 8 years ago
Dan,
here are the answers to your questions.

Yes, VPS is a virtual private server hosted by 1&1.
CentOS was preintalled on it along with Plesk (Virtuozzo) management panel.

My uname -a returns this:
Linux s15426690.onlinehome-server.com 2.6.18-028stab070.4 #1 SMP Tue Aug 17 
18:32:47 MSD 2010 x86_64 x86_64 x86_64 GNU/Linux

There is nothing noted in the /etc/issue but ran tail /etc/redhat-release and 
it returned:
CentOS release 5.5 (Final)

When I run  /sbin/lsmod | grep -i fuse I get no result.

When I run fusermount --version I get:
fusermount version: 2.8.5

Let me know what do you think.

Thank you and happy holidays!
Marek

Original comment by mared...@gmail.com on 25 Dec 2010 at 5:39

GoogleCodeExporter commented 8 years ago
Hello, I'm popping in because I'm having the exact same issue.  I'm on a cloud 
server (Pantheon) with Voxel.

My uname -a:  
Linux [mysite.com] 2.6.18-194.17.4.el5xen #1 SMP Mon Oct 25 16:36:31 EDT 2010 
x86_64 x86_64 x86_64 GNU/Linux

tail /etc/redhat-release:
CentOS release 5.5 (Final)

/sbin/lsmod | grep -i fuse:
fuse                   82929  0

fusermount --version:
fusermount version: 2.8.5

I just opened an issue with the Voxel guys, I'll let you know what they say.

Original comment by JThomasB...@gmail.com on 26 Dec 2010 at 5:40

GoogleCodeExporter commented 8 years ago
Marek, I still think that this is a platform problem (software installation) 
and has nothing to do with s3fs.  I'm speculating now: even though your 
kernel's version may be high enough to be fuse compatible, it may not not have 
had fuse support compiled in. You may need to work with your VPS hosting 
company to get this resolved.

Original comment by dmoore4...@gmail.com on 29 Dec 2010 at 8:19

GoogleCodeExporter commented 8 years ago
JThomasBailey,
at least you are getting some output on '/sbin/lsmod | grep -i fuse', I don't 
even get that far.

Original comment by mared...@gmail.com on 4 Jan 2011 at 3:32

GoogleCodeExporter commented 8 years ago
if you run /sbin/lsmod | grep -i fuse: and do not see a result it just means 
fuse is not running. 

try 

/etc/init.d/fuse start

if that gives you problems then you know at least where to start 
troubleshooting. 

Original comment by yuanzhan...@gmail.com on 6 Jan 2011 at 12:39

GoogleCodeExporter commented 8 years ago
Yup, I am waiting for 1and1 to evaluate the module and put it in. I tested 
myhosting.com's VPS and they were able to add the module within a day or two so 
if anyone is interested in changing service, they will work with you. I have a 
lot of clients on 1and1 and dont want to switch to another hosting at the 
moment.

Original comment by mared...@gmail.com on 11 Jan 2011 at 12:06