[K12OSN] NFS fails to start

Jim Kinney jim.kinney at gmail.com
Wed May 1 22:31:57 UTC 2013


Is /opt/ltsp a symlink?. ls -la /opt
On May 1, 2013 5:53 PM, "Kenneth Lundström" <kenneth.lundstrom at nudata.fi>
wrote:

> I have pulled all my hair already.
>
> ==> /var/log/messages <==
> BEGIN TEST HERE
> May  2 00:42:14 ltsp kernel: nfsd: last server has exited, flushing export
> cache
> May  2 00:42:14 ltsp rpc.mountd[1584]: Caught signal 15, un-registering
> and exiting.
> May  2 00:42:58 ltsp rpc.mountd[1756]: Version 1.2.3 starting
> May  2 00:42:59 ltsp kernel: NFSD: Using /var/lib/nfs/v4recovery as the
> NFSv4 state recovery directory
> May  2 00:42:59 ltsp kernel: NFSD: starting 90-second grace period
>
> [root at ltsp ~]# echo "BEGIN TEST HERE" >> /var/log/messages
>
> [root at ltsp ~]# service nfs stop
> Shutting down NFS daemon:                                  [  OK ]
> Shutting down NFS mountd:                                  [  OK ]
> Shutting down NFS services:                                [  OK ]
>
> [root at ltsp ~]# service nfs start
> Starting NFS services:  exportfs: /opt/ltsp does not support NFS export
>                                                            [  OK ]
> Starting NFS mountd:                                       [  OK ]
> Stopping RPC idmapd:                                       [  OK ]
> Starting RPC idmapd:                                       [  OK ]
> Starting NFS daemon:                                       [  OK ]
>
> [root at ltsp ~]# exportfs
> /opt/ltsp       <world>
>
> [root at ltsp ~]# nfsstat
> Server rpc stats:
> calls      badcalls   badauth    badclnt    xdrcall
> 0          0          0          0          0
>
>
> Kenneth
>
>> OK. time to pull a final test run before I pull out my hair.
>>
>> Open two terminal sessions on the server
>>
>> on terminal one run:
>> setenforce 0
>> tail -f /var/log/messages /var/log/secure
>>
>> on terminal 2 run:
>> echo "BEGIN TEST HERE" >> /var/log/messages
>> service nfs stop
>> service nfs start
>> exportfs
>> nfsstat
>>
>> Once you run the echo on terminal2 you should see the tail update. post
>> what you see back here after the echo, please as well and anything from the
>> later commands (especially the nfsstat).
>>
>>
> ______________________________**_________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/**mailman/listinfo/k12osn<https://www.redhat.com/mailman/listinfo/k12osn>
> For more info see <http://www.k12os.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20130501/a2911e41/attachment.htm>


More information about the K12OSN mailing list