NFS (export) not starting up at reboot

Philip Prindeville philipp_subx at redfish-solutions.com
Sat Oct 29 19:40:56 UTC 2005


akonstam at trinity.edu wrote:

>On Fri, Oct 28, 2005 at 02:54:26PM -0400, yonas abraham wrote:
>  
>
>>On Fri, 2005-10-28 at 12:49 -0600, Philip Prindeville wrote:
>>    
>>
>>>I have the following situation... running FC3 (updated) on an x86_64
>>>platform.
>>>
>>>When I reboot, I don't see any messages about NFS service failing or
>>>being started (and looking in boot.log confirms this).
>>>
>>>But if I then log in and run "service nfs start" manually, it goes without
>>>a hitch.
>>>
>>>I looked at the permissions, etc. of the /etc/rc.d/init.d file and it 
>>>looks fine.
>>>
>>>Where else should I be looking?
>>>
>>>Thanks,
>>>
>>>-Philip
>>>
>>>      
>>>
>>/sbin/chkconfig --add nfs
>>
>>perhaps?
>>    
>>
>Well first I would run:
>chkconfig --list |grep nfs
>to see if nfs is set up to be started.
>If not I would run:
>chkconfig --list 35 nfs on
>which causes nfs to be stated at run level 3 and 5.
>It is also necessary for nfslock to be executed for nfs to work.
>Again chkconfig is your friend to get that to happen.
>  
>

Ok, thanks. I ran it:

[root at mail certs]# chkconfig --list |grep nfs
nfslock 0:off 1:off 2:off 3:on 4:on 5:off 6:off
nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root at mail certs]# chkconfig --level 35 nfs on
[root at mail certs]# chkconfig --list |grep nfs
nfslock 0:off 1:off 2:off 3:on 4:on 5:off 6:off
nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off
[root at mail certs]#

I had previously done an "ls -l /etc/rc.d/*/*nfs" to verify that it
was set up correctly, but I must have missed something.

God I hate the SysV init stuff...

-Philip




More information about the fedora-list mailing list