Skip to main content
Druva Documentation

How to enable or disable debug logging for Oracle backups

This article applies to:

  • Product edition: Phoenix

Overview

This article describes the procedure to enable and disable debug logging for Oracle backups

Enable and disable debug logging for Oracle

Enable debug logging

  1. Login to the Phoenix Oracle Backup Store Server
  2. Open the terminal with Admin rights and Stop the Phoenix Agent service using the command:

    /etc/init.d/Phoenix stop
  3. Verify if any Phoenix processes are still running. If any process is still found running, kill the process with the following command:

    ps -ef| grep -i Phoenix
    Kill -9 <process id>

     
  4. Browse to /etc/Phoenix/Oracle/Phoenix.cfg and take backup of Phoenix.cfg.
  5. Open Phoenix.cfg in VI editor and change value of DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
  6. Save-Quit the changes.
  7. Start Phoenix Agent Client Service and initiate a backup/restore job.

    /etc/init.d/Phoenix start

Disable debug logging

  1. Login to the Phoenix Oracle Backup Store Server.
  2. Open terminal with Admin rights and Stop the Phoenix Agent service using the command:

    /etc/init.d/Phoenix stop
  3. Verify if any Phoenix processes are still running.If any process is still found running, kill the process with the following command:

    ps -ef| grep -i Phoenix
    Kill -9 <process id>
  4. Browse to /etc/Phoenix/Oracle/Phoenix.cfg and take backup of Phoenix.cfg.
  5. Open Phoenix.cfg in VI editor and change value of DEBUGLEVEL = 9 back to DEBUGLEVEL = 0.
  6. Save-Quit the changes.
  7. Start Phoenix Agent Client Service and initiate a backup/restore job.

    /etc/init.d/Phoenix start

Upload files

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

  • Zip of /var/log/Phoenix/Oracle for Phoenix Backup Store logs.
  • RMAN logs from the location: /var/log/Phoenix/ORACLE/backup/<backupset_id>
  • System logs from /var/log/syslog.
  • Job logs of the failed or terminated job.