mountd error under 5.1-BETA

Dan Nelson dnelson at allantgroup.com
Mon May 19 11:55:06 PDT 2003


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 at allantgroup.com


More information about the freebsd-questions mailing list