ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakh_5.4.0.1/rzakhsetupaitrace.htm

61 lines
4.0 KiB
HTML

<?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="task" />
<meta name="DC.Title" content="Set up API trace tool" />
<meta name="abstract" content="To write the API trace tool to a file, complete these steps on the iSeries server on which network authentication service is configured." />
<meta name="description" content="To write the API trace tool to a file, complete these steps on the iSeries server on which network authentication service is configured." />
<meta name="DC.Relation" scheme="URI" content="rzakhadvtapitracetool.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakhaccessapitracelog.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="rzakhsetupaitrace" />
<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>Set up API trace tool</title>
</head>
<body id="rzakhsetupaitrace"><a name="rzakhsetupaitrace"><!-- --></a>
<img src="./delta.gif" alt="Start of change" /><!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Set up API trace tool</h1>
<div><p>To write the API trace tool to a file, complete these steps on
the iSeries™ server
on which network authentication service is configured.</p>
<div class="section">To set up the API trace tool, complete the following steps:</div>
<ol><li class="stepexpand"><span>Create an envar file in the home directory of the user to trace.
For example, you could specify <kbd class="userinput">/home/<var class="varname">user_profile_name</var>/envar</kbd>.</span></li>
<li class="stepexpand"><span>In the character-based interface, use <kbd class="userinput">edtf /home/<var class="varname">user_profile_name</var>/envar</kbd> to
edit the file.</span></li>
<li class="stepexpand"><span>Add the following lines to the envar file, being careful that they
start in column 1.</span> <pre>_EUV_SVC_MSG_LOGGING=STDOUT_LOGGING
_EUV_SVC_MSG_LEVEL=VERBOSE
_EUV_SVC_STDOUT_FILENAME=/home/<var class="varname">user_profile_name</var>/trace.txt
_EUV_SVC_DBG_MSG_LOGGING=1
_EUV_SVC_DBG_TRACE=1
_EUV_SVC_DBG=*.9</pre>
</li>
<li class="stepexpand"><span>Retry the failing command.</span></li>
<li class="stepexpand"><span>View the trace referenced by _EUV_SVC_STDOUT_FILENAME.</span></li>
</ol>
<div class="section">After you complete tracing the failing command, remove or rename
the envar file, or else every Kerberos command that users enter will get traced.</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakhadvtapitracetool.htm" title="You can set up the API trace tool to troubleshoot problems with Kerberos and Generic Security Services API calls.">API trace tool</a></div>
<div class="nextlink"><strong>Next topic:</strong> <a href="rzakhaccessapitracelog.htm" title="After you have set up the API trace tool you can now access the log file to begin troubleshooting.">Access the API trace log file</a></div>
</div>
</div>
<img src="./deltaend.gif" alt="End of change" /></body>
</html>