Applying a One-off Patch on Portal 11g gets Invocation Returned Error... '', Return Code = 1
(Doc ID 1491602.1)
Last updated on OCTOBER 10, 2023
Applies to:
Portal - Version 11.1.1.1.0 to 11.1.1.7.0 [Release FMW11g]Information in this document applies to any platform.
Symptoms
When trying to install any one-off Patch, the following error is seen from the Opatch utility:
Return Code = 1 error
This may happen when attempting to apply new one-off patches after a new Patchset was applied.
From opatch.log file:
Deleted Directory
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/14392181
Copying
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/Temp/14392181 to
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/14392181
Copying file
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/Temp/README.TXT
to
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/14392181/README.TXT
Deleted Directory
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/Temp
ReaderThread::run(): Stream InputStream reading completed
ReaderThread::run(): Stream ErrorStream reading completed
SystemCall:RuntimeExec(cmds, runDir): process.waitFor() is OVER
SystemCall:RuntimeExec(cmds, runDir): Error stream thread joined successfully
SystemCall:RuntimeExec(cmds, runDir): Input stream thread joined successfully
Command invocation returned Error... '', Return Code = 1
Execution of PRE script failed, with return value = 1
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/14392181
Copying
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/Temp/14392181 to
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/14392181
Copying file
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/Temp/README.TXT
to
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/14392181/README.TXT
Deleted Directory
/<MIDDLEWARE_HOME>/as_1/portal/patch/oneoffs/Temp
ReaderThread::run(): Stream InputStream reading completed
ReaderThread::run(): Stream ErrorStream reading completed
SystemCall:RuntimeExec(cmds, runDir): process.waitFor() is OVER
SystemCall:RuntimeExec(cmds, runDir): Error stream thread joined successfully
SystemCall:RuntimeExec(cmds, runDir): Input stream thread joined successfully
Command invocation returned Error... '', Return Code = 1
Execution of PRE script failed, with return value = 1
The same error happens even with the latest OPatch release installed and the mandatory Patch:15844859 successfully installed as suggested in Note 1443292.1 - Recommended Patches for Oracle Portal 11g.
The apply_xxx.log will also contain errors such as:
OUI-67073:OPatch failed: ApplySession failed in system modification phase
OUI-67133:Execution of PRE script failed, with return value = 1
OUI-67133:Execution of PRE script failed, with return value = 1
It can happen with a variety of patch combinations.
Changes
Recently applied a new Patchset.
For example moved from 11.1.1.4.0 to 11.1.1.6.0 or 11.1.1.7.0.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |