[CentOS] service nfs start hangs on CentOS 4
William L. Maltby
CentOS4Bill at triad.rr.com
Sat Jan 12 14:48:52 UTC 2008
On Fri, 2008-01-11 at 20:12 +0100, Frank Büttner wrote:
> Frank Büttner schrieb:
> > Milton Calnek schrieb:
> >>
> >>
> >> Frank Büttner wrote:
> >>> mike.redan at bell.ca schrieb:
> >>>>> Hello when I try to start nfs the command hangs.
> >>>>> I have found out, that the problem is, that I set an IP address at
> >>>>> /etc/exports
> >>>>> sample:
> >>>>> /var/foo XXX.XXX.XXX(some rights)
> >>>>><snip>
> >>>> You might want to make sure that the portmap daemon is running.
> >>>>
> >>>> /etc/init.d/portmap status
> >>>>
> >>>> will tell you if it is runnning. If it is not..fire it up.
> >>>><snip>
> After long waiting I get an RPC timeout error
What's in your /etc/hosts.{allow | deny}? Even if portmap is running,
these files need to have the correct contents.
E.g. mine have
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
ALL: 192.168.2. 127.0.0.
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In
# particular you should know that NFS uses portmap!
ALL: ALL
> <snip sig stuff>
HTH
--
Bill
More information about the CentOS
mailing list