ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakt_5.4.0.1/rzaktlogging.htm

103 lines
7.3 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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="Log SNTP activity" />
<meta name="abstract" content="This topic explains how to use the logging function to help you track activity and identify problems with the server or client." />
<meta name="description" content="This topic explains how to use the logging function to help you track activity and identify problems with the server or client." />
<meta name="DC.Relation" scheme="URI" content="rzakttrouble.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzati/rzatistoptimemain.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2000, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2000, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaktlogging" />
<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>Log SNTP activity</title>
</head>
<body id="rzaktlogging"><a name="rzaktlogging"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Log SNTP activity</h1>
<div><p>This topic explains how to use the logging function to help you
track activity and identify problems with the server or client.</p>
<p>Logging is used to create records of the actions of the SNTP client or
server. Use logging to assist in problem analysis, not during normal running
situations.</p>
<p>One log file will be created each day, with the name in the form QTOT <em>YYYYMMDD</em>,
where <em>YYYY</em> represents the year, <em>MM</em> represents the month, and <em>DD</em> represents
the day.</p>
<p>The coded character set identifier (CCSID) of the file is the default system
CCSID. If the system default CCSID is changed during the time when the activity
log is in use on the same day, the original CCSID of the file will still be
used. Because the resulting file might become unreadable, it is recommended
that you stop the SNTP client, rename the activity log, and restart the SNTP
client so that a new log will be created using the new CCSID.</p>
<div class="section" id="rzaktlogging__loggingclientactivity"><a name="rzaktlogging__loggingclientactivity"><!-- --></a><h4 class="sectiontitle">Log client activity</h4><div class="p">To
log SNTP client activity, follow these steps:<ol><li>In iSeries™ Navigator,
expand <span class="menucascade"><span class="uicontrol">your iSeries server</span> &gt; <span class="uicontrol">Network</span> &gt; <span class="uicontrol">Servers</span> &gt; <span class="uicontrol">TCP/IP</span></span>.</li>
<li>Right-click <span class="uicontrol">SNTP</span>, and click <span class="uicontrol">Properties</span> to
open the SNTP Properties pages.</li>
<li>Go to the <span class="uicontrol">Client</span> page. Select when you want to
log SNTP client activity.</li>
<li>Click <span class="uicontrol">OK</span> to save your selection.</li>
</ol>
</div>
<div class="p">The client activity logs are created in the Integrated File System
directory /QIBM/UserData/OS400/TCPIP/NTP. An example of a client log follows:<pre>SNTP Client Activity Log QTOTNTP/QNTP/097229 08/21/03 12:00:48.502 AM
TCP9136 SNTP Client started.
TCP9146 Using time server TIME.
TCP9162 08/21/03 12:00:48.548 AM Time remaining for adjustment is 0.000 seconds.
TCP9116 08/21/03 12:00:48.548 AM NTP server UTC time is 08/21/03 5:00:48.196.
TCP9117 08/21/03 12:00:48.548 AM Client clock UTC time is 08/21/03 5:00:48.197.
TCP9120 08/21/03 12:00:48.548 AM Client clock adjusted = 1 (0 = not adjusted, 1 = adjusted)
TCP9146 Using time server TIME.
TCP9162 08/21/03 12:01:48.590 AM Time remaining for adjustment is 0.000 seconds.
TCP9116 08/21/03 12:01:48.590 AM NTP server UTC time is 08/21/03 5:01:48.589.
TCP9117 08/21/03 12:01:48.590 AM Client clock UTC time is 08/21/03 5:01:48.589.
TCP9120 08/21/03 12:01:48.590 AM Client clock adjusted = 1 (0 = not adjusted, 1 = adjusted) </pre>
</div>
</div>
<div class="section" id="rzaktlogging__loggingserveractivity"><a name="rzaktlogging__loggingserveractivity"><!-- --></a><h4 class="sectiontitle">Log server activity</h4><div class="p">To
log SNTP server activity, follow these steps:<ol><li>In iSeries Navigator,
expand <span class="menucascade"><span class="uicontrol">your iSeries server</span> &gt; <span class="uicontrol">Network</span> &gt; <span class="uicontrol">Servers</span> &gt; <span class="uicontrol">TCP/IP</span></span>.</li>
<li>Right-click <span class="uicontrol">SNTP</span>, and click <span class="uicontrol">Properties</span> to
open the SNTP Properties pages.</li>
<li>Go to the <span class="uicontrol">Server</span> page. Select when you want to
log SNTP server activity.</li>
<li>Click <span class="uicontrol">OK</span> to save your selection.</li>
</ol>
</div>
<div class="p">The server activity logs are created in the Integrated File System
directory /QIBM/UserData/OS400/TCPIP/NTP/SERVER. An example of a server log
follows:<pre>SNTP Server Activity Log QTOTNTP/QNTP/097326 08/21/03 2:46:04.329 PM
TCP9159 SNTP Server started.
TCP9161 08/21/03 2:46:20.828 PM Client 9.5.150.56 Unsynchronized status returned.
TCP9163 08/21/03 2:46:20.854 PM SNTP system client unable to contact server.
TCP9161 08/21/03 2:47:21.181 PM Client 9.5.150.57 Unsynchronized status returned.
TCP9162 08/21/03 2:47:21.195 PM Time remaining for adjustment is .534 seconds.
TCP9160 08/21/03 2:48:21.242 PM Client 9.5.56.158, UTC time returned is 08/21/03 19:48:21.241.
TCP9160 08/21/03 2:48:21.532 PM Client 9.130.69.21.159, UTC time returned is 08/21/03 19:48:21.531.</pre>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakttrouble.htm" title="Use this information to understand your options when problems related to SNTP arise. This topic describes problems that your system might encounter when you adjust time using SNTP.">Troubleshoot SNTP</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../rzati/rzatistoptimemain.htm">Stop SNTP</a></div>
</div>
</div>
</body>
</html>