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
- Login to the Phoenix Oracle Backup Store Server
- Open the terminal with Admin rights and Stop the Phoenix Agent service using the command:
/etc/init.d/Phoenix stop
- 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>
- Browse to /etc/Phoenix/Oracle/Phoenix.cfg and take backup of Phoenix.cfg.
- Open Phoenix.cfg in VI editor and change value of DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
- Save-Quit the changes.
- Start Phoenix Agent Client Service and initiate a backup/restore job.
/etc/init.d/Phoenix start
Disable debug logging
- Login to the Phoenix Oracle Backup Store Server.
- Open terminal with Admin rights and Stop the Phoenix Agent service using the command:
/etc/init.d/Phoenix stop
- 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> - Browse to /etc/Phoenix/Oracle/Phoenix.cfg and take backup of Phoenix.cfg.
- Open Phoenix.cfg in VI editor and change value of DEBUGLEVEL = 9 back to DEBUGLEVEL = 0.
- Save-Quit the changes.
- 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.