Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 13:55:04 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Jin Guojun [DSD]" <j_guojun@lbl.gov>
Cc:        questions@freebsd.org
Subject:   Re: mountd error under 5.1-BETA
Message-ID:  <20030519185504.GD39543@dan.emsphone.com>
In-Reply-To: <3EC92513.34263A92@lbl.gov>
References:  <3EC918E9.76437200@lbl.gov> <20030519175509.GB39543@dan.emsphone.com> <3EC92513.34263A92@lbl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 19), Jin Guojun [DSD] said:
> Dan Nelson wrote:
> > In the last episode (May 19), Jin Guojun [DSD] said:
> > > Never see this type of message before, and this is the only message to cause
> > > mountd quit:
> > >
> > > May 19 10:07:47 oliver mountd[571]: could not create any services
> > > May 19 10:42:42 oliver mountd[588]: can't register UDP RPCMNT_VER1 service
...
> > > May 19 10:42:42 oliver mountd[588]: can't register TCP6 RPCMNT_VER3 service
> > > May 19 10:42:42 oliver mountd[588]: could not create any services
> >
> > Is rpcbind running?
> 
> No, I did grep for rpcbind, but it seems that it is missing from
> configuration files:

rpcbind used to be called portmapper, which is why you are seeing
references to both.
 
> oliver 63 # grep portmap /etc/rc*  /etc/*/*
> /etc/RCS/rc.conf.oliver,v:portmap_enable="YES"
> /etc/RCS/rc.conf.oliver,v:portmap_flags="-v"
> /etc/defaults/rc.conf:rpcbind_enable="NO"               # Run the portmapper service YES/NO).

> I can manually start it, but 4.7/4.8 and solaris clients, and even
> itself do not like it:
> 
> client# mount oliver:/home/u0 /mnt
> oliver:/home/u0: nfsd: RPCPROG_NFS: RPC: Program not registered

Hm. is nfsd running?

The lines you should need in rc.conf are:

mountd_enable="YES"
nfs_client_enable="YES"
rpcbind_enable="YES"

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030519185504.GD39543>