Operating System - HP-UX
1827279 Members
2626 Online
109717 Solutions
New Discussion

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

 
SOLVED
Go to solution
Muda Ikhsan_1
Frequent Advisor

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

Hello i try to do mounts to sapdev server.. but it giving me this error :

nfs mount: retry: giving up on: /usr/sap/trans/data
nfs mount: get_fh: sapdev:: RPC: Program not registered
nfs mount: get_fh: sapdev:: RPC: Program not registered
nfs mount: retry: retrying(1) for: /usr/sap/trans/cofiles after 5 seconds
nfs mount: retry: giving up on: /usr/sap/trans/cofiles

I check the nfs.server are running in sapdev..

in the mount list they are several mounts that successfully mounted.. only these mount poin that could not get mounted
27 REPLIES 27
Mark Grant
Honored Contributor

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

Personally, I'd restart the NFS daemons and rpc too.

"cd /sbin/init.d"
"./nfs.client stop"
"./nfs.server stop"
"./nfs.core stop"
"./Rpcd stop"


Then do these commands again, in reverse order, changing "stop" to "start"
Never preceed any demonstration with anything more predictive than "watch this"
Sanjay Kumar Suri
Honored Contributor

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

Invoke rpcinfo to determine if portmap is running.

#rpcinfo -p hostname

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Muda Ikhsan_1
Frequent Advisor

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

Hai... i'm also try to restart the services still not successfull.
Othe server in my farm can mount to sapdev.. only this server can't.
the rcpinfo showing me the portmapper
Sanjay Kumar Suri
Honored Contributor

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

in the rpcinfo

Is mountd registered?
Is nfs registered?

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
T G Manikandan
Honored Contributor

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

Can you do a

#exportfs -a
on the nfs server and then do a

#exportfs

Muda Ikhsan_1
Frequent Advisor

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

Yes the mountd is registered and nfs also registered..
Only the mount into sapdev that can't be mounted.
on the same server i successfully mount to a linux machine. with no problem.
only to sapdev then i hit the problem.
On the sapdev side.. all other server do not have difficulty to mount sapdev mount point.
Sanjay Kumar Suri
Honored Contributor

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

1. Check /etc/exports file for completeness/errors.

2. Check if /etc/exports contains an alias instead of offical host name.

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Muda Ikhsan_1
Frequent Advisor

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

no errors..
this things happened when i restart the server
Sanjay Kumar Suri
Honored Contributor

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

Monitor NFS activity with

#nfsstat -s

Is the NFS server heavily loaded?

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Muda Ikhsan_1
Frequent Advisor

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

it's all 0
Sanjay Kumar Suri
Honored Contributor

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

Dear

What was the issue? How it got resolved?

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Sanjay Kumar Suri
Honored Contributor

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

Sorry, I read 0 as OK!!! (:-)
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Muda Ikhsan_1
Frequent Advisor

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

no.. the result og #nfsstat -s
is all 0 load
Sanjay Kumar Suri
Honored Contributor

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

Check again:

1. Check NFS subsystem is in the kernel.
2. Check the Client's configuration file.
3. Start NFS manually.
4. Check the entry in /etc/fstab.
5. Mount the FS.

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Mark Grant
Honored Contributor

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

If you are starting the nfs system and the rpcd using the /sbin/init.d scripts then also make sure that /etc/rc.config.d/nfsconf has the NFS_CLIENT is set to 1 and that /etc/rc.config.d/Rpcd has the variable START_RPCD=1
Never preceed any demonstration with anything more predictive than "watch this"
Muda Ikhsan_1
Frequent Advisor

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

My nfsconf
# HP recommends that 12 to 16 biods be run. Refer to NFS server
# Client/Server Configuration Topology and Performance
# Tuning Guide.
# PCNFS_SERVER: 1 if this node is a server for PC-NFS requests. This
# variable controls the startup of the pcnfsd(1M) server.
# See Also: pcnfsd(1M).
#
NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=8
NUM_NFSIOD=r8
PCNFS_SERVER=0
# export feature does not work in this file since files are being
# sourced into another file rc.config and this file is being sourced
# into the startup scripts.# superseded by the DCE RPC daemon (rpcd). rpcd provides all of the
# LLB services that formerly were provided by llbd, and in addition,
# rpcd provides DCE Endpoint Map services. If either the rpcd rc file
# enables rpcd service or the DCE rc file enables rpcd service, rpcd
# will be started up.
#
# If START_RPCD is 1, the DCE RPC daemon (/opt/dce/sbin/rpcd) will
# be started on this host. Because the Rpcd rc file also examines this
# variable, its name should not be changed.
#
# If you plan to run any other NCS/DCE-RPC based applications on this host,
# you must start rpcd first. rpcd must fork and the parent must exit before
# other NCS applications are started. Do not use "/opt/dce/sbin/rpcd &".
#
START_RPCD=1

root @ SAPQA K370/4 [/etc/rc.config.d]

My mount scripts
# more mounts
mount -F nfs -o vers=2 ultrapenguin:/home/ftp /home/dbdirect/data
mount -F nfs -o vers=2 ultrapenguin:/home/p01adm/temp/abap /temp/abap
mount -F nfs -o vers=2 sapdev:/temp/ixos_exchange/P01 /temp/ixos_exchange/P01
mount sapdev:/usr/sap/trans/data /usr/sap/trans/data
mount sapdev:/usr/sap/trans/cofiles /usr/sap/trans/cofiles

the first and the secod line successfully mounted.. the rest i can't mount it
Muda Ikhsan_1
Frequent Advisor

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

this the rpcinfo
root @ SAPQA K370/4 [/etc]
# rpcinfo -p sapdev
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100068 2 udp 49153 cmsd
100068 3 udp 49153 cmsd
100068 4 udp 49153 cmsd
100068 5 udp 49153 cmsd
100083 1 tcp 49152 ttdbserver

root @ SAPQA K370/4 [/etc]
Sanjay Kumar Suri
Honored Contributor

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

What is the line

NUM_NFSIOD=r8

in your previous post?

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Muda Ikhsan_1
Frequent Advisor

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

hi.. it's 8 not r8.. i guess i accidentally press r
Muda Ikhsan_1
Frequent Advisor

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

is the anything wrong with this rcpinfo ?

root @ SAPQA K370/4 [/home/william]
# rpcinfo sapdev
program version netid address service owner
100000 4 ticots pri.rpc portmapper superuser
100000 3 ticots pri.rpc portmapper superuser
100000 4 ticotsord pri.rpc portmapper superuser
100000 3 ticotsord pri.rpc portmapper superuser
100000 4 ticlts pri.rpc portmapper superuser
100000 3 ticlts pri.rpc portmapper superuser
100000 4 tcp 0.0.0.0.0.111 portmapper superuser
100000 3 tcp 0.0.0.0.0.111 portmapper superuser
100000 2 tcp 0.0.0.0.0.111 portmapper superuser
100000 4 udp 0.0.0.0.0.111 portmapper superuser
100000 3 udp 0.0.0.0.0.111 portmapper superuser
100000 2 udp 0.0.0.0.0.111 portmapper superuser
100068 2 udp 0.0.0.0.192.1 cmsd superuser
100068 3 udp 0.0.0.0.192.1 cmsd superuser
100068 4 udp 0.0.0.0.192.1 cmsd superuser
100068 5 udp 0.0.0.0.192.1 cmsd superuser
100083 1 tcp 0.0.0.0.192.0 ttdbserver superuser

root @ SAPQA K370/4 [/home/william]
# rpcinfo
program version netid address service owner
100000 4 ticots sapqa.rpc portmapper superuser
100000 3 ticots sapqa.rpc portmapper superuser
100000 4 ticotsord sapqa.rpc portmapper superuser
100000 3 ticotsord sapqa.rpc portmapper superuser
100000 4 ticlts sapqa.rpc portmapper superuser
100000 3 ticlts sapqa.rpc portmapper superuser
100000 4 tcp 0.0.0.0.0.111 portmapper superuser
100000 3 tcp 0.0.0.0.0.111 portmapper superuser
100000 2 tcp 0.0.0.0.0.111 portmapper superuser
100000 4 udp 0.0.0.0.0.111 portmapper superuser
100000 3 udp 0.0.0.0.0.111 portmapper superuser
100000 2 udp 0.0.0.0.0.111 portmapper superuser
100024 1 tcp 0.0.0.0.192.0 status superuser
100024 1 udp 0.0.0.0.192.6 status superuser
100021 1 tcp 0.0.0.0.192.1 nlockmgr superuser
100021 1 udp 0.0.0.0.192.7 nlockmgr superuser
100021 3 tcp 0.0.0.0.192.2 nlockmgr superuser
100021 3 udp 0.0.0.0.192.8 nlockmgr superuser
100021 4 tcp 0.0.0.0.192.3 nlockmgr superuser
100021 4 udp 0.0.0.0.192.9 nlockmgr superuser
100020 1 udp 0.0.0.0.15.205 llockmgr superuser
100020 1 tcp 0.0.0.0.15.205 llockmgr superuser
100021 2 tcp 0.0.0.0.192.4 nlockmgr superuser
100068 2 udp 0.0.0.0.192.14 cmsd superuser
100068 3 udp 0.0.0.0.192.14 cmsd superuser
100068 4 udp 0.0.0.0.192.14 cmsd superuser
100068 5 udp 0.0.0.0.192.14 cmsd superuser
100083 1 tcp 0.0.0.0.192.5 ttdbserver superuser
100005 1 udp 0.0.0.0.192.42 mountd superuser
100005 3 udp 0.0.0.0.192.42 mountd superuser
100005 1 tcp 0.0.0.0.192.21 mountd superuser
100005 3 tcp 0.0.0.0.192.21 mountd superuser
100003 2 udp 0.0.0.0.8.1 nfs superuser
100003 3 udp 0.0.0.0.8.1 nfs superuser
Sanjay Kumar Suri
Honored Contributor
Solution

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

mountd and nfs not registered in the first rpcinfo.


sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Muda Ikhsan_1
Frequent Advisor

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

yap i suspect so...
how to register it ? i re-started all the daemon and rpc, still teh same error
Sanjay Kumar Suri
Honored Contributor

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

Dear

Suggest, have a look at the following link:

http://docs.hp.com/hpux/onlinedocs/B1031-90048/B1031-90048.html

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Leigh Reamy
Advisor

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

Did you double check your /etc/exports file to make sure the troubled system is in there?
If others can mount, but one can't...Just a thought.

leigh
Well. Now THAT'S interesting!