Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: noyd@u.washington.edu (Steven Noyd Jones)
Subject: RE: DCE rpc error athwart (summary)
Date: 18 Mar 1994 00:15:23 GMT	[thread overview]
Message-ID: <2marqr$55d@news.u.washington.edu> (raw)
In-Reply-To: 2m7sgp$23u@news.u.washington.edu

Many thanks for all the excellent assistance in resolving my 
DCE rpc problem. I've received responses which I will summarize from:

  gjb@fig.citib.com (Greg Brail)
  Phil_Hirsch@transarc.com
  "Helmut Duschinger (CIP 90)" <htduschi@cip.informatik.uni-erlangen.de>
  Johannes Kroupa <kroupa@argos.kapsch.co.at>
  Kevin Coffman <kwc@citi.umich.edu>

Concerning what does "Exception: status 0x16c9a042 (dce / rpc)" mean:

(1) The error code 0x16c9a042 is to be found in it's decimal equivalent
    in the /usr/include/dce/rpcsts.h file and translates to:
      rpc_s_connect_rejected.  

DEC if you are listening, the online manuals explanation for that 
error code could be more enlightening and the IDL manual merely says an
error will result at runtime if the endpoint family declaration isn't valid.


(2) Set the NLSPATH environment variable to /usr/lib/nls/msg/en_US.88591/%N
    in order to have the error code messages translated to the 
    English text messages.  

This is documented in the online manual for dce_error_inq_text().
I've tried setting the NLSPATH environment variable and had no luck
in getting the dce_error_inq_text() function to spit out the
proper text.  The file /usr/lib/nls/msg/en_US.88591/dcerpc.cat 
contains the error message text, so that is still a puzzle.


(3) The endpoint family "ncacn_ip_udp" is invalid. Valid families
    are "ncacn_ip_tcp" and "ncadp_ip_udp".  This is 
    documented in 17.7.3 of the DCE application development Guide.

Using the correct endpoint family "ncadg_ip_udp" fixed the 
programs and the rpc client and server are now working.

-- 
--
  Steven Jones
  Computing & Communications JE-30,  University of Washington
  E-mail:  noyd@cac.washington.edu    Phone:  (206) 543-5852


  parent reply	other threads:[~1994-03-18  0:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-03-16 21:08 DCE rpc error athwart Steven Noyd Jones
1994-03-17 18:07 ` Greg Brail
1994-03-17 20:44 ` Henry Lee
1994-03-18  0:15 ` Steven Noyd Jones [this message]
1994-03-22 18:33   ` DCE rpc error athwart (summary) Steven Noyd Jones
1994-03-25 14:23     ` Dave Skeen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox