Operating System - HP-UX
1753797 Members
7865 Online
108799 Solutions
New Discussion юеВ

RPC: Program not registered

 
SOLVED
Go to solution
LawrenceLow
Advisor

RPC: Program not registered

Hi,

I have setup a new server (server B) which running in HP-UX11.11i and apparently I try to mount the working directory remotely (server A). However, error message appear:-

nfs mount: get_fh: gismain:: RPC: Program not registered
nfs mount: get_fh: gismain:: RPC: Program not registered
nfs mount: retry: retrying(1) for: /mnt18 after 5 seconds
nfs mount: retry: giving up on: /mnt18

I try to restart the daemons by running /sbin/init.d/nfs.client start

# /sbin/init.d/nfs.client start
starting NFS CLIENT networking

killing rpc.lockd
killing rpc.statd
killing nfsd
killing rpc.mountd
starting up the rpcbind
rpcbind already started, using pid: 11215
starting up the BIO daemons
/usr/sbin/biod 16
exportfs error: nothing to export.
Reading in /etc/exports
starting up the Status Monitor daemon
/usr/sbin/rpc.statd
starting up the Lock Manager daemon
/usr/sbin/rpc.lockd
starting up the AutoFS daemon
/usr/lib/netsvc/fs/autofs/automountd
Running the AutoFS command interface
/usr/sbin/automount
mounting remote NFS file systems ...
starting NFS SERVER networking

starting up the rpcbind daemon
rpcbind already started, using pid: 11215
exportfs error: nothing to export.
Reading in /etc/exports
starting up the mount daemon
/usr/sbin/rpc.mountd
starting up the NFS daemons
/usr/sbin/nfsd 30
starting up the Status Monitor daemon
rpc.statd already started, using pid: 13512
starting up the Lock Manager daemon
rpc.lockd already started, using pid: 13519
#



Then, i run ps -ef | grep rpc,

# ps -ef | grep rpc
root 11268 1 0 14:43:26 ? 0:00 /usr/sbin/rpc.lockd
root 11215 1 0 14:43:24 ? 0:00 /usr/sbin/rpcbind
root 11262 1 0 14:43:26 ? 0:00 /usr/sbin/rpc.statd
root 12577 1 0 15:27:37 ? 0:00 /usr/sbin/rpc.mountd
root 10391 1 0 14:00:26 ? 0:00 /opt/dce/sbin/rpcd
root 13140 8579 2 15:49:14 pts/tc 0:00 grep rpc
#

But I still get same error message, any idea?
16 REPLIES 16
Horia Chirculescu
Honored Contributor

Re: RPC: Program not registered

Hello Lawrence,

You should check your server side (nfs server).

Maybe the nfsd is not running at all.

Best regards,
Horia.
Best regards from Romania,
Horia.
Vishu
Trusted Contributor

Re: RPC: Program not registered

Hi Lawrance,

from which server you are trying to mount the FS. Are you able to ping that server?

if the FS is properly exported at server side.

What does this show on NFS server

# exportfs
# showmount -a
# showmount -e
Steven Schweda
Honored Contributor

Re: RPC: Program not registered

> However, error message appear:-

Are you getting these messages on server A or
on server B?

> [...] I try to mount [...]

Actual command?

> exportfs error: nothing to export.

Is this not interesting? (If I knew what
you did where, then I might be able to say
more.)
LawrenceLow
Advisor

Re: RPC: Program not registered

Horia Chirculescu,

How to check whether the service is running?
LawrenceLow
Advisor

Re: RPC: Program not registered

Vishu,

I try to mount the FS from server B and I manage to ping the server A (FS)

# ping gismain
PING gismain: 64 byte packets
64 bytes from 199.100.160.8: icmp_seq=0. time=1. ms
64 bytes from 199.100.160.8: icmp_seq=1. time=0. ms
64 bytes from 199.100.160.8: icmp_seq=2. time=0. ms


Output from NFS server:-

# exportfs
nothing exported
# showmount -a
# showmount -e
no exported file systems for bgimain
#
LawrenceLow
Advisor

Re: RPC: Program not registered

Steven,

>Are you getting these messages on server A or on server B?

I get the message on server B.

>Actual command?

I did it in SAM.

>Is this not interesting? (If I knew what
you did where, then I might be able to say
more.)

I am totally give up with it....what info that you need? Please help...


Dave Olker
HPE Pro

Re: RPC: Program not registered

Hi Lawrence,

Let's start from the beginning. Are both your NFS client system and server system running 11.11? If only one system is 11.11, what is the other system running?

Log into the NFS client system and issue the command:

# rpcinfo -p

Then issue the command:

# rpcinfo -p
Where is the hostname of the remote NFS server. Again, do this from the NFS client system.

Then on the NFS client issue the command:

# showmount -e
Where is the hostname of the rmeote NFS server.

Please cut/paste the output from these three commands here as it will at least tell me if the appropriate NFS services are running and if the NFS server is sharing any filesystems. Once we verify this we can move onto the next steps.

Regards,

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
LawrenceLow
Advisor

Re: RPC: Program not registered

Hi Dave,

Both of them are running on 11.11.

Output as below:-

# rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100024 1 tcp 49873 status
100024 1 udp 51633 status
100021 1 tcp 49874 nlockmgr
100021 1 udp 51634 nlockmgr
100021 3 tcp 49875 nlockmgr
100021 3 udp 51635 nlockmgr
100021 4 tcp 49876 nlockmgr
100021 4 udp 51636 nlockmgr
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 2 tcp 49877 nlockmgr
100005 1 udp 51643 mountd
100005 3 udp 51643 mountd
100005 1 tcp 49878 mountd
100005 3 tcp 49878 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
# rpcinfo -p gismain
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100024 1 tcp 49152 status
100024 1 udp 49154 status
100021 1 tcp 49153 nlockmgr
100021 1 udp 49155 nlockmgr
100021 3 tcp 49154 nlockmgr
100021 3 udp 49156 nlockmgr
100021 4 tcp 49155 nlockmgr
100021 4 udp 49157 nlockmgr
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 2 tcp 49156 nlockmgr
805306352 1 tcp 761
390113 1 tcp 7937
# showmount -e gismain
showmount: gismain: RPC: Program not registered
#
Dave Olker
HPE Pro

Re: RPC: Program not registered

Looks like neither rpc.mountd nor nfsd is registered on the NFS server. Can you confirm you have the following entries set in your /etc/rc.config.d/nfsconf file:

NFS_SERVER=1
NUM_NFSD=16
START_MOUNTD=1

Once these values are set, issue the commands on the NFS server:

/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.server start

See if that helps,

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo