1837409 Members
3611 Online
110116 Solutions
New Discussion

Re: RPC enable

 
SOLVED
Go to solution
mehul_3
Regular Advisor

RPC enable

Hi there,
I am newbie in HP-UX.As per my knowledge, by default RPC is disabled.
Could u please someone send me a procedure to make it enable. Can I do this as my own?
How do we can check whether it is enabled or not?

Thanks & Regards
Mehul
5 REPLIES 5
Girish_17
Regular Advisor

Re: RPC enable

Hello Mehul,
You may use the command rpcinfo to check whether rpc services are running. Most of the rpc services are started at boot time and additional services can be started by uncommenting the particular services through the inted services.

Hope this solves your querry.

Thanks & Regards
Ivajlo Yanakiev
Respected Contributor

Re: RPC enable

Hi ,

If you want ot enable your RPC go to
/etc/rc.config.d
and edit file :Rpcd
look for :START_RPCD=0 and change it to
START_RPCD=1

check RPCD:
#ps -ef |grep rpcd
#rpcinfo

Good luck!
mehul_3
Regular Advisor

Re: RPC enable

I have got the following result of running following command but I could not able to understand whether it is running or not?

ps -ef|grep rpcd
root 1044 1 0 Nov 8 ? 0:30 /opt/dce/sbin/rpcd
root 5241 5219 0 15:07:28 pts/tb 0:00 grep rpcd

and rpcinfo gives following output:
program version netid address service owner
100000 4 ticots srsux001.rpc rpcbind superuser
100000 3 ticots srsux001.rpc rpcbind superuser
100000 4 ticotsord srsux001.rpc rpcbind superuser
100000 3 ticotsord srsux001.rpc rpcbind superuser
100000 4 ticlts srsux001.rpc rpcbind superuser
100000 3 ticlts srsux001.rpc rpcbind superuser
100000 4 tcp 0.0.0.0.0.111 rpcbind superuser
100000 3 tcp 0.0.0.0.0.111 rpcbind superuser
100000 2 tcp 0.0.0.0.0.111 rpcbind superuser
100000 4 udp 0.0.0.0.0.111 rpcbind superuser
100000 3 udp 0.0.0.0.0.111 rpcbind superuser
100000 2 udp 0.0.0.0.0.111 rpcbind superuser
100024 1 tcp 0.0.0.0.192.0 status superuser
100024 1 udp 0.0.0.0.192.1 status superuser
100021 1 tcp 0.0.0.0.192.1 nlockmgr superuser
100021 1 udp 0.0.0.0.192.2 nlockmgr superuser
100021 3 tcp 0.0.0.0.192.2 nlockmgr superuser
100021 3 udp 0.0.0.0.192.7 nlockmgr superuser
100021 4 tcp 0.0.0.0.192.3 nlockmgr superuser
100021 4 udp 0.0.0.0.192.8 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.19 cmsd superuser
100068 3 udp 0.0.0.0.192.19 cmsd superuser
100068 4 udp 0.0.0.0.192.19 cmsd superuser
100068 5 udp 0.0.0.0.192.19 cmsd superuser
100005 1 udp 0.0.0.0.192.154 mountd superuser
100005 3 udp 0.0.0.0.192.154 mountd superuser
100005 1 tcp 0.0.0.0.192.16 mountd superuser
100005 3 tcp 0.0.0.0.192.16 mountd superuser
100003 2 udp 0.0.0.0.8.1 nfs superuser
100003 3 udp 0.0.0.0.8.1 nfs superuser
100003 2 tcp 0.0.0.0.8.1 nfs superuser
100003 3 tcp 0.0.0.0.8.1 nfs superuser
1342177279 4 tcp 0.0.0.0.253.90 - superuser
1342177279 1 tcp 0.0.0.0.253.90 - superuser
1342177279 3 tcp 0.0.0.0.253.90 - superuser
1342177279 2 tcp 0.0.0.0.253.90 - superuser
100083 1 tcp 0.0.0.0.0.0 ttdbserver superuser

Once again what does this indicates whether it is running or not?

Mehul
Ivajlo Yanakiev
Respected Contributor
Solution

Re: RPC enable

it work
Matti_Kurkela
Honored Contributor

Re: RPC enable


There are at least two kinds of RPC (Remote Procedure Call) protocols on HP-UX.

One is "SunRPC", which is used by NFS and other "unix-like" services.
To use SunRPC, you must have at least /usr/sbin/rpcbind running (it might be named "portmap" in some other unixes). "rpcinfo -p" reports the services available on SunRPC system.

The other RPC system is DCE RPC, which is used by HP OpenView products. To use DCE RPC, /opt/dce/sbin/rpcd must be running. To ensure that rpcd is working, you could use a command "rpccp show mapping".
MK