Novell Home

Creating Debug Files for Novell Account Management 3

Novell Cool Solutions: Feature

Digg This - Slashdot This

Posted: 14 May 2004
 

As everyone knows, poring over log files can be a real headache, especially when the stuff you're looking for isn't there in the first place. If you're troubleshooting in Novell Account Management 3, you'll be happy to know that there is a debug function you can use to get that hard-to-find data. Click here for the TID details.

To enable the debug function, you need to add a DEBUGLOGFILE <filename> statement to the service configuration file.

Examples: Platform and Core Service Processes

Debugging the Platform Service Process:

  1. Add DEBUGLOGFILE c:\asam.log to the asamplat.conf file.
  2. Stop the ASAM Platform Receiver process or the ASAM Platform Services Process service and start it with the -d* option. This will create the file c:\asamd.log. Example: asampsp -d*
  3. 3) Perform the required operations.
  4. Stop the service and restart it normally.

Debugging the Core Service Process

  1. Add DEBUGLOGFILE c:\asam.log to the asamcore.conf file.
  2. Stop the Asamagnt or Asammgr service and start it with the -d* option. This will create the file c:\asamd.log. Example: asammgr -d*
  3. Perform the required operations.
  4. Stop the service and restart it normally.

Starting the service with the -d puts it in debug mode. The * option writes all information to the log file.

Example: Platform Receiver Scripts
  1. Start the Platform Receiver in debug mode using the following command line: asamrcvr -d "asam_scripts"
  2. To generate a debug file containing the DOM being created execute the following command line for the receiver: asamrcvr -d "asam_scripts dom"

Both of these commands will create a script log file in the ASAM\data\platformservices\log directory.

Example: Event Listener
  1. Using ConsoleOne, select the properties for the ASAM driver in the DirXML Driver Set.
  2. Under DirXML Driver Configuration add the following line to the 'Driver Parameters XML' for the ASAM driver: <debuglogFile>LogFilePath/LogFileName</debuglogFile>
  3. Apply the change.
  4. To stop logging, remove the statement.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell