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

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/PhoenixBackupStore 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/PhoenixBackupStore 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/PhoenixBackupStore 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/PhoenixBackupStore 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.

See also

Did this answer your question?