Skip to main content
All CollectionsKnowledge BaseEnterprise WorkloadsHow To - Enterprise Workloads
How to enable or disable debug logging for Oracle Direct to Cloud backups and restores
How to enable or disable debug logging for Oracle Direct to Cloud backups and restores
Updated over 10 months ago

Overview

This article describes the procedure to enable or disable debug logging for Oracle Direct to Cloud backups and restores.

Enable and disable debug logging for Oracle Direct to Cloud

Enable debug logging

  1. Log in to the Oracle Server.

  2. Stop the Phoenix Oracle service using the command:

    service PhoenixOracle stop
  3. Check if any Phoenix processes are still running. If any Phoenix process is still running, kill the process. Use the following commands:

    ps -ef| grep -i PhoenixOracle 
        Kill -9 <process id>
  4. Browse to /etc/PhoenixOracle/Phoenix.yml and create a backup of Phoenix.yml

  5. Open Phoenix.yml in the VI editor and change

    DEBUGLEVEL = 0

    to

    DEBUGLEVEL = 9

    .

  6. Save-Quit the changes.

  7. Start the Phoenix Oracle Agent Service

    service PhoenixOracle start
  8. Initiate a backup or restore job.

Disable debug logging

  1. Log in to the Oracle Server.

  2. Stop the Phoenix Oracle service using the command:

    service PhoenixOracle stop
  3. Check if any Phoenix processes are still running. If any Phoenix process is still running, kill the process. Use the following commands:

    ps -ef| grep -i PhoenixOracle 
        Kill -9 <process id>
  4. Browse to /etc/PhoenixOracle/Phoenix.yml and create a backup of Phoenix.yml

  5. Open Phoenix.yml in the VI editor and change

    DEBUGLEVEL = 9 

    to

    DEBUGLEVEL = 0

    .

  6. Save-Quit the changes.

  7. Start the Phoenix Oracle Agent Service

    service PhoenixOracle start

Upload files

After the job completes or terminates, zip and upload the following files to the case:

  • Zip of /var/log/PhoenixOracle and /var/log/Phoenix/crashdumps

  • System logs from /var/log/syslog.

  • Job logs of the failed or terminated job.

See also

Did this answer your question?