Page 1 of 1

NFS Server Problem on Etch

Posted: 15 Mar 2008, 07:40
by axomat
Hi

Reinstall to etch worked fine no problems.

Installed nfs which seemed to be ok until service tries to start...

/etc/init.d/nfs-kernel-server restart
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
FATAL: Could not load /lib/modules/2.6.16.16/modules.dep: No such file or directory
Exporting directories for NFS kernel daemon...exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "192.168.1.0/24:/home/storage".
Assuming default behaviour ('subtree_check').
NOTE: this default will change with nfs-utils version 1.1.0
.
Starting NFS kernel daemon: nfsd mountd.

and

# /etc/init.d/nfs-common restart
Stopping NFS common utilities: idmapd statd.
Starting NFS common utilities: statd
FATAL: Could not load /lib/modules/2.6.16.16/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.16.16/modules.dep: No such file or directory

idmapd.

I think I read here that the error is misleading and can be ignored but I cannot see my nfs server from my nfs client to I believe there is a problem.

Thanks
Any suggestions please?

Posted: 15 Mar 2008, 09:55
by osa
I'm runnung nfs on etch.

To resolve FATAL: Could not load /lib/modules/2.6.16.16/modules.dep: No such file or directory error just apt-get install linux-modules

You can also add 'subtree_check' or 'no_subtree_check' to your /etc/exports to remove that warning

Posted: 15 Mar 2008, 10:29
by axomat
Thanks it works now!