Opatch Apply Failed With "OUI-67073:UtilSession failed: Negative time" Error (Doc ID 1493601.1)

Last updated on JANUARY 09, 2015

Applies to:

Oracle Universal Installer - Version 10.2.0.5 and later
Information in this document applies to any platform.

Symptoms

 You may receive the following error while applying a patch to an ORACLE_HOME using opatch

Backing up files...
UtilSession failed: Negative time
Log file location: /oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2012-08-14_07-29-09AM_1.log

OPatch failed with error code 73

 
OPATCH_DEBUG=True output


[Aug 9, 2012 3:51:07 PM]     OUI-67073:UtilSession failed: Negative time
[Aug 9, 2012 3:51:07 PM]     Locker::release()
[Aug 9, 2012 3:51:07 PM]     OUISessionManager::unRegister()
[Aug 9, 2012 3:51:07 PM]     Un-Registering the caller : OPatch
[Aug 9, 2012 3:51:07 PM]     Locker::release() deletes /oracle/product/11.2.0/db/.patch_storage/patch_locked
[Aug 9, 2012 3:51:07 PM]     Locker::release() creates /oracle/product/11.2.0/db/.patch_storage/patch_free
[Aug 9, 2012 3:51:07 PM]     Finishing UtilSession at Thu Aug 09 15:51:07 CEST 2012
[Aug 9, 2012 3:51:07 PM]     Log file location: /oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2012-08-09_15-44-13PM_1.log
[Aug 9, 2012 3:51:07 PM]     Stack Description: java.lang.RuntimeException: Negative time
[Aug 9, 2012 3:51:07 PM]     StackTrace: java.io.File.setLastModified(File.java:1222)
[Aug 9, 2012 3:51:07 PM]     StackTrace: oracle.opatch.SystemCall.backupFile(SystemCall.java:1036)
[Aug 9, 2012 3:51:07 PM]     StackTrace: oracle.opatch.ArchiveAction.backupForRestore(ArchiveAction.java:886)
[Aug 9, 2012 3:51:07 PM]     StackTrace: oracle.opatch.MergedPatchObject.backupForRestore(MergedPatchObject.java:1756)
[Aug 9, 2012 3:51:07 PM]     StackTrace: oracle.opatch.opatchutil.NApply.process(NApply.java:3099)
[Aug 9, 2012 3:51:07 PM]     StackTrace: oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1127)
[Aug 9, 2012 3:51:07 PM]     StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Aug 9, 2012 3:51:07 PM]     StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[Aug 9, 2012 3:51:07 PM]     StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[Aug 9, 2012 3:51:07 PM]     StackTrace: java.lang.reflect.Method.invoke(Method.java:592)
[Aug 9, 2012 3:51:07 PM]     StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:322)
[Aug 9, 2012 3:51:07 PM]     StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2346)
[Aug 9, 2012 3:51:07 PM]     StackTrace: oracle.opatch.OPatch.main(OPatch.java:583)

 

Cause

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 hundreds of Community platforms