Description:
This document lists the most common debugs requested by support.
CA Technical Support may request debug logs in order to diagnose problems with CA Audit.
Depending on the type or category of problem, technical support may request to you run specific processes in debug mode to obtain detailed debugging information.
Instructions for the following types of debug / traces are included:
- CA Audit's Initial / Common Diagnostic Output (using acstat)
- Debugging the eTrust Audit Log Router (aclogrd)
- Debugging the eTrust Audit Action Manager (acactmgr)
- Debugging the eTrust Audit Generic Recorder (acrecorderd)
- Debugging the eTrust Audit Collector (aclogrcd)
- Debugging the eTrust Audit Distribution Server (acdistsrv)
- Debugging the eTrust Audit Distribution Agent ( acdistagn )
- Debugging iGateway (using iGateway.conf)
- Debugging iRecorders (using <iRecorder>.conf)
More detailed information can be found in the CA Audit Reference guide.
Solution:
Important Note:
As with all traces and debug collection, please do not forget to turn off any tracing / debugging after the requested information has been collected and stored for future reference.
- CA Audit's Initial / Common Diagnostic Output
Most issues require providing support with the output from the ACSTAT utility. The acstat utility is used to display the status of Audit installation on the current host.
- From a command prompt, change to:
x:\Program Files\CA\eTrust Audit\bin
- Run the following command:
acstat.exe > acstat.output
- Save the file x:\Program Files\CA\eTrust Audit\bin\acstat.output
- Debugging the eTrust Audit Log Router
- Open a command prompt and change to the following directory :
"x:\Program Files\CA\eTrust Audit\bin"
- Stop the log router if it is already running:
aclogrd -stop
- Start the log Router in debug as follows:
aclogrd.exe -debug -trace -dbglvl 3 -dest1 STDOUT > x:\aclogrd.log
- Reproduce the problem then use CTRL-C to stop the log router and the tracing.
- Restart the eTrust Audit Log Router via the Control Panel Services.
- Save the x:\aclogrd.log
- Debugging the eTrust Audit Action Manager
- Open a command prompt and change to the following directory:
"x:\Program Files\CA\eTrust Audit\bin"
- Stop the action manager if it is already running:
acactmgr -stop
- Start the action manager in debug as follows:
acactmgr.exe -debug -trace -dbglvl 3 -dest1 STDOUT > x:\acactmgr.log
- Reproduce the problem then use CTRL-C to stop the action manager and the tracing.
- Restart the eTrust Audit Action Manager via Control Panel Services.
- Save the x:\acactmgr.log
- Debugging the eTrust Audit Generic Recorder
- Open a command prompt and change to the following directory:
"x:\Program Files\CA\eTrust Audit\bin"
- Stop the Generic Recorder if it is already running:
acrecorderd -stop
- Start the Generic Recorder in debug as follows:
acrecorderd.exe -debug -trace -dbglvl 3 -dest1 STDOUT > x:\acrecorderd.log
- Reproduce the problem then use CTRL-C to stop the Generic Recorder and the tracing.
- Restart the eTrust Audit Generic Recorder via Control Panel Services.
- Save the x:\acrecorderd.log
- Debugging the eTrust Audit Collector
- Open a command prompt and change to the following directory:
"x:\Program Files\CA\eTrust Audit\bin"
- Stop the Collector if it is already running:
aclogrcd -stop
- Start the Collector in debug as follows:
aclogrcd.exe -debug -trace -dbglvl 3 -dest1 STDOUT > x:\aclogrcd.log
- Reproduce the problem then use CTRL-C to stop the Collector and the tracing.
- Restart the eTrust Audit Collector via the Control Panel Services.
- Save the x:\aclogrcd.log
- Debugging the eTrust Audit Distribution Server
- Open a command prompt and change to the following directory:
"x:\Program Files\CA\eTrust Audit\bin"
- Stop the Distribution Server if it is already running:
acdistsrv -stop
- Start the Distribution Server in debug as follows:
acdistsrv.exe -debug -trace -dbglvl 3 -dest1 STDOUT > x:\acdistsrv.log
- Reproduce the problem then use CTRL-C to stop the Distribution Server and the tracing.
- Restart the eTrust Audit Distribution Server via Control Panel Services.
- Save the x:\acdistsrv.log
- Debugging the eTrust Audit Distribution Agent
- Open a command prompt and change to the following directory:
"x:\Program Files\CA\eTrust Audit\bin"
- Stop the Distribution Agent if it is already running:
acdistagn -stop
- Start the Distribution Agent in debug as follow:
acdistagn.exe -debug -trace -dbglvl 3 -dest1 STDOUT > x:\acdistagn.log
- Reproduce the problem then use CTRL-C to stop the Distribution Agent and the tracing.
- Restart the eTrust Audit Distribution Agent via Control Panel Services.
- Save the x:\acdistagn.log
- Debugging the iTechnology iGateway service
- Stop the iTechnology iGateway service
- Edit the file x:\Program Files\CA\SharedComponents\iTechnology\ igateway.conf
- Add the line:
<Debug>true</Debug>
- Restart the iGateway Service
- Save the x:\Program Files\CA\SharedComponents\iTechnology\igateway.log
- Debugging iRecorders
Note:
Most iRecorders can be debugged using the following instructions, except those iRecorders which are considered iReflect iRecorders.
- Stop the iTechnology iGateway service
- Open the <iRecorder>.conf (ex. NTEventLog.conf or MSSQLServer.conf etc.) file in the directory:
x:\Program Files\CA\SharedComponents\iTechnology\
- Add the line
<DebugLevel>ISP_FILE</DebugLevel>
- Restart the iGateway Service
- This will create a <iRecorder_name>.log (ex: NTEventLog.log or MSSQLServer.log etc ) file for the iRecorder you are trying to debug in the directory:
x:\Program Files\CA\SharedComponents\iTechnology\
- Save the x:\Program Files\CA\SharedComponents\iTechnology\<iRecorder_name>.log