Ubuntu – restart nfs service every time after I boot Ubuntu Server 11.04

nfsnfs4Ubuntu

After a reboot of my Ubuntu server, the nfs shares and not accessible. I have to do sudo /etc/init.d/nfs-kernel-server restart and then clients can mount the nfs shares just fine. The service is started at boot, and I've tried adding this line to rc.local but I still have to actually log in and run the command manually before clients can connect. I only have to do this once after the server boots up, and then it works fine from then on.

Any idea why it is requiring this manual restart?

Best Answer

Check the permissions on the start up script.