1753830 Members
9839 Online
108806 Solutions
New Discussion юеВ

RPC bind fails

 
Seetha Lakshmi
Frequent Advisor

RPC bind fails

When i try to create a string binding to RPC with the following command

rpc_string_binding_compose(
(unsigned_char_t *)ObjectUUID,
(unsigned_char_t *)"ncacn_ip_tcp",
(unsigned_char_t *)HostName,
NULL,
NULL,
&binding_info,
&status);
the application hangs without any error messages. Any idea what could be the problem.
27 REPLIES 27
Ivajlo Yanakiev
Respected Contributor

Re: RPC bind fails

what is output from
#rpcinfo
Seetha Lakshmi
Frequent Advisor

Re: RPC bind fails

iam sorry iam not able to give the output from rpcinfo. But the function was working when the OS was HP-UX 11.00 but failed when OS was upgraded to HP-UX 11.11.

Any where are we missing anything.
Ivajlo Yanakiev
Respected Contributor

Re: RPC bind fails

are there any error in your system log
or dmesg ?
or application log ?
Seetha Lakshmi
Frequent Advisor

Re: RPC bind fails

when i say dmesg i get the following error message.

"Can't read kernel memory"

Where will the system log and application log be written. I don't see any error messages in our application's logfile.
Ivajlo Yanakiev
Respected Contributor

Re: RPC bind fails

dmesg problem is that you must be root ot read kernel.
log as root and try dmesg again

What is your last patch bundle ?
Seetha Lakshmi
Frequent Advisor

Re: RPC bind fails

I dont have root permission.

What is a patch bundle
Ivajlo Yanakiev
Respected Contributor

Re: RPC bind fails

HP-UX patch bundles is collection of
OS fixes.

go ot that link:
http://www4.itrc.hp.com/service/patch/releaseIndexPage.do?BC=patch.breadcrumb.main|patch.breadcrumb.bundle|
and download lastest bundle for your HPUX OS
and install it.
Ivajlo Yanakiev
Respected Contributor

Re: RPC bind fails

ask your system admin to install patches
you need root for that :)
Ivajlo Yanakiev
Respected Contributor

Re: RPC bind fails

Do you use NFS ?
If NFS work RPC problably work fine