My Oracle Support Banner

'opatchauto rollback' using OPatch failed with ERROR: Unknown Option: Rollback (Doc ID 1929980.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


Using OPatch utility to rollback a patch from Oracle Restart home using command 'opatchauto rollback' failed with the below error.

Executing command:
/usr/bin/perl /app/oracle/Restart/Home/product/ -prepatch -rollback -norestart
2014-09-23_11-04-23 :

Usage: [-verbose] [-upgrade | -patch]
                 [-paramfile <parameter-file>] [-deconfig] [-force]
                 [-unlock [-hahome <path to Oracle Restart home> [-nocrsstop]]
                 [[-prepatch | -postpatch] [-norestart] [-dstcrshome <path to Oracle Restart home>]]
                 [-lockacfs] [-init]
Unknown option: rollback       <<<<<<<

2014-09-23_11-04-23 :
Failed to run this command :
/usr/bin/perl /app/oracle/Restart/Home/product/ -prepatch -rollback -norestart
Command "/usr/bin/perl /app/oracle/Restart/Home/product/ -prepatch -rollback -norestart" execution failed:
Unknown option: rollback

 This issue has not occured when using OPatch utility

 With using OPatch utility, 'opatchauto' internally executing the below command and failing.

/usr/bin/perl /app/oracle/Restart/Home/product/ -prepatch -rollback -norestart"

Here opatchauto adding/appending an extra parameter '-rollback' for causing the 'opatchauto rollback' command to fail.


 Rolling back a patch using OPatch utility


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.