Operating System - HP-UX
1827293 Members
3614 Online
109717 Solutions
New Discussion

nfs mount: get_fh: sapdev:: RPC: Program not registered

 
SOLVED
Go to solution
Todd Whitcher
Esteemed Contributor

Re: nfs mount: get_fh: sapdev:: RPC: Program not registered

What Operating system is this?

Your output of rpcinfo should look like this:
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 49152 status
100024 1 udp 49159 status
100021 1 tcp 49153 nlockmgr
100021 1 udp 49160 nlockmgr
100021 3 tcp 49154 nlockmgr
100021 3 udp 49161 nlockmgr
100021 4 tcp 49155 nlockmgr
100021 4 udp 49162 nlockmgr
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 2 tcp 49156 nlockmgr
100068 2 udp 49165 cmsd
100068 3 udp 49165 cmsd
100068 4 udp 49165 cmsd
100068 5 udp 49165 cmsd
100083 1 tcp 49157 ttdbserver
100005 1 udp 49178 mountd
100005 3 udp 49178 mountd
100005 1 tcp 49175 mountd
100005 3 tcp 49175 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs

If you dont see nfs, mountd, nlockmgr,llockmgr and status then the program is not starting.

In your /etc/rc.config.d/nfsconf file you should have these variables set.

NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=16
NUM_NFSIOD=16

START_MOUNTD=1

If you have these set you can issue:

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

If this fails to start the programs what are the errors ? What do you see in /var/adm/syslog/syslog.log ?

Is this server a NIS or NIS+ Client ? If so you should verify you can read the necessary maps.

You can also test setting the /etc/nsswitch.conf file up similar to this:

see man nsswitch.conf for details.

passwd: files
group: files
hosts: files [NOTFOUND=continue] dns
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files

NFS needs to read the protocols,networks and services at a minimum. It also needs automount maps if your using that.

You can test with a switch file like the above and see if the programs start.

If this is not working, you should review your NFS patches on the itrc. If this doesnt work post the error messages.

Hope this helps.
Muda Ikhsan_1
Frequent Advisor

Re: nfs mount: get_fh: sapdev:: RPC: Program not registered

it's a HP-UX 11.0 system
Muda Ikhsan_1
Frequent Advisor

Re: nfs mount: get_fh: sapdev:: RPC: Program not registered

Hi.. thanks all.. its' working now..
i already try restart everything... and i notice everytime i restarted all the services.. the RPCBIND always give status already restarted with process ID 637.. so i kill the process id and restart the services again.. and now all working fine..
Thank you all