OpenVZ Forum


Home » Mailing lists » Users » fuse kernel module
fuse kernel module [message #30623] Fri, 30 May 2008 11:34 Go to next message
ritesh sinha is currently offline  ritesh sinha
Messages: 4
Registered: May 2008
Junior Member
Hi all,
I was trying out openvz and ended up in trouble.

I was trying install glusterfs on a centos VM (over centos base machine).
For this i needed to install a kernel module called fuse.

I compiled it & installed it. The kernel module file fuse.ko gets created,
but when i try to do "modprobe fuse" I get :
FATAL: Error inserting fuse
(/lib/modules/2.6.18-53.1.19.el5.028stab053.14/kernel/fs/fuse/fuse.ko):
Operation not permitted

There is no permission related issue (i am working as root). The bad thing
is that when i do lsmod on any VM the output is null (I see no kernel
modules at all).  This prompted me on thinking that whether modprobing any
kernel module is allowed or not. ?

Kindly help me sort this problem

Regards
Ritesh
Re: fuse kernel module [message #30627 is a reply to message #30623] Fri, 30 May 2008 11:55 Go to previous messageGo to next message
Mishin Dmitry is currently offline  Mishin Dmitry
Messages: 112
Registered: February 2006
Senior Member
On Friday 30 May 2008 15:34:05 ritesh sinha wrote:
> Hi all,
> I was trying out openvz and ended up in trouble.
>
> I was trying install glusterfs on a centos VM (over centos base machine).
> For this i needed to install a kernel module called fuse.
>
> I compiled it & installed it. The kernel module file fuse.ko gets created,
> but when i try to do "modprobe fuse" I get :
> FATAL: Error inserting fuse
> (/lib/modules/2.6.18-53.1.19.el5.028stab053.14/kernel/fs/fuse/fuse.ko):
> Operation not permitted
>
> There is no permission related issue (i am working as root). The bad thing
> is that when i do lsmod on any VM the output is null (I see no kernel
> modules at all).  This prompted me on thinking that whether modprobing any
> kernel module is allowed or not. ?
inside container - isn't allowed due to security reasons. You need to load 
fuse.ko on the hardware node.

>
> Kindly help me sort this problem
>
> Regards
> Ritesh



-- 
Thanks,
Dmitry.
Re: fuse kernel module [message #30632 is a reply to message #30627] Fri, 30 May 2008 12:34 Go to previous messageGo to next message
ritesh sinha is currently offline  ritesh sinha
Messages: 4
Registered: May 2008
Junior Member
Hey thanks for the reply. Highly appreciated !
So as you suggested I installed the fuse kernel module on base system. And
could get the glusterfs to install. But even after its installation the
glusterfs was not working. Whenever i tried to mount a remote partition, I
fail, and the logs will say :
2008-05-30 11:00:00 E [xlator.c:120:xlator_set_type] xlator:
dlopen(//lib/glusterfs/1.3.8/xlator/mount/fuse.so): libfuse.so.2: cannot
open shared object file: No such file or directory

i feel this is not a gluster specific problem, and has more to do with
openvz's virtual machines.

Any help ?

On Fri, May 30, 2008 at 5:25 PM, Dmitry Mishin <dim@openvz.org> wrote:

> On Friday 30 May 2008 15:34:05 ritesh sinha wrote:
> > Hi all,
> > I was trying out openvz and ended up in trouble.
> >
> > I was trying install glusterfs on a centos VM (over centos base machine).
> > For this i needed to install a kernel module called fuse.
> >
> > I compiled it & installed it. The kernel module file fuse.ko gets
> created,
> > but when i try to do "modprobe fuse" I get :
> > FATAL: Error inserting fuse
> > (/lib/modules/2.6.18-53.1.19.el5.028stab053.14/kernel/fs/fuse/fuse.ko):
> > Operation not permitted
> >
> > There is no permission related issue (i am working as root). The bad
> thing
> > is that when i do lsmod on any VM the output is null (I see no kernel
> > modules at all).  This prompted me on thinking that whether modprobing
> any
> > kernel module is allowed or not. ?
> inside container - isn't allowed due to security reasons. You need to load
> fuse.ko on the hardware node.
>
> >
> > Kindly help me sort this problem
> >
> > Regards
> > Ritesh
>
>
>
> --
> Thanks,
> Dmitry.
>
Re: fuse kernel module [message #30636 is a reply to message #30632] Fri, 30 May 2008 13:49 Go to previous messageGo to next message
Mishin Dmitry is currently offline  Mishin Dmitry
Messages: 112
Registered: February 2006
Senior Member
On Friday 30 May 2008 16:34:58 ritesh sinha wrote:
> Hey thanks for the reply. Highly appreciated !
> So as you suggested I installed the fuse kernel module on base system. And
> could get the glusterfs to install. But even after its installation the
> glusterfs was not working. Whenever i tried to mount a remote partition, I
> fail, and the logs will say :
> 2008-05-30 11:00:00 E [xlator.c:120:xlator_set_type] xlator:
> dlopen(//lib/glusterfs/1.3.8/xlator/mount/fuse.so): libfuse.so.2: cannot
> open shared object file: No such file or directory
>
> i feel this is not a gluster specific problem, and has more to do with
> openvz's virtual machines.
I saw similar error during attempt to mount not provided yet filesystem over 
sshfs.

>
> Any help ?
>
> On Fri, May 30, 2008 at 5:25 PM, Dmitry Mishin <dim@openvz.org> wrote:
> > On Friday 30 May 2008 15:34:05 ritesh sinha wrote:
> > > Hi all,
> > > I was trying out openvz and ended up in trouble.
> > >
> > > I was trying install glusterfs on a centos VM (over centos base
> > > machine). For this i needed to install a kernel module called fuse.
> > >
> > > I compiled it & installed it. The kernel module file fuse.ko gets
> >
> > created,
> >
> > > but when i try to do "modprobe fuse" I get :
> > > FATAL: Error inserting fuse
> > > (/lib/modules/2.6.18-53.1.19.el5.028stab053.14/kernel/fs/fuse/fuse.ko):
> > > Operation not permitted
> > >
> > > There is no permission related issue (i am working as root). The bad
> >
> > thing
> >
> > > is that when i do lsmod on any VM the output is null (I see no kernel
> > > modules at all).  This prompted me on thinking that whether modprobing
> >
> > any
> >
> > > kernel module is allowed or not. ?
> >
> > inside container - isn't allowed due to security reasons. You need to
> > load fuse.ko on the hardware node.
> >
> > > Kindly help me sort this problem
> > >
> > > Regards
> > > Ritesh
> >
> > --
> > Thanks,
> > Dmitry.



-- 
Thanks,
Dmitry.
Re: fuse kernel module [message #30643 is a reply to message #30636] Sat, 31 May 2008 04:56 Go to previous messageGo to next message
ritesh sinha is currently offline  ritesh sinha
Messages: 4
Registered: May 2008
Junior Member
> > dlopen(//lib/glusterfs/1.3.8/xlator/mount/fuse.so): libfuse.so.2: cannot
> > open shared object file: No such file or directory
> >
> > i feel this is not a gluster specific problem, and has more to do with
> > openvz's virtual machines.
> I saw similar error during attempt to mount not provided yet filesystem
> over
> sshfs.
>
>
So any clues/pointers that can be of any help to me ?



> >
> > Any help ?
> >
> > On Fri, May 30, 2008 at 5:25 PM, Dmitry Mishin <dim@openvz.org> wrote:
> > > On Friday 30 May 2008 15:34:05 ritesh sinha wrote:
> > > > Hi all,
> > > > I was trying out openvz and ended up in trouble.
> > > >
> > > > I was trying install glusterfs on a centos VM (over centos base
> > > > machine). For this i needed to install a kernel module called fuse.
> > > >
> > > > I compiled it & installed it. The kernel module file fuse.ko gets
> > >
> > > created,
> > >
> > > > but when i try to do "modprobe fuse" I get :
> > > > FATAL: Error inserting fuse
> > > >
> (/lib/modules/2.6.18-53.1.19.el5.028stab053.14/kernel/fs/fuse/fuse.ko):
> > > > Operation not permitted
> > > >
> > > > There is no permission related issue (i am working as root). The bad
> > >
> > > thing
> > >
> > > > is that when i do lsmod on any VM the output is null (I see no kernel
> > > > modules at all).  This prompted me on thinking that whether
> modprobing
> > >
> > > any
> > >
> > > > kernel module is allowed or not. ?
> > >
> > > inside container - isn't allowed due to security reasons. You need to
> > > load fuse.ko on the hardware node.
> > >
> > > > Kindly help me sort this problem
> > > >
> > > > Regards
> > > > Ritesh
> > >
> > > --
> > > Thanks,
> > > Dmitry.
>
>
>
> --
> Thanks,
> Dmitry.
>
Re: fuse kernel module [message #30717 is a reply to message #30643] Wed, 04 June 2008 19:21 Go to previous messageGo to next message
Raimund Sacherer is currently offline  Raimund Sacherer
Messages: 2
Registered: March 2008
Junior Member
On 31/05/2008, at 6:56, ritesh sinha wrote:

>
> > dlopen(//lib/glusterfs/1.3.8/xlator/mount/fuse.so): libfuse.so.2:  
> cannot
> > open shared object file: No such file or directory
> >
> > i feel this is not a gluster specific problem, and has more to do  
> with
> > openvz's virtual machines.
> I saw similar error during attempt to mount not provided yet  
> filesystem over
> sshfs.
>
>
> So any clues/pointers that can be of any help to me ?
Maybe trying to copy the libs (.so files) from the hardware node into  
the virtual machines? just a guess ...


>
Re: fuse kernel module [message #30757 is a reply to message #30717] Fri, 06 June 2008 08:59 Go to previous message
ritesh sinha is currently offline  ritesh sinha
Messages: 4
Registered: May 2008
Junior Member
> I saw similar error during attempt to mount not provided yet filesystem
>> over
>> sshfs.
>>
>>
> So any clues/pointers that can be of any help to me ?
>
> Maybe trying to copy the libs (.so files) from the hardware node into the
> virtual machines? just a guess ...
>

Point is that the .so file is very much available at refered location. (that
was the main point). Inspite of it being present, all permissions being
available .... it gives error saying, permission denied.




>
>
>
Previous Topic: Set kernel name (uname) for VE
Next Topic: Kernel panic with latest 2.6.24 from git
Goto Forum:
  


Current Time: Wed Aug 14 10:32:45 GMT 2024

Total time taken to generate the page: 0.02862 seconds