<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-us" xml:lang="en-us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="security" content="public" /> <meta name="Robots" content="index,follow" /> <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> <meta name="DC.Type" content="concept" /> <meta name="DC.Title" content="Additional TCP/IP considerations" /> <meta name="abstract" content="Use NETSTAT, STRTCP, and STRHOSTSVR to verify and start TCP/IP functions." /> <meta name="description" content="Use NETSTAT, STRTCP, and STRHOSTSVR to verify and start TCP/IP functions." /> <meta name="DC.Relation" scheme="URI" content="rzaiiodbc25.htm" /> <meta name="DC.Relation" scheme="URI" content="../rzai2/rzai2configuring.htm" /> <meta name="DC.Relation" scheme="URI" content="../rzaku/rzakuoverview.htm" /> <meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" /> <meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" /> <meta name="DC.Format" content="XHTML" /> <meta name="DC.Identifier" content="rzaiiodbc30" /> <meta name="DC.Language" content="en-us" /> <!-- 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. --> <link rel="stylesheet" type="text/css" href="./ibmdita.css" /> <link rel="stylesheet" type="text/css" href="./ic.css" /> <title>Additional TCP/IP considerations</title> </head> <body id="rzaiiodbc30"><a name="rzaiiodbc30"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">Additional TCP/IP considerations</h1> <div><p>Use NETSTAT, STRTCP, and STRHOSTSVR to verify and start TCP/IP functions.</p> <p>Verify that TCP/IP is started with the following command:</p> <pre> NETSTAT *CNN</pre> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top"><div class="note"><span class="notetitle">Note:</span> To verify that TCP/IP is started with iSeries™ Navigator, you must already have configured your server with TCP/IP , then do the following: <ol><li>In iSeries Navigator, select your <span class="menucascade"><span class="uicontrol">server</span> > <span class="uicontrol">Network</span></span>.</li> <li>Right-click TCP/IP Configuration, and select Utilities.</li> <li>Select Ping.</li> <li>Specify a host name or TCP/IP address, and click Ping Now.</li> </ol> </div> </td> </tr> </tbody> </table> </div> <p>Use the command STRTCP to start the desired protocol if it is not running.</p> <p>Verify the necessary daemons are running by browsing the information returned from the NETSTAT *CNN command:</p> <pre> Remote Remote Local Address Port Port Idle Time State * * as-cent > 000:09:31 Listen * * as-signon 000:09:41 Listen * * as-svrmap 002:57:45 Listen * * as-data > 002:57:45 Listen</pre> <p>Use the command STRHOSTSVR SERVER(*ALL) to start them if necessary.</p> <ul><li>Verify QZDASRVSD, the ODBC socket daemon, is running in the QSERVER subsystem. <ul><li>as-database should be in the Listen State</li> <li>WRKJOB QZDASRVSD should be used to check the job log of the daemon for any error messages.</li> </ul> </li> <li>Verify that socket daemon QZSOSMAPD is running in QSYSWRK subsystem. <ul><li>as-svrmap should be in the Listen State as shown by NETSTAT *CNN.</li> <li>WRKJOB QZSOSMAPD should be used to check the job log of the daemon for any error messages.</li> </ul> </li> </ul> <p>The PC locates the socket used by the database server by connecting to the server mapper socket. It retrieves the socket used by as-database. It then connects to the proper socket which is being monitored by the database server daemon, QZDASRVSD. The server daemon will attach the client's connection to a QZDASOINIT prestart job in QUSRWRK. If this is the first connection made to the server from this PC, then two other servers are used: Central server for licensing and signon server for userid/password validation.</p> <p>For more information about verifying that TCP/IP is started, see General TCP/IP problems.</p> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiiodbc25.htm" title="Each ODBC connection communicates with one database server program that runs on the iSeries server. This program is referred to as the host server program.">Troubleshoot the iSeries server connection</a></div> </div> <div class="relconcepts"><strong>Related concepts</strong><br /> <div><a href="../rzaku/rzakuoverview.htm">General TCP/IP problems</a></div> </div> <div class="reltasks"><strong>Related tasks</strong><br /> <div><a href="../rzai2/rzai2configuring.htm">Configure your server with TCP/IP</a></div> </div> </div> </body> </html>