Operating System - HP-UX
1833588 Members
4158 Online
110061 Solutions
New Discussion

RPC: Program not registered

 
SOLVED
Go to solution
Mark Spykerman_2
New Member

RPC: Program not registered

When issuing the command, "/usr/bin/rup hostname" I get the error "RPC: Program not registered".

ps -ef |grep mount shows that /usr/sbin/rpc.mountd is running.

NFS is also running and seems to be working correctly with dozens of clients connected and accessing served data fine.

Any thoughts or ideas on what might be wrong? Thanks.
6 REPLIES 6
Uday_S_Ankolekar
Honored Contributor
Solution

Re: RPC: Program not registered

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

-USA..
Good Luck..
Frederic Sevestre
Honored Contributor

Re: RPC: Program not registered

Hi,

Try
# /sbin/init.d/nfs.server stop
# /sbin/init.d/nfs.core stop
# /sbin/init.d/nfs.core start
# /sbin/init.d/nfs.server start

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
Bruno Vidal
Respected Contributor

Re: RPC: Program not registered

Hi,
rup is based on rpc.statd deamon on the target host, and since 10.20 it is not started anymore by default, if you want it, you must uncomment the line in /etc/inetd.conf for rpc.statd, and then restart inetd by "inetd -c". Now, rup should be working for your target host.
Cheers.
Bruno Vidal
Respected Contributor

Re: RPC: Program not registered

Sorry, a little typo, you should read: rpc.rstatd

Cheers.
Mark Greene_1
Honored Contributor

Re: RPC: Program not registered

Once you stop and start rpc, you can verify all the necesary processes with this:

UNIX95= ps -efH|head -1; UNIX95= ps -efH|egrep "inetd|rpc|mount|nfs"|grep -v grep; rpcinfo -p|egrep "service|nfs"; showmount -e; mount -p


The output should look similar to this:

UID PID PPID C STIME TTY TIME CMD
root 811 0 0 Dec 13 ? 00:00 nfskd
root 907 1 0 Dec 13 ? 00:02 /usr/lib/netsvc/fs/automount/automount -f /etc/auto_master
root 1404 1 0 Dec 13 ? 02:11 /opt/dce/sbin/rpcd
root 806 1 0 Dec 13 ? 00:00 /usr/sbin/rpcbind
root 896 1 0 Dec 13 ? 00:00 /usr/sbin/rpc.lockd
root 890 1 0 Dec 13 ? 00:00 /usr/sbin/rpc.statd
root 1845 1 0 Dec 13 ? 00:00 /usr/sbin/rpc.mountd
root 1856 1 0 Dec 13 ? 00:00 /usr/sbin/nfsd 4
root 1873 1856 0 Dec 13 ? 00:00 /usr/sbin/nfsd 4
root 1857 1856 0 Dec 13 ? 00:00 /usr/sbin/nfsd 4
root 1874 1857 0 Dec 13 ? 00:00 /usr/sbin/nfsd 4
root 27644 20314 0 11:46:35 ttyp3 00:00 more /etc/rc.config.d/nfsconf
root 23330 1 0 Dec 21 ? 00:24 /usr/sbin/inetd
program vers proto port service
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs

plus a listing of whatever you have exported via NFS.

HTH
mark
the future will be a lot like now, only later
Mark Spykerman_2
New Member

Re: RPC: Program not registered

Thanks for your many responses.

The computer I am having problems with is a production box with many NFS connections, I don't think restart nfs was successful because nfs was in use when I tried to stop and restart it. With that in mind, I have tried the following:

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

2. Restart the nfs.core and nfs.server services
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop
/sbin/init.d/nfs.core start
/sbin/init.d/nfs.server start

3. Checked /etc/inetd.conf
rpc.rstatd is uncommented. This box is running 11.00 and haven't had this problem previously.

4. The output for the commands UNIX95= ps -efH|head -1; UNIX95= ps -efH|egrep "inetd|rpc|mount|nfs"|grep -v grep; rpcinfo -p|egrep "service|nfs"; showmount -e; mount -p are attached as log.txt

I am going to run an at job tonight to restart all the nfs services when there aren't any nfs client connected. Hopefully this will fix the problem.

Thanks for all your suggestions, I will let you know if the at job was successful tomorrow.