M Reviewing Log Files

This appendix lists the log files you must review to resolve issues encountered while running a Deployment Procedure.

OMS-Related Log Files

The following are OMS-related log files.

  • Generic EM Trace File

    $<ORACLE_HOME>/sysman/log/emoms.trc

  • Provision Advisory Framework (PAF) Llogs

    $<ORACLE_HOME>/ sysman/log/pafLogs/

  • For Specific Deployment Procedure Instance

    $<ORACLE_HOME>/sysman/log/pafLogs/<name>_<instance_guid>.log

Note:

The $<ORACLE_HOME> refers to the Oracle home of the OMS.

Management Agent-Related Log Files

The following are Management Agent-related log files:

$<ORACLE_HOME>/sysma/logs/emagent.nohup

$<ORACLE_HOME>/sysma/logs/emagent.trc

Note:

The $<ORACLE_HOME> refers to the Oracle home of the Management Agent.

Advanced Options

Optionally, to capture more details, follow these steps to reset the log level and capture the logs mentioned in the previous sections.

Note:

Oracle recommends you to archive the old logs and have a fresh run after resetting the log level to capture the fresh logs.
  • On the OMS side:

    1. Open the following file available in the Oracle home of the OMS:

      $<ORACLE_HOME>/sysman/config/emomslogging.properties

    2. Set the @ log4j.rootCategory= parameter to DEBUG.

    3. Restart the OMS by running the following commands:

      $<ORACLE_HOME>/bin/emctl stop oms

      $<ORACLE_HOME>/bin/emctl start oms

  • On the Management Agent side:

    1. Open the following file available in the Oracle home of the Management Agent:

      $<ORACLE_HOME>/sysman/config/emd.properties

    2. Make the following settings:

      tracelevel.Dispatcherr=DEBUG

If Installation or Cloning Steps Fail

The OUI/Clone steps generate installation and error log files, and since they are generated at runtime, their locations are printed in the job logs.

If Database Configuration Failed

Database Configuration Assistant generates a log file, and its location is printed in the job log.

As part of target discovery, we generate the newtargets.xml file where the newly provisioned targets are added. The following is the location. Here, $<ORACLE_HOME> refers to the Oracle home of the Management Agent.

$<ORACLE_HOME>/sysman/emd/newtargets.xml

For Oracle Grid Infrastructure for standalone servers, the location is:

$<ORACLE_HOME>/sysman/emd/hastargets.xml