SUMMARY: Re: NFS Portmap: RPC: Program not registered

From: Jeffrey_Hummel@albemarle.com
Date: Wed Oct 29 2003 - 09:56:48 EST


Many thanks to Dr. Thomas Blinn, James Sainsbury, Brian Staab, John Lanier,
and Lindsay Wakeman.

Two commands that would have helped identify the solution more quickly
were:
showmount -e <hostname>
and
ps -ef | grep nfs

The first command lists the directories that are being exported.
The second command confirms that nfs is running.

The solution was that although I had run nfssetup, I must have done
something wrong in it because the value of NFSSERVING in rc.config was 0.

To correct the problem, use the following commands:
 rcmgr set NFSSERVING 1
rcmgr get NFSSERVING

Thanks for all of the help!
Jeffrey Hummel
Albemarle Corporation
http://www.albemarle.com

                                                                                                                                             
                      Jeffrey_Hummel@albemarl
                      e.com To: tru64-unix-managers@ornl.gov
                      Sent by: cc:
                      tru64-unix-managers-own Subject: NFS Portmap: RPC: Program not registered
                      er@ornl.gov
                                                                                                                                             
                                                                                                                                             
                      10/28/2003 04:11 PM
                                                                                                                                             
                                                                                                                                             

Version 4.0g

A server's exported mount point is not accessible. I used nfssetup to
configure it. Can anybody see a reason why rpcinfo is not reporting any
nfs mappings?

NFS is configured. rc.config portion related to NFS is here:
NFS_CONFIGURED="1"
export NFS_CONFIGURED
NFSSERVING="0"
export NFSSERVING
NUM_TCPD="8"
export NUM_TCPD
NUM_UDPD="8"
export NUM_UDPD
NUM_NFSIOD="7"
export NUM_NFSIOD
NFSLOCKING="1"
export NFSLOCKING
NUM_PROPLISTD="0"
export NUM_PROPLISTD
PCNFSD="0"
export PCNFSD

rpcinfo -p xxxxxx returns the following:
 program vers proto port
  100000 2 tcp 111 portmapper
  100000 2 udp 111 portmapper
  100011 1 udp 1029 rquotad
  100068 2 udp 1030 rpc.cmsd
  100068 3 udp 1030 rpc.cmsd
  100068 4 udp 1030 rpc.cmsd
  100083 1 tcp 1029 rpc.ttdbserverd
  100024 1 udp 1032 status
  100024 1 tcp 1037 status
  100021 1 tcp 1038 nlockmgr
  100021 3 tcp 1038 nlockmgr
  100021 4 tcp 1038 nlockmgr
  100021 2 tcp 1038 nlockmgr
  100020 3 tcp 1038 llockmgr
  100021 1 udp 1033 nlockmgr
  100021 3 udp 1033 nlockmgr
  100021 4 udp 1033 nlockmgr
  100021 2 udp 1033 nlockmgr
  100020 3 udp 1033 llockmgr
  100005 1 udp 1034 mountd
  100005 3 udp 1034 mountd
  200023 1 udp 1034 exportmap
  100005 1 tcp 758 mountd
  100005 3 tcp 758 mountd

ps -ef | grep rpc returns the following:
root 571 1 0.0 21:58:14 ?? 0:00.01
/usr/sbin/rpc.statd
root 573 1 0.0 21:58:14 ?? 0:00.02
/usr/sbin/rpc.lockd

The only line in /etc/exports is below:
/oracle/CTL -root=xxxxxx4 -access=xxxxxx4

.



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:41 EDT