Re: NFS fails to start
Kenneth Lundström <[email protected]>
| Newsgroups | gmane.linux.redhat.k12osn |
|---|---|
| Message-ID | <[email protected]> |
No, [root@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" > <[email protected] <mailto:[email protected]>> 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@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] <mailto:[email protected]> > https://www.redhat.com/mailman/listinfo/k12osn > For more info see <http://www.k12os.org> > > > > _______________________________________________ > K12OSN mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/k12osn > For more info see <http://www.k12os.org> _______________________________________________ K12OSN mailing list [email protected] https://www.redhat.com/mailman/listinfo/k12osn For more info see <http://www.k12os.org>