Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

rpc errors

SOLVED
Go to solution
Francois Bariselle_3
Regular Advisor

rpc errors

I have a general utility program for manipulation of TRIBON objects located on
data banks (Informix data banks). The program performs activities like listing, copying etc. of objects in and between data banks.
The program return this error:

Could Not connect to TRIBON DB SuperServer on Host
Host unknown
xd210_rpc : could not create client handle
: RPC_UNKNOWNHOST
Could Not connect to TRIBON DB SuperServer on Host
Host unknown
xd213_rpc : could not create client handle
: RPC_UNKNOWNHOST

My Database Server run on my node equipped with physical disk devices where the database files are stored. I say that is not possible for the Database Server to access database files located at other nodes through NFS.

Help me please !!!
Fais la ...
14 REPLIES
Helen French
Honored Contributor

Re: rpc errors

hey,

Check whether the rpc daemon is running or not?

Check the output of 'rpcinfo -p' and see whether the application is assigned with any port ?

HTH,
Shiju
Life is a promise, fulfill it!
Justo Exposito
Esteemed Contributor

Re: rpc errors

hi,

try this:
ps -ef | grep rpc
and you must obtain:
HP2 #> ps -ef |grep rpc
root 1191 1 0 Dec 6 ? 0:00 /usr/sbin/rpc.lockd
root 608 1 0 Dec 6 ? 0:00 /usr/sbin/rpcbind
root 975 1 0 Dec 6 ? 0:07 /opt/dce/sbin/rpcd
root 1167 1 0 Dec 6 ? 0:00 /usr/sbin/rpc.mountd
root 1184 1 0 Dec 6 ? 0:00 /usr/sbin/rpc.statd
root 21865 21706 0 18:03:32 pts/tc 0:00 grep rpc

Regards,

Justo.
Help is a Beatiful word
Francois Bariselle_3
Regular Advisor

Re: rpc errors

the daemons rpc.statd and rpc.lockd are running on my node.
This is the output of rpcinfo -p

program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100029 1 udp 919 keyserv
100007 2 tcp 1029 ypbind
100007 2 udp 1029 ypbind
100007 1 tcp 1029 ypbind
100007 1 udp 1029 ypbind
100024 1 udp 985 status
100024 1 tcp 987 status
100021 1 tcp 991 nlockmgr
100021 1 udp 1041 nlockmgr
100021 3 tcp 995 nlockmgr
100021 3 udp 1042 nlockmgr
100021 4 tcp 999 nlockmgr
100021 4 udp 1043 nlockmgr
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 2 tcp 1006 nlockmgr
100068 2 udp 1059 cmsd
100068 3 udp 1059 cmsd
100068 4 udp 1059 cmsd
100068 5 udp 1059 cmsd
100012 1 udp 1060 sprayd
100011 1 udp 1061 rquotad
100008 1 udp 1062 walld
100002 1 udp 1063 rusersd
100002 2 udp 1063 rusersd
100001 2 udp 1064 rstatd
100001 3 udp 1064 rstatd
100001 4 udp 1064 rstatd
100017 1 tcp 1051 rexd
100005 1 udp 607 mountd
100005 1 tcp 609 mountd
100003 2 udp 2049 nfs
1342177281 4 tcp 1840
1342177281 1 tcp 1840
1342177280 4 tcp 4619
1342177280 1 tcp 4619
300315 16 tcp 4663
300315 15 udp 3697
300315 15 tcp 4723
30031538836 tcp 1564
30031539426 tcp 4164
30031539446 tcp 4262
300315 515 tcp 4728
1342177279 4 tcp 1410
1342177279 1 tcp 1410
30031539796 tcp 1613
Fais la ...
Francois Bariselle_3
Regular Advisor

Re: rpc errors

This is the result of the command : ps -ef | grep rpc

root 1041 1 0 Nov 7 ? 0:45 /opt/dce/sbin/rpcd
root 808 1 0 Nov 7 ? 3:54 /usr/sbin/rpc.statd
root 814 1 0 Nov 7 ? 0:19 /usr/sbin/rpc.lockd
root 1439 844 0 Nov 7 ? 0:02 /usr/dt/bin/rpc.ttdbserver
root 1278 1 0 Nov 7 ? 0:00 /usr/sbin/rpc.mountd

The process
Fais la ...
Justo Exposito
Esteemed Contributor

Re: rpc errors

hi,

Perhaps this help you:
man rpcd
man rpc.statd
man rpc.lockd

Regards,
Justo.
Help is a Beatiful word
Helen French
Honored Contributor

Re: rpc errors

hey,

does your application assigned with a port number?like 'ypbind' is running on the port no-100007.

If not, then you can restart the rpc services of your application.

Shiju
Life is a promise, fulfill it!
Francois Bariselle_3
Regular Advisor

Re: rpc errors

How I can know if my application is assigned with a port number?

This is my file /etc/rpc:

##
# @(#)rpc: $Revision: 1.17.114.1 $ $Date: 95/10/02 18:15:41 $
# file of rpc program name to number mappings
##
portmapper 100000 portmap sunrpc
rstatd 100001 rstat rup perfmeter
rusersd 100002 rusers
nfs 100003 nfsprog
ypserv 100004 ypprog
mountd 100005 mount showmount
ypbind 100007
walld 100008 rwall shutdown
yppasswdd 100009 yppasswd
etherstatd 100010 etherstat
rquotad 100011 rquotaprog quota rquota
sprayd 100012 spray
selection_svc 100015 selnsvc
#
pcnfsd 150001 pcnfs
#
# NEW SERVICES ADDED AT 6.5
#
rexd 100017 rex
llockmgr 100020
nlockmgr 100021
status 100024
#
# SUN SUPPORTS THE FOLLOWING THAT HP DOES NOT @ release 6.5
#
3270_mapper 100013
rje_mapper 100014
database_svc 100016
alis 100018
sched 100019
x25.inr 100022
statmon 100023
bootparam 100026
ypupdated 100028 ypupdate
keyserv 100029 keyserver
tfsd 100037
nsed 100038
nsemntd 100039
ypxfrd 100069
ttdbserver 100083
cmsd 100068 dtcalendar
#
# New service added in Networking ACE for HP-UX 10.20 (April 1998) patch
#
automountd 100099 autofs automountd
Fais la ...
Helen French
Honored Contributor

Re: rpc errors

hey,

In the output of 'rpcinfo -p' you have to look for your application's daemon. For eg: from the output, I can understand that the NIS daemon 'ypbind' is working in your system and looking rpc requests.

Try this: if your application daemon name is "appld" then,
rpcinfo -p | grep appld

If it not find running, try restarting the service/application.

Shiju
Life is a promise, fulfill it!
Francois Bariselle_3
Regular Advisor

Re: rpc errors

My database server is on port 4663, program 300315 and version 16.
Look the result of :

rpcinfo: RPC_TIMED_OUT
program 300315 version 16 is not available

Sirius is my node name
Fais la ...
Helen French
Honored Contributor

Re: rpc errors

hey,

did you tried restarting the application?

Shiju
Life is a promise, fulfill it!
Francois Bariselle_3
Regular Advisor

Re: rpc errors

yes I tried restarting my application.

All the time, when I use rpc info -n -u with a program that use tcp protocol i have this message:

rpcinfo: RPC_TIMED_OUT

Is it normal ?
Fais la ...
Helen French
Honored Contributor

Re: rpc errors

No. It is not normal. Look this and see whether it helps u:

http://us-support.external.hp.com/cki/bin/doc.pl/sid=d45ea1dc01119b2352/screen=ckiDisplayDocument?docId=200000006453578

Shiju
Life is a promise, fulfill it!
Francois Bariselle_3
Regular Advisor

Re: rpc errors

The portmap program is already running on my HP system before running my application!
It's not the good solution...

I tryed and it's good.
-t for tcp protocol and -u for udp protocol.

So, the result of on my server seems correct!

The process rpcbind do not work on my server. Is it normal ?
Fais la ...
Helen French
Honored Contributor