I just installed Redhat Enterprise Linux 6.1 on one HP server. Following error met when rup it on other servers:
[sourcecode language="text"]
$rup coolnjmcl033
rup:coolnjmcl033: RPC: Program not registered
[/sourcecode]
SOLUTION:
1) check if all nfs related services are working:
[sourcecode language="text"]
[root@coolnjmcl033init.d]# rpcinfo -p
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
100011 1 udp 875 rquotad
100011 2 udp 875 rquotad
100011 1 tcp 875 rquotad
100011 2 tcp 875 rquotad
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049 nfs_acl
100227 3 tcp 2049 nfs_acl
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100005 1 udp 51310 mountd
100005 1 tcp 60605 mountd
100005 2 udp 42799 mountd
100005 2 tcp 44201 mountd
100005 3 udp 49544 mountd
100005 3 tcp 49098 mountd
100024 1 udp 37035 status
100024 1 tcp 60898 status
100001 3 udp 1008 rstatd
100001 2 udp 1008 rstatd
100001 1 udp 1008 rstatd
[/sourcecode]
If there is no running rstatdservice , start it byservice rstatd start.
Accordingto RHEL 6 RUP manual:
[sourcecode language="text"]
rup: RPC: Program not registered
[/sourcecode]
The rpc.rstatd(8) daemon has not been started on the remote host.
2) check if package rusers-server-*and rusers-* are installed: rpm –qa|greprusers. If not, install it and then restart service rstatd.
PS:
Other userful commands:
[sourcecode language="text"]
rup localhost
service rstatd status
[/sourcecode]