PDA

View Full Version : [SOLVED] nfs server on boot


manicpop
24th September 2010, 10:58 PM
Hello. I am running up-to-date Rawhide.

When my system starts, the NFS server will not start.

I get to Starting rpcsvcgssd (via systemctl)... then [FAILED]

If I disable the NFS service, then after everything boots do "service nfs start" everything works flawlessly. However, I don't want to have to do this on every boot.

I am not sure if this is a Rawhide issue or if I have something misconfigured.

I am sharing both NFSv3 and NFSv4 shares, and not using any additional security (small home network).

Any ideas?

jvillain
5th October 2010, 07:05 PM
Are you booting with systemd or upstart?

manicpop
5th October 2010, 07:21 PM

systemd. i've read this is the way things are moving.

jvillain
11th October 2010, 07:03 PM
Are you just having an issue when you boot into run level 3 or do you also have the issue booting into 5? Which run level are you booting into? The default is 3. Are you able to boot into 5 with out issues?

If you run /usr/bin/systemadm you can pick the target you are trying to get to. If it is run level 3 then it would be the multi-user.target. You can have a look and see the requirements and the things that need to boot before or after NFS. It could be that there is another service trying to load that you are being hung up on.

An alternative might be to boot to single first then use systemctl start for each service or traget you want to get running. Once you have what you want take a snapshot and use that as your new boot target.

manicpop
11th October 2010, 08:45 PM
Upon trying again it looks like a recent update fixed it. Thanks for the ideas though, I'll know where to start if I run into trouble again.