nfs daemon does not start on redhat 9

hi

i'm trying to start an nfs server on my redhat 9 vds but the daemon does not start

Here is /etc/exports
/leon   some.ip(insecure,rw)

/leon exists and chmodded 777

when i do
/etc/rc.d/init.d/nfs start
it tells me nfs services, nfs quotas and nfs mountd are OK, but nfs daemon failed. I don't have more information on this failure, there are none looking at /var/log/messages

Plus, i have noticed that trying to start nfsd (/usr/sbin/rpc.nfsd) kills rpc.mountd


The output of rpcinfo -p
[root@ns1026 etc]# rpcinfo -p localhost
   program no_version protocole  no_port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100011    1   udp    844  rquotad
    100011    2   udp    844  rquotad
    100011    1   tcp    847  rquotad
    100011    2   tcp    847  rquotad
    100005    1   udp   1035  mountd
    100005    1   tcp   1038  mountd


The output of xportfs -a
some.ip:/leon: Function not implemented

Please help me !

Michael

PS (i cannot change the OS, or recompile the kernel)
safarlebusAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jlevieCommented:
Is "redhat 9 vds" some sort of virtual server?

What does 'grep NFS /boot/config*' show? That should tell us if the kernel was built with NFS support. If it wasn't you'll not be able to start an NFS server.
0
safarlebusAuthor Commented:
yes i have a Virtual Dedicated Server (Shared Kernel and computer, but private portion of disk, memory, cpu, bandwith), and it runs Redhat 9

I don't have anything like /boot/config, the only thing i have in /boot/ is kernel.h

However here is boot.log after a fresh restart :
nov 22 20:26:23 ns1026 syslog:  syslogd  succeeded
nov 22 20:26:23 ns1026 syslog:  klogd  succeeded
nov 22 20:26:23 ns1026 random: : succeeded
nov 22 20:26:24 ns1026 named:  named  succeeded
nov 22 20:26:24 ns1026 sshd:  succeeded
nov 22 20:26:23 ns1026 network: l'interface eth0 : succeeded
Nov 22 20:26:27 ns1026 xinetd:  xinetd  succeeded
nov 22 20:26:29 ns1026 postfix:  succeeded
nov 22 20:26:30 ns1026 httpd:  httpd  succeeded
nov 22 20:26:30 ns1026 proftpd:  proftpd  succeeded
nov 22 20:26:30 ns1026 crond:  crond  succeeded
nov 22 20:26:31 ns1026 atd:  atd  succeeded
nov 22 20:26:31 ns1026 rhnsd:  rhnsd  succeeded
nov 22 20:26:34 ns1026 named:  named  succeeded
nov 22 20:26:35 ns1026 rc: Starting webmin:  succeeded
0
jlevieCommented:
I don't think it should matter, but you might try an export of:

/leon   1.2.3.4(rw,sync)

After changing the exports file you can do 'exportfs -av' to see what happens. If the result is "Function not implemented" I'd have to assume that your kernel doesn't support NFS.
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

safarlebusAuthor Commented:
hum... : /leon: Function not implemented

i have asked the support of my hosting company, i'm still awaiting answer...
0
e-tsikCommented:
Hi :-)

Could you try:
insmod nfs

modprobe nfs
0
e-tsikCommented:
oops
 -
rewrite

 Hi :-)

Could you try:
insmod nfs
or
modprobe nfs

and see what comes up in /var/log/messages ?
0
safarlebusAuthor Commented:
hi !

insmod nfs
insmod: nfs: no module by that name found

modprobe nfs
modprobe: QM_MODULES: Function not implemented
modprobe: QM_MODULES: Function not implemented
modprobe: Can't locate module nfs

i suppose you confirm the kernel does not have nfs support ?
0
jlevieCommented:
> i suppose you confirm the kernel does not have nfs support ?

That's what all of the error messages are indicating.
0
e-tsikCommented:
I'm sorry, no NFS module - no NFS server for you :-)

Just to make sure you're not on Linux 2.6, try
insmod nfsd
and
modprobe nfsd


You could, however play nasty and copy
nfs.o
lockd.o
sunrpc.o

From an existing Redhat with THE SAME KERNEL VERSION
/lib/modules/`uname -r`/kernel/fs/nfs

And then insert them manually:
insmod ./sunrpc.o
insmod ./nfs.o
insmod ./lockd.o

If your hosting provider did not include NFS, then I suppose it wouldn't be fair to them...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
safarlebusAuthor Commented:
my hosting provider has recompiled the kernel for me (yes, they DID ! -> imingo.net). Now it works !

Thank you very much for your help, this place is outstanding !
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.