From: Stephen Liu <satimis@yahoo.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: "J. Bruce Fields" <bfields@fieldses.org>,
nfs@lists.sourceforge.net, Jeff Layton <jlayton@redhat.com>
Subject: Re: Fail to start rpc nfsd
Date: Mon, 13 Nov 2006 12:10:23 +0800 (CST) [thread overview]
Message-ID: <20061113041023.41362.qmail@web35205.mail.mud.yahoo.com> (raw)
In-Reply-To: <1163388941.5736.8.camel@lade.trondhjem.org>
Hi Trond,
Tks for your advice.
> > > > $ ps -ef | egrep '/nfs-kernel-server'
> > > > satimis 4841 4786 0 08:16 pts/2 00:00:00 grep -E
> > > > /nfs-kernel-server
> > >
> > > It's portmap you need to grep for.
> >
> > $ ps -ef | egrep portmap
> > daemon 3513 1 0 07:58 ? 00:00:00 /sbin/portmap -i
> > 127.0.0.1
> > satimis 4902 4786 0 09:01 pts/2 00:00:00 grep -E portmap
> > * end *
> >
> > It is there.
>
> Check that you don't have an entry in /etc/hosts.deny that is
> blocking
> access to portmap.
Nothing enabled on /etc/hosts.deny file. Just retain its original file
without touched.
> Also check that you don't have any iptables
> entries
> that are doing the same.
$ sudo iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
TCPMSS tcp -- anywhere anywhere tcp
flags:SYN,RST/SYN tcpmss match 1400:1536 TCPMSS clamp to PMTU
ACCEPT all -- 192.168.0.0/16 anywhere
ACCEPT all -- anywhere 192.168.0.0/16 state
RELATED,ESTABLISHED
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
* end *
$ sudo /etc/init.d/nfs-kernel-server restart
* Stopping rpc mountd...
[ ok ]
* Stopping rpc nfsd...
[ ok ]
* Unexporting directories for NFS kernel daemon...
[ ok ]
* Exporting directories for NFS kernel daemon...
[ ok ]
* Starting rpc nfsd...
[fail]
* end *
Failed.
$ sudo /etc/init.d/nfs-kernel-server force-reload
* Re-exporting directories for NFS kernel daemon...
[ ok ]
* end *
But "force-reload" was OK
Tks.
B.R.
Stephen
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
prev parent reply other threads:[~2006-11-13 4:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-11 14:50 Fail to start rpc nfsd Stephen Liu
2006-11-11 18:04 ` Trond Myklebust
2006-11-12 0:17 ` Stephen Liu
2006-11-12 12:16 ` Jeff Layton
2006-11-13 0:26 ` Stephen Liu
2006-11-13 0:49 ` J. Bruce Fields
2006-11-13 1:13 ` Stephen Liu
2006-11-13 3:35 ` Trond Myklebust
2006-11-13 4:10 ` Stephen Liu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061113041023.41362.qmail@web35205.mail.mud.yahoo.com \
--to=satimis@yahoo.com \
--cc=bfields@fieldses.org \
--cc=jlayton@redhat.com \
--cc=nfs@lists.sourceforge.net \
--cc=trond.myklebust@fys.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox