Re: NFS fails to start

Kenneth Lundström <[email protected]>
Newsgroups gmane.linux.redhat.k12osn
Message-ID <[email protected]>
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@ltsp ~]# echo "BEGIN TEST HERE" >> /var/log/messages

[root@ltsp ~]# service nfs stop
Shutting down NFS daemon:                                  [  OK ]
Shutting down NFS mountd:                                  [  OK ]
Shutting down NFS services:                                [  OK ]

[root@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@ltsp ~]# exportfs
/opt/ltsp       <world>

[root@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
[email protected]
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.