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
Log in to the Oracle Server.
Stop the Phoenix Oracle service using the command:
service PhoenixOracle stop
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>
Browse to
/etc/PhoenixOracle/Phoenix.yml
and create a backup ofPhoenix.yml
Open
Phoenix.yml
in the VI editor and changeDEBUGLEVEL = 0
to
DEBUGLEVEL = 9
.
Save-Quit the changes.
Start the Phoenix Oracle Agent Service
service PhoenixOracle start
Initiate a backup or restore job.
Disable debug logging
Log in to the Oracle Server.
Stop the Phoenix Oracle service using the command:
service PhoenixOracle stop
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>
Browse to
/etc/PhoenixOracle/Phoenix.yml
and create a backup ofPhoenix.yml
Open
Phoenix.yml
in the VI editor and changeDEBUGLEVEL = 9
to
DEBUGLEVEL = 0
.
Save-Quit the changes.
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