[K12OSN] NFS fails to start
Kenneth Lundström
kenneth.lundstrom at nudata.fi
Wed May 1 22:47:30 UTC 2013
No,
[root at ltsp ~]# ls -la /opt
total 12
drwxr-xr-x. 3 root root 4096 Feb 21 2013 .
dr-xr-xr-x. 23 root root 4096 May 2 01:07 ..
drwxr-xr-x. 5 root root 4096 Mar 17 1913 ltsp
KEnneth
>
> Is /opt/ltsp a symlink?. ls -la /opt
>
> On May 1, 2013 5:53 PM, "Kenneth Lundström"
> <kenneth.lundstrom at nudata.fi <mailto: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 <mailto:K12OSN at redhat.com>
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> 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/20130502/fd32367c/attachment.htm>
More information about the K12OSN
mailing list