Operating System - Tru64 Unix
1828296 Members
2703 Online
109975 Solutions
New Discussion

RPC: Program not registered

 
NEERAJ_10
New Member

RPC: Program not registered

*line in tru64 5.1A /etc/exports is -
/oppmsprog -ro -root=linux

*line in tru64 5.1A /etc/hosts is -
10.10.10.1 linux

*line in Linux /etc/hosts is -
10.10.10.2 es40

When I am trying to mount Tr464 exported directory /oppmsprog on linux system, getting following error.

[root@BACKUPS etc]# mount -t nfs
es40:/oppmsprog /mnt/cdrom/
mount: RPC: Program not registered

* nfs and portmap is running on tru64 unix.
root@es40> ps -e|grep -E "nfs|portmap"
440 ?? I 0:00.01 /usr/sbin/portmap
176269 ?? I 0:00.00 /usr/sbin/nfsiod 7


Any help is appreciated.
TIA
5 REPLIES 5
Venkatesh BL
Honored Contributor

Re: RPC: Program not registered

what about 'mountd'?
Ivan Ferreira
Honored Contributor

Re: RPC: Program not registered

Did you ran sysman nfs to setup NFS?

Run:

# rpcinfo -p

To check the programs registered with portmap. You should see nfsd and mound. If you don't you need to restart the nfs services to get registered with pormap (assuming that you ran sysman nfs).
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Aco Blazeski
Regular Advisor

Re: RPC: Program not registered

Hi,

I think I had the same problem and the solution is:

in /sbin/init.d/nfs check the NFSSERVING variable. Set it to 1 (NFSSERVING=1).

Then I think you should do
/sbin/init.d/nfs stop
/sbin/init.d/nfs start.

After this you shoould have:

root# ps -Af | grep nfs
root 524895 524289 0.0 Apr 07 ?? 0:00.01 /usr/sbin/nfsd -t8 -u8
root 524913 524289 0.0 Apr 07 ?? 0:00.01 /usr/sbin/nfsiod 7
root 986745 986030 0.0 09:18:22 pts/2 0:00.00 grep nfs

root# ps -Af | grep portmap
root 524855 524289 0.0 Apr 07 ?? 0:00.04 /usr/sbin/portmap
root 986534 986030 0.0 09:18:57 pts/2 0:00.00 grep portmap

Currently I think you don't have nfsd running
Devesh Pant_1
Esteemed Contributor

Re: RPC: Program not registered

Hi Neeraj,
startup mountd and the problem will go away
thanks
DP
NEERAJ_10
New Member

Re: RPC: Program not registered

As suggested, running below has solve the problem
#rcmgr set NFSSERVING 1
#/sbin/init.d/nfs stop
#/sbin/init.d/nfs start
Thank all the members helped me.