home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / osdceqa.txt < prev    next >
Text File  |  1996-11-18  |  9KB  |  265 lines

  1. OSDCEQA - FREQUENTLY ASKED QUESTIONS FOR OS/2 DISTRIBUTED COMPUTING
  2.           ENVIRONMENT (DCE) 1.00.2
  3. 01/19/96
  4.  
  5. =======================================================================
  6.        Frequently Asked Questions for OS/2 Distributed Computing
  7.                       Environment (DCE) 1.00.2
  8. =======================================================================
  9.  
  10. Please Read Entire Document for Full Explanation of Procedures
  11. --------------------------------------------------------------
  12.  
  13. DESCRIPTION
  14.  
  15. This document contains the questions most frequently asked of IBM 
  16. Technical Support regarding the IBM OS/2 Distributed Computing 
  17. Environment (DCE) 1.00.2 product.
  18.  
  19. If you require assistance after reviewing the information in this 
  20. document, please call 1-800-992-4777 for information about obtaining 
  21. technical support from IBM.
  22.  
  23. RESOLUTION
  24.  
  25. Question 1
  26. ----------
  27. I am having problems compiling the "Greet" sample shown in the IBM DCE 
  28. for OS/2: Application Developer's Guide. What should I do?
  29.  
  30. Answer
  31. ------
  32.   The Guide has some errors regarding the Greet sample application.
  33.   See the following for corrections.
  34.                                    
  35.   Corrections for the Greet Sample
  36.   --------------------------------
  37.   Page 2-6:
  38.                                        
  39.   Make the following corrections for the Greet sample "makefile" file:
  40.                                                                     
  41.   * The CFLAGS line of code should show the following flags:
  42.  
  43.      /C+ /Q+ /Sem /J+ /Gm+ /W3 /O- /Ss+ /Ms /Su4
  44.                             
  45.   * The DCEFLAGS line of code should show the following symbols:
  46.       
  47.      -DINTEL80x86 -DIBMOS2 -D__STDC__ -DIDL_PROTOTYPES
  48.                                                                        
  49.     All other flags and symbols are invalid in this makefile.
  50.                                                                        
  51.   * In the SERVER.EXE and CLIENT.EXE lines of code, make sure you are
  52.     linking to the DCEOS2 library.
  53.  
  54.   * In the IDLFLAGS line, use the -fat flag if you are using a FAT 
  55.     drive.
  56.  
  57.   Page 2-10:
  58.                                                     
  59.   Add the following to the MANAGER.C file:
  60.  
  61.      include <string.h>
  62.  
  63.   Page 2-11:
  64.                                               
  65.   In the GREET.C file, find the line of code that assigns validfamily,
  66.   and make sure the protocol sequence reads NCADG_IP_UDP instead of
  67.   CADG_IP_UPD.
  68.  
  69. Question 2
  70. ----------
  71. I receive the EPFIE187 product-specific error message when using the 
  72. MKDCEPM command to configure to the DCE cell. How can I fix this?
  73.  
  74. Answer
  75. ------
  76.   Either MPTN device drivers are not specified correctly in the
  77.   CONFIG.SYS file, or Multi-Protocol Transport Services (MPTS) did not
  78.   get started with the correct options.
  79.                                                                        
  80.   MPTS Not Starting Correctly
  81.   ---------------------------
  82.   * The CONFIG.SYS file should include these device-driver
  83.     statements:
  84.  
  85.        DEVICE=\MPTN\PROTOCOL\MPTN.SYS
  86.        DEVICE=\MPTN\PROTOCOL\LIPC.SYS
  87.        DEVICE=\MPTN\PROTOCOL\INET.SYS
  88.        DEVICE=\MPTN\PROTOCOL\IFNDIS.SYS
  89.  
  90.   * The MPTSTART.CMD file should include these lines:
  91.  
  92.        START D:\MPTN\BIN\CNTRL.EXE /P MPTN_OS$ MPTN_IN$
  93.        INETWAIT
  94.        CALL D:\TCPIP\BIN\SETUP.CMD
  95.        CALL D:\TCPIP\BIN\TCPSTART.CMD
  96.  
  97.   Recycle MPTS after making changes to the MPTSTART.CMD file. If you
  98.   change the CONFIG.SYS file, you need to restart your system.
  99.  
  100. Question 3
  101. ----------
  102. When I am using the MKDCEPM command to configure to the DCE cell, my 
  103. OS/2 DCE client receives the following message:
  104.  
  105.    Cannot authenticate.
  106.  
  107. What should I do?
  108.  
  109. Answer
  110. ------
  111.   Check the last message of the MKDCE.LOG file in the root directory of
  112.   the drive where DCE is installed:
  113.                                                                        
  114.   * If the message is "Password validation failure--Invalid password
  115.     (dce / sec)," the password is incorrect. Passwords are
  116.     case-sensitive.
  117.                                                                        
  118.   * If the message is "Password validation failure--Clock skew too
  119.     great (dce / krb)," the client's time is not within a 5-minute
  120.     window with the security server. You also should check the
  121.     time-zone environment variable on the client and server to make
  122.     sure they are synchronized.
  123.                                                                        
  124.   * If the message is "User identification failure--Registry object not
  125.     found (dce / sec),", the specified cell name is wrong. Cell names
  126.     are NOT case-sensitive; however the cell name must be exact (for
  127.     example, dot-qualified).
  128.  
  129. Question 4
  130. ----------
  131. When using the MKDCEPM command to configure to the D-C-E cell, my OS/2 
  132. DCE client receives the error message, "Unable to determine local 
  133. hostname and I-P address," or the window that states "Initializing. 
  134. Please Wait" locks up. How can I fix this error?
  135.  
  136. Answer
  137. ------
  138.   * Make sure MPTS is started by verifying that CNTRL.EXE is running.
  139.  
  140.   * Make sure the system has a HOSTS or a RESOLV file in the
  141.     subdirectory assigned to the ETC environment variable. Type SET ETC
  142.     to check the assignment of this variable.
  143.  
  144.     The system looks for the RESOLV file first. It contains the
  145.     nameserver's domain name and IP address. If the RESOLV file does
  146.     not exist, the system looks for the HOSTS file. This file contains
  147.     the IP addresses and host names of all the systems the local system
  148.     intends to communicate with when not using the nameserver.
  149.  
  150.     Make sure there is a Carriage Return after each entry; otherwise,
  151.     the system cannot interpret the data correctly.
  152.  
  153.     If the RESOLV file exists and you are experiencing a system
  154.     lockup condition, the nameserver could be down.
  155.  
  156.     If neither of these files exists, you need to create one of them.
  157.  
  158.   * If you have more than one network adapter in your local system,
  159.     make sure you disable one of them to avoid this error message.
  160.  
  161. Question 5
  162. ----------
  163. When configuring my DCE Windows client to the DCE cell, the following 
  164. message is received:
  165.  
  166.    Unable to create binding handle.
  167.  
  168. What causes this?
  169.  
  170. Answer
  171. ------
  172.   The RPC daemon did not start up successfully. Select the RPCD icon in
  173.   the IBM DCE Client for Windows Program group.
  174.  
  175. Question 6
  176. ----------
  177. When trying to start the RPCD daemon, my DCE Windows client receives 
  178. the following error message:
  179.  
  180.    Can't set EPT object type: (90X16C9A03A) invalid object
  181.    (DCE/RPC).
  182.  
  183. What should I do?
  184.  
  185. Answer
  186. ------
  187.   Make sure your system's hardware address is specified when
  188.   configuring your Windows client to the DCE cell. Select PCDCECFG and
  189.   then Advanced to make sure the Hardware Address field is filled in.
  190.  
  191. Question 7
  192. ----------
  193. When compiling a DCE application, I receive the error message:
  194.  
  195.    Object Reference Already in Use.
  196.  
  197. How do I solve this?
  198.  
  199. Answer
  200. ------
  201.   Make sure that you are using the following DCE compiler flags:
  202.  
  203.      -DINTEL80x86 -DIBMOS2 -D__STDC__ -DIDL_PROTOTYPES
  204.  
  205.   Also make sure you are using the following C flags:
  206.  
  207.      /C+ /Q+ /Sem /J+ /Gm+ /W3 /O- /Ss+ /Ms /Su4
  208.  
  209. Question 8
  210. ----------
  211. When attempting to start a client application, my OS/2 DCE client 
  212. receives the error message:
  213.  
  214.    An exception raised address of exception object
  215.    $08X(DCE/THD).
  216.  
  217. How do I fix this error?
  218.  
  219. Answer
  220. ------
  221.   1. Make sure that you set your rpc_default_entry environment variable
  222.      if you are using automatic bindings.
  223.  
  224.   2. Make sure you have the latest version of OS/2 DCE 1.00.2. You can
  225.      determine this by typing SYSLEVEL and pressing Enter at a command
  226.      prompt.
  227.  
  228.   3. Make sure you have OS/2 2.11. If you are using OS/2 2.1, you need
  229.     to order the PJ09481 fix for a DOS thread problem.
  230.  
  231.   4. If your client is using string bindings to connect to the server,
  232.      make sure you are using the correct port number of the appropriate
  233.      server. For example, the client issues client
  234.      ncadg_ip_upd:129.35.44.62{4065} to use string bindings instead of
  235.      using the CDs to find out where the server has registered its
  236.      endpoint map.
  237.  
  238. Question 9
  239. ----------
  240. When attempting to start up the server code while using automatic 
  241. bindings, I receive the following error message:
  242.  
  243.    Entry not found (DCE/RPC) 
  244.  
  245. How can I fix this?                                      
  246.  
  247. Answer
  248. ------
  249.   You have not set your rpc_default_entry environment variable. For
  250.   example, if your entry point is assigned /.:/sample, issue:
  251.  
  252.      set RPC_default_ entry=/.:/ sample
  253.  
  254.   Note that the entry point is case-sensitive.
  255.  
  256. ______________________________________________________________________
  257. IBM disclaims all warranties, whether express or implied, including 
  258. without limitation, warranties of fitness and merchantability with 
  259. respect to the information in this document. By furnishing this 
  260. document, IBM grants no licenses to any related patents or copyrights.  
  261. Copyright (c) 1994, 1995 IBM Corporation. Any trademarks and product 
  262. or brand names referenced in this document are the property of their 
  263. respective owners. Consult your product manuals for complete trademark 
  264. information. 
  265.