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

next in thread | previous in thread | raw e-mail | index | archive | help
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 UDP RPCMNT_VER3 service
> > May 19 10:42:42 oliver mountd[588]: can't register TCP RPCMNT_VER1 service
> > May 19 10:42:42 oliver mountd[588]: can't register TCP RPCMNT_VER3 service
> > May 19 10:42:42 oliver mountd[588]: can't register UDP6 RPCMNT_VER1 service
> > May 19 10:42:42 oliver mountd[588]: can't register UDP6 RPCMNT_VER3 service
> > May 19 10:42:42 oliver mountd[588]: can't register TCP6 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:

oliver 62 # grep rpcbind /etc/rc*
Binary file /etc/rc.d matches
/etc/rc.subr:           [ -n "$portmap_enable" ] &&
rpcbind_enable="$portmap_enable"
/etc/rc.subr:           [ -n "$portmap_program" ] &&
rpcbind_program="$portmap_program"
/etc/rc.subr:           [ -n "$portmap_flags" ] && rpcbind_flags="$portmap_flags"

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).
/etc/rc.subr:           [ -n "$portmap_enable" ] &&
rpcbind_enable="$portmap_enable"
/etc/rc.subr:           [ -n "$portmap_program" ] &&
rpcbind_program="$portmap_program"
/etc/rc.subr:           [ -n "$portmap_flags" ] && rpcbind_flags="$portmap_flags"

Nowhere this rpcbind is specified.

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

oliver 73 # showmount -e
Exports list on localhost:
/home/u0                          xxx.yyy.zzz.0
/home/u1                          xxx.yyy.zzz.0
/home/u2                          xxx.yyy.zzz.0
/home/u3                          xxx.yyy.zzz.0

oliver 74 # mount oliver:/home/u0 /mnt
[udp] oliver:/home/u0: RPCPROG_NFS: RPC: Program not registered

So, a couple of things does not seem set correctly:
(1) configuration file -- /etc/rc.*
(2) exporting file system.oliver

I thought that this may be the new FS and old FS issue, so I tried use -L with
rpcbind:

80 # ps uxagw | grep rpc
root    675  0.0  0.1  1420 1080  ??  Ss   11:17AM   0:00.01 rpcbind
oliver 81 # ps uxagw | grep mountd
root    679  0.0  0.1  1372 1136  ??  Is   11:18AM   0:00.01 mountd -ln
oliver 82 # kill -9 675 679
oliver 83 # rpcbind -L
oliver 84 # mountd -ln
oliver 85 # mount oliver:/home/u0 /mnt
[udp] oliver:/home/u0: RPCPROG_NFS: RPC: Program not registered
^C
oliver 86 # ps agxuw | egrep "rpc|mountd"
root    814  0.0  0.1  1420 1084  ??  Ss   11:37AM   0:00.01 rpcbind -L
root    816  0.0  0.1  1356 1092  ??  Is   11:37AM   0:00.01 mountd -ln

What thing else I may miss for this new version?

--
------------ Jin Guojun ----------- v --- j_guojun@lbl.gov ---
Distributed Systems Department          http://www.itg.lbl.gov/~jin
M/S 50B-2239                            Ph#:(510) 486-7531 Fax: 486-6363
Lawrence Berkeley National Laboratory,  Berkeley, CA 94720





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EC92513.34263A92>