1

I installed NFS server on my Ubuntu 12.04 64 bit with apt-get install and when I try to start the server I always see:

NFS kernel daemon: no support in current kernel.
5

Did you check Ubuntu's official docummentation about Network File System (NFS)?

As the error tells you, your current GNU/Linux kernel (what is a kernel?) does not support NFS. You can solve it either by

Maybe you have a module for that but it is just not loaded, in such case: modprobe nfs and try again.

Or follow the recommended procedure in the documentation and start the NFS service in the Ubuntu way (hoping that it'll modprobe it for you if needed, I'm not sure if it does):

sudo /etc/init.d/nfs-kernel-server start

And of course, don't forget to configure your exports in /etc/exports. This is not your problem but since it's part of NFS configuration I explain it too.

Remember that spaces matter, so

/home bob.example.com(rw)
/home bob.example.com (rw)

are different.

The first line works probably as expected, granting bob.example.com read/write permissions, while the second line grants bob.example.com default permissions (read only) and read/write permissions to everybody else. (Credit and further information: The /etc/exports Configuration File, Red Hat)

1
  • The third option worked perfectly for me as a post-upgrade task from Ubuntu 10.04 to 12.04. Presumably the update was held back for some reason, but when I manually attempted to install the already present package the new version was installed and that resolved the problem. – deoren Apr 15 '15 at 23:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.