OpenSolaris Solaris Forum  
     

Left Nav FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container
 

Go Back   OpenSolaris Solaris Forum Solaris General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-09-2011, 12:47 PM
Junior Member
 
Join Date: May 2011
Posts: 1
Default Solaris: clnt_create fails on solaris x86

Hi,
I am facing an issue with Solaris x86 machine

Machine Details:

uname -a
SunOS sol10-64 5.10 Generic_137138-09 i86pc i386 i86pc
..............................

Description:

I am trying to register a programm with proramm ID 300760 with version number 1, and tryint to create a handle, the moment I do clnt_create the the registered program id 300760 will exit and its entry wont be there when we see it using rpcinfo, but If I try it plenty of times each time svc_register find different address and for a particular address only clnt_creates get success. In case of solaris spark machine in the first call it self it get succeed.

Because of this my application some times getting failed in solaris X86 and some times taking lot of time to work as it is searching for valid address (I dont know what is this address) every time.

Please assist me what is wrong with solaris X86, as it is only behaving wrongly in this scenario.

In the out put files you can see rpcinfo output

bash-3.00# rpcinfo
program version netid address service owner
300760 1 tcp 0.0.0.0.151.148 - superuser
Errr: RPC: Program not registered
300760 1 tcp 0.0.0.0.152.148 - superuser
Errr: RPC: Program not registered
300760 1 tcp 0.0.0.0.153.148 - superuser
Errr: RPC: Program not registered
300760 1 tcp 0.0.0.0.154.148 - superuser
Errr: RPC: Program not registered
300760 1 tcp 0.0.0.0.155.148 - superuser

So here the address values are changing every time I call svc_register 0.0.0.0.151.148, 0.0.0.0.152.148,....... 0.0.0.0.155.148 ........ and finally it fails some times with pipe errr, and some times it succeeds.



Please Let me know if you need any information.


Thanks
Divakar
Attached Files
File Type: txt rpc_regis_Source_Cfile.txt (2.8 KB, 0 views)
File Type: txt output_firsttime running.txt (4.4 KB, 0 views)
File Type: txt output_secondtimerung.txt (504 Bytes, 0 views)
Reply With Quote
Sponsored Links

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:45 AM.


Powered by vBulletin. Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.