201 lines
4.7 KiB
HTML
201 lines
4.7 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
||
|
<title>Debugging IP over SNA Configurations</title>
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<!-- Begin Header Records ========================================== -->
|
||
|
<!-- Unix8 SCRIPT J converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
|
||
|
<!-- at RCHVMW2 on 17 Feb 1999 at 11:05:09 -->
|
||
|
<!--End Header Records -->
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<a name="Top_Of_Page"></a>
|
||
|
<!-- Java sync-link -->
|
||
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
||
|
</script>
|
||
|
|
||
|
<h2>Debugging IP over SNA Configurations</h2>
|
||
|
|
||
|
<p>Two commands can be helpful in debugging IP over SNA configurations:</p>
|
||
|
|
||
|
<ul>
|
||
|
<li>The Start Mode (STRMOD) CL command can help you determine if your SNA
|
||
|
configuration is correct. As input to the STRMOD command, you need the remote
|
||
|
location name. You can determine the remote location name from the destination
|
||
|
IP address by using the Convert IP over SNA Interface (CVTIPSIFC) command. The
|
||
|
message you receive when STRMOD completes tells you whether it was
|
||
|
successful.<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li>The TCP/IP FTP command can help you determine if your AnyNet configuration
|
||
|
is correct. If you get the <em>User</em> prompt, the AnyNet configuration is
|
||
|
correct.
|
||
|
|
||
|
<p><strong>Note:</strong> When FTP fails, it does not give a detailed reason
|
||
|
for the failure. To get a detailed reason, you should run a sockets program
|
||
|
that reports the value for <em>errno</em> when the failure occurs.</p>
|
||
|
</li>
|
||
|
</ul>
|
||
|
|
||
|
<br>
|
||
|
<p><strong><a name="Table_1-21">Common IP over SNA Configuration
|
||
|
Errors</a></strong><br>
|
||
|
</p>
|
||
|
|
||
|
<table border>
|
||
|
<!-- cols="25 75" -->
|
||
|
<tr>
|
||
|
<th align="left" valign="top" width="25%">Sockets Error (value of
|
||
|
<em>errno</em>)</th>
|
||
|
<th align="left" valign="top" width="75%">Possible Causes</th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">EHOSTUNREACH</td>
|
||
|
<td align="left" valign="top">
|
||
|
<ol>
|
||
|
<li>Missing ADDIPSLOC command on client system.<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li>Missing ADDIPSIFC command on client system.<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li>Type of service points to a non-existent mode description on client
|
||
|
system.<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li>ADDIPSLOC command on client system resulted in a location name that is not
|
||
|
found.<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li>ADDIPSLOC command on client system resulted in a location name that is on a
|
||
|
non-APPC device description.</li>
|
||
|
</ol>
|
||
|
|
||
|
<br>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">EADDRNOTAVAIL</td>
|
||
|
<td align="left" valign="top">
|
||
|
<ol>
|
||
|
<li>AnyNet not active on client system (ALWANYNET attribute set to *NO), but
|
||
|
TCP is started.<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li>Mode could not be added to device on client system.</li>
|
||
|
</ol>
|
||
|
|
||
|
<br>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">EUNATCH</td>
|
||
|
<td align="left" valign="top">
|
||
|
<ol>
|
||
|
<li>AnyNet not active on client system (ALWANYNET attribute set to *NO), and
|
||
|
TCP is not started.</li>
|
||
|
</ol>
|
||
|
|
||
|
<br>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">ECONNREFUSED</td>
|
||
|
<td align="left" valign="top">
|
||
|
<ol>
|
||
|
<li>AnyNet not active on client system (ALWANYNET attribute set to *NO).<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li><em>listen()</em> not active on server system.</li>
|
||
|
</ol>
|
||
|
|
||
|
<br>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">ECONNABORTED</td>
|
||
|
<td align="left" valign="top">
|
||
|
<ol>
|
||
|
<li>Line error<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li>Device/controller/line varied off on client or server system while in
|
||
|
use.<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li>User not authorized to APPC device description object on server
|
||
|
system.</li>
|
||
|
</ol>
|
||
|
|
||
|
<br>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">ETIMEDOUT</td>
|
||
|
<td align="left" valign="top">
|
||
|
<ol>
|
||
|
<li>ADDIPSLOC command on client system points to a location name that does not
|
||
|
exist or is on a system that is not responding in the APPN network.<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li>Messages (especially inquiry messages) on message queue QSYSOPR are waiting
|
||
|
for a reply.</li>
|
||
|
</ol>
|
||
|
|
||
|
<br>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">EACCES</td>
|
||
|
<td align="left" valign="top">
|
||
|
<ol>
|
||
|
<li>User not authorized to port on client system.<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li>User not authorized to APPC device description object on client
|
||
|
system.</li>
|
||
|
</ol>
|
||
|
|
||
|
<br>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
<br>
|
||
|
<hr>
|
||
|
<center>
|
||
|
<table cellpadding="2" cellspacing="2">
|
||
|
<tr align="center">
|
||
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
|
||
|
"unix.htm">UNIX-Type APIs</a> | <a href="aplist.htm">APIs by category</a> </td>
|
||
|
</tr>
|
||
|
</table></center>
|
||
|
</body>
|
||
|
</html>
|
||
|
|