April 02, 2025

OPatch Debug log

How to enable additional logging on OPATCH 

Sometime while patching we need to look at some of the additional details which is not on the opatch logs. Specially if any patch is failing/ any patch is stuck for very long period of time. In such scenarios, enabling a few additional logging would be a great help to troubleshoot the issue. 

Commands:

Before starting the session, export this two variable on the unix session and then check the opatch logs.
If you are running ASM and you can check some additional debugging on the crs logs as well. 

export OPATCH_DEBUG=true

export JAVA_VM_OPTION="$JAVA_VM_OPTION -Doracle.installer.logLevel=FINEST"


After setting this variables, now run the patching session and it will keep putting more steps on the log file. 

Happy patching!!

No comments:

Post a Comment

If you have any queries/ any suggestion please do comment and let me know.

Recent Post

Increase Java Heap memory for OEM

 There are certain times when we observer OEM is performing slow or even unable to startup the Admin Server or OMS Server. We can look into ...