Setting up NFS server on Gentoo
- by StackedCrooked
I'm trying to set up an NFS server on a Gentoo VM. I've installed nfs-utils-1.2.2 and added the following line to the /etc/exports file:
/root/svn 10.0.0.0/255.0.0.0(rw,sync,no_subtree_check)
However, when I try to start the nfs service I get the following errors:
gentoo-amd64-francis orig # /etc/init.d/nfs start
FATAL: Could not load /lib/modules/2.6.24-9-pve/modules.dep: No such file or directory
* Exporting NFS directories ... [ ok ]
* Starting NFS mountd ... [ !! ]
* Starting NFS daemon ... [ !! ]
* Starting NFS smnotify ... [ ok ]
It complains about not finding the /lib/modules/2.6.24-9-pve/modules.dep file, but the /lib/modules directory doesn't even exist on this machine.
Can anyone help me getting it to work?