Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

patch p11879896_112020_Generic failed with req comp missing error

Asmirnov-OracleJan 19 2012 — edited Jan 19 2012
Hi,
Applying the subject patch on Linux 32 with

opatch apply -invPtrLoc /u01/app/oraInventory/oraInst.loc

failed (with the message
Patch 11879896: Required component(s) missing : [ oracle.sysman.console.db, 11.2.0.2.0 ] ),

the debug follows below. Any idea?

Thank you.

Anatoliy

_osArch is
/u01/app/oracle/product/11.2.0/home11gR2/jdk/bin/java -mx96m -cp /u01/app/oracle/product/11.2.0/home11gR2/OPatch/ocm/lib/emocmutl.jar:/u01/app/oracle/product/11.2.0/home11gR2/oui/jlib/OraInstaller.jar:/u01/app/oracle/product/11.2.0/home11gR2/oui/jlib/share.jar:/u01/app/oracle/product/11.2.0/home11gR2/oui/jlib/srvm.jar:/u01/app/oracle/product/11.2.0/home11gR2/oui/jlib/orai18n-mapping.jar:/u01/app/oracle/product/11.2.0/home11gR2/oui/jlib/xmlparserv2.jar:/u01/app/oracle/product/11.2.0/home11gR2/OPatch/jlib/opatch.jar:/u01/app/oracle/product/11.2.0/home11gR2/OPatch/jlib/opatchutil.jar:/u01/app/oracle/product/11.2.0/home11gR2/OPatch/jlib/opatchprereq.jar:/u01/app/oracle/product/11.2.0/home11gR2/OPatch/jlib/opatchactions.jar: -DOPatch.ORACLE_HOME=/u01/app/oracle/product/11.2.0/home11gR2 -DOPatch.DEBUG=true -DOPatch.RUNNING_DIR=/u01/app/oracle/product/11.2.0/home11gR2/OPatch oracle/opatch/OPatch apply -invPtrLoc /u01/app/oraInventory/oraInst.loc
Invoking OPatch 11.1.0.6.6

Oracle Interim Patch Installer version 11.1.0.6.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.

CmdLineParser::initRuntimeOptions()
Checking on class oracle.opatch.opatchutil.CmdLineOptions$StringArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$StringArguments
There are 7 fields defined in this class.
adding option "fp"
adding option "dp"
adding option "fr"
adding option "dr"
adding option "mp"
adding option "phbasedir"
adding option "phbasefile"
Checking on class oracle.opatch.opatchutil.CmdLineOptions$BooleanArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$BooleanArguments
There are 2 fields defined in this class.
adding option "delay_link"
adding option "cmd_end"
Checking on class oracle.opatch.opatchutil.CmdLineOptions$IntegerArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$IntegerArguments
There are 2 fields defined in this class.
adding option "integerarg1"
adding option "integerarg2"
Checking on class oracle.opatch.opatchutil.CmdLineOptions$StringtegerArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$StringtegerArguments
There are 5 fields defined in this class.
adding option "stringtegerarg1"
adding option "stringtegerarg2"
adding option "ps"
adding option "mp"
adding option "xmlinput"
Checking on class oracle.opatch.opatchutil.CmdLineOptions$DoubleArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$DoubleArguments
There are 2 fields defined in this class.
adding option "doublearg1"
adding option "doublearg2"
Checking on class oracle.opatch.opatchutil.CmdLineOptions$RawStringArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$RawStringArguments
There are 1 fields defined in this class.
adding option "cmd"
CmdLineHelper::loadRuntimeOption() for Class "oracle.opatch.opatchutil.OUSession"
initializing String option 0, fp
initializing String option 1, dp
initializing String option 2, fr
initializing String option 3, dr
initializing String option 4, mp
initializing String option 5, phbasedir
initializing String option 6, phbasefile
done init. String arg.
initializing Boolean option 0, delay_link
initializing Boolean option 1, cmd_end
done init. Boolean arg.
initializing Integer option 0, integerarg1
initializing Integer option 1, integerarg2
done init. Integer arg.
initializing StringTeger option 0, stringtegerarg1
initializing StringTeger option 1, stringtegerarg2
initializing StringTeger option 2, ps
initializing StringTeger option 3, mp
initializing StringTeger option 4, xmlinput
done init. SringTeger arg.
initializing Double option 0, doublearg1
initializing Double option 1, doublearg2
done init. Double arg.
initializing RawString option 0, cmd
done init. RawString arg.
CmdLineHelper::loadRuntimeOption() for Class "oracle.opatch.opatchutil.OUSession", done.
CmdLineParser::initRuntimeOptions()
Checking on class oracle.opatch.opatchprereq.CmdLineOptions$StringArguments
Get list of fields defined in the class oracle.opatch.opatchprereq.CmdLineOptions$StringArguments
There are 3 fields defined in this class.
adding option "phbasedir"
adding option "patchids"
adding option "phbasefile"
Checking on class oracle.opatch.opatchprereq.CmdLineOptions$BooleanArguments
Get list of fields defined in the class oracle.opatch.opatchprereq.CmdLineOptions$BooleanArguments
There are 2 fields defined in this class.
adding option "booleanarg1"
adding option "booleanarg2"
Checking on class oracle.opatch.opatchprereq.CmdLineOptions$IntegerArguments
Get list of fields defined in the class oracle.opatch.opatchprereq.CmdLineOptions$IntegerArguments
There are 2 fields defined in this class.
adding option "integerarg1"
adding option "integerarg2"
Checking on class oracle.opatch.opatchprereq.CmdLineOptions$StringtegerArguments
Get list of fields defined in the class oracle.opatch.opatchprereq.CmdLineOptions$StringtegerArguments
There are 2 fields defined in this class.
adding option "stringtegerarg1"
adding option "stringtegerarg2"
Checking on class oracle.opatch.opatchprereq.CmdLineOptions$DoubleArguments
Get list of fields defined in the class oracle.opatch.opatchprereq.CmdLineOptions$DoubleArguments
There are 2 fields defined in this class.
adding option "doublearg1"
adding option "doublearg2"
CmdLineHelper::loadRuntimeOption() for Class "oracle.opatch.opatchprereq.PQSession"
initializing String option 0, phbasedir
initializing String option 1, patchids
initializing String option 2, phbasefile
done init. String arg.
initializing Boolean option 0, booleanarg1
initializing Boolean option 1, booleanarg2
done init. Boolean arg.
initializing Integer option 0, integerarg1
initializing Integer option 1, integerarg2
done init. Integer arg.
initializing StringTeger option 0, stringtegerarg1
initializing StringTeger option 1, stringtegerarg2
done init. SringTeger arg.
initializing Double option 0, doublearg1
initializing Double option 1, doublearg2
done init. Double arg.
CmdLineHelper::loadRuntimeOption() for Class "oracle.opatch.opatchprereq.PQSession", done.
reqVer For using getEnv() = 10.2.0.4.0
curVer = 11.2.0.1.0
Current Ver later than required? :true
Current Ver equals required? :false
Checking EMDROOT using OUI's API...
CmdLineParser.processOPatchProperties() begins
CmdLineParser.processOPatchProperties() ends
OUIReplacer::runEnvScript() called
SystemCall:RuntimeExec(cmds, runDir): GOING to start thread to read Input Stream
SystemCall:RuntimeExec(cmds, runDir): Started thread to read Input Stream
SystemCall:RuntimeExec(cmds, runDir): GOING to start thread to read Error Stream
ReaderThread::run(): Stream InputStream about to be read
SystemCall:RuntimeExec(cmds, runDir): Started thread to read Error Stream
SystemCall:RuntimeExec(cmds, runDir): GOING into process.waitFor()
ReaderThread::run(): Stream ErrorStream about to be read
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
OUIReplacer::setKeyValue() called
OPatchSession::main()
Environment:
OPatch.ORACLE_HOME=/u01/app/oracle/product/11.2.0/home11gR2
oracle.installer.invPtrLoc=/u01/app/oraInventory/oraInst.loc
oracle.installer.oui_loc=/u01/app/oracle/product/11.2.0/home11gR2/oui
oracle.installer.library_loc=/u01/app/oracle/product/11.2.0/home11gR2/oui/lib/linux
oracle.installer.startup_location=/u01/app/oracle/product/11.2.0/home11gR2/oui
OPatch.PLATFORM_ID=
os.name=Linux
OPatch.NO_FUSER=
OPatch.SKIP_VERIFY=null
OPatch.SKIP_VERIFY_SPACE=null
oracle.installer.clusterEnabled=false
TRACING.ENABLED=TRUE
TRACING.LEVEL=2
OPatch.DEBUG=true
OPATCH_VERSION=11.1.0.6.6
Bundled OPatch Property File=properties
Minimum OUI version: 10.2
OPatch.PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/u01/app/oracle/product/11.2.0/home11gR2/bin:/u01/app/oracle/product/11.2.0/home11gR2/OPatch
Stand-Alone home : false


Environment:
OPatch.ORACLE_HOME=/u01/app/oracle/product/11.2.0/home11gR2
oracle.installer.invPtrLoc=/u01/app/oraInventory/oraInst.loc
oracle.installer.oui_loc=/u01/app/oracle/product/11.2.0/home11gR2/oui
oracle.installer.library_loc=/u01/app/oracle/product/11.2.0/home11gR2/oui/lib/linux
oracle.installer.startup_location=/u01/app/oracle/product/11.2.0/home11gR2/oui
OPatch.PLATFORM_ID=
os.name=Linux
OPatch.NO_FUSER=
OPatch.SKIP_VERIFY=null
OPatch.SKIP_VERIFY_SPACE=null
oracle.installer.clusterEnabled=false
TRACING.ENABLED=TRUE
TRACING.LEVEL=2
OPatch.DEBUG=true
OPATCH_VERSION=11.1.0.6.6
Bundled OPatch Property File=properties
Minimum OUI version: 10.2
OPatch.PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/u01/app/oracle/product/11.2.0/home11gR2/bin:/u01/app/oracle/product/11.2.0/home11gR2/OPatch
Stand-Alone home : false



Oracle Home : /u01/app/oracle/product/11.2.0/home11gR2
Central Inventory : /u01/app/oraInventory
from : /u01/app/oraInventory/oraInst.loc
OPatch version : 11.1.0.6.6
OUI version : 11.2.0.1.0
OUI location : /u01/app/oracle/product/11.2.0/home11gR2/oui
Log file location : /u01/app/oracle/product/11.2.0/home11gR2/cfgtoollogs/opatch/opatch2012-01-19_04-10-13AM.log

Patch history file: /u01/app/oracle/product/11.2.0/home11gR2/cfgtoollogs/opatch/opatch_history.txt

OUISessionManager::instantiate()
lockCentralInventory(): OUISessionManager::lockCentralInventory() will retry 0 times with 120-second interval to get an Inventory lock.
OUISessionManager::lockCentralInventory() try round # 1
OUISessionManager::setupSession()
OUISessionManager::setupSession() instantiates a OUIInventorySession obj.
OUISessionManager::setupSession() init. the session
OUISessionManager::setupSession() sets up READ-ONLY session
OUISessionManager::setupSession() done
OUISessionManager::lockCentralInventory() set up session OK
reqVer = 10.2
curVer = 11.2.0.1.0
Current Ver later than required? :true
Current Ver equals required? :false
ApplySession::process()
ApplySession::process(): loading patch object.
ApplySession::loadAndInitPatchObject()
PatchObject(patchLocation)
PatchObject::PatchObject looks for the actions file /u01/app/oraInventory/etc/config/actions.xml
PatchObject::PatchObject looks for the inventory file /u01/app/oraInventory/etc/config/inventory.xml
parserXMLFile : start
parserXMLFile : start

Bugs fixed by this patch 11879896:
11879896: SMPSSE : DATABASE PERFORMANCE OVERVIEW DOESNT WORK ON MAC/LINUX

PatchObject::setPreReadMeAction: readMeFile = /u01/app/oraInventory/custom/pre.txt
noOp = true
fileContent =
PatchObject::setPreScriptAction: [PreScriptAction:-------------------------------
no-op.=true, fileLoc=/u01/app/oraInventory/custom/scripts/pre
Pre script is not present.-----------------------------------------------]

PatchObject::setPostReadMeAction: readMeFile = /u01/app/oraInventory/custom/post.txt
noOp = true
fileContent =
PatchObject::setPostScriptAction: [PostScriptAction:------------------------------
no-op.=true, fileLoc=/u01/app/oraInventory/custom/scripts/post
Post script not present.-----------------------------------------------]

PatchObject::setInitReadMeAction: readMeFile = /u01/app/oraInventory/custom/init.txt
noOp = true
fileContent =
PatchObject::setInitScriptAction: [InitScriptAction:-------------------------------
no-op.=true, fileLoc=/u01/app/oraInventory/custom/scripts/init
Init script not present.-----------------------------------------------]

ApplySession applying interim patch '11879896' to OH '/u01/app/oracle/product/11.2.0/home11gR2'
ApplySession::processLocal()
OPatchEnv:
[OPatchEnv: OracleHome="/u01/app/oracle/product/11.2.0/home11gR2", force= false, report= false, inv. mod.= true, system mod.= true, local mode= false, lsinv all= false, lsinv detail= false, lsinv patch= false, nolink= false, Retry=30, Delay=120, CallerName=OPatch, CallerVersion=11.1.0.6.6, SessionType=apply, JdkLoc=/u01/app/oracle/product/11.2.0/home11gR2/jdk, JreLoc=/u01/app/oracle/product/11.2.0/home11gR2/jre/1.4.2, OracleHome via -oh=, OracleHome via env.=/u01/app/oracle/product/11.2.0/home11gR2, OracleHome via response file=, OPatch recognised InvPtrLoc=/u01/app/oraInventory/oraInst.loc, User specified InvPtrLoc=/u01/app/oraInventory/oraInst.loc, No relink=false, Patch ID used in Rollback=, Patch ID with OPack timestamp=, PreOpt=, PostOpt=, OSName=Linux, IsWindows=false, .patch_storage=/u01/app/oracle/product/11.2.0/home11gR2/.patch_storage, .patch_storage/<ID>=/u01/app/oracle/product/11.2.0/home11gR2/.patch_storage/, Whole patch is saved to=/u01/app/oracle/product/11.2.0/home11gR2/.patch_storage//original_patch, Backup for Restore path=/u01/app/oracle/product/11.2.0/home11gR2/.patch_storage//backup, Backup for Rollback path=/u01/app/oracle/product/11.2.0/home11gR2/.patch_storage//files, FilesMap info from=/u01/app/oracle/product/11.2.0/home11gR2/inventory/oneoffs/<Patch_ID>, PatchLoc=/u01/app/oraInventory, SyntaxErrorMsg= ]
Process InitReadMeAction()
InitReadMeAction::catFile() is a no-op
InitScriptAction::process() is a no-op
Running Prerequisite check "CheckApplicableProduct"...

PrereqAPI::checkApplicableProduct
PrereqAPI::checkStandAloneHome())
Prereq checkApplicableProduct passed
OPatch checks if the patch is applicable on this home product type
ApplySession::setupPatchStorage()
ApplySession::processLocal() load the inventory
OracleHomeInventory::createInventoryObj()
OracleHomeInventory::createInventoryObj() gets OUIInventorySession object
Locker::lock()
calling lockCentralInventory()
OUISessionManager::getInventorySession()
Caller Details:
Caller Name : OPatch Caller Version : 11.1.0.6.6 Requested Read-only access : false Oracle Home : /u01/app/oracle/product/11.2.0/home11gR2
OUISessionManager::instantiate()
lockCentralInventory(): OUISessionManager::lockCentralInventory() will retry 30 times with 120-second interval to get an Inventory lock.
OUISessionManager::lockCentralInventory() try round # 1
OUISessionManager::setupSession()
OUISessionManager::setupSession() instantiates a OUIInventorySession obj.
OUISessionManager::setupSession() init. the session
OUISessionManager::setupSession() sets up READ-WRITE session
OUISessionManager::setupSession() done
OUISessionManager::lockCentralInventory() set up session OK
OUISessionManager::register()
Registering the caller : OPatch
Locker::lock(): /u01/app/oracle/product/11.2.0/home11gR2/.patch_storage exists, no need to mkdir.
Locker::lock(): /u01/app/oracle/product/11.2.0/home11gR2/.patch_storage/patch_free exists, will delete file.
Locker::lock() creates /u01/app/oracle/product/11.2.0/home11gR2/.patch_storage/patch_locked
OracleHomeInventory::createInventoryObj() gets OUIInstallAreaControl object
OracleHomeInventory::createInventoryObj() gets OUIInstallInventory object
OracleHomeInventory::createInventoryObj() gets OUIOracleHomeInfo object
OracleHomeInventory::createInventoryObj() construction done
OracleHomeInventory::load()
OracleHomeInventory::load() gets a Vector of all product entries
OracleHomeInventory::load() gets a Vector of all one-off entries
OracleHomeInventory::load() begins to process raw data from OUI to build up OPatch primitive classes
Rac::getInstance()
initializing racType
Rac::getClusterNodes()
calling OiiOracleHomeInfo::getNodeList()
OiiiOracleHomeInfo::getNodeList() returned 0 elements.
RAC::getClusterNodes() returned a list of 0 elements.
User did not use -no_inventory, so why clusterNodes are empty?
clusterNodes is null or empty, set racType to NO_RAC
checkIfSidAddition()
OracleHomeInventory::load()
OracleHomeInventory::load() gets a Vector of all product entries
OracleHomeInventory::load() gets a Vector of all one-off entries
OracleHomeInventory::load() begins to process raw data from OUI to build up OPatch primitive classes
ApplySession::processConflict()
PrereqAPI::checkConflictAgainstOHWithDetail()

Number of Oneoffs in the Oracle Home : 0
PrereqAPI::checkConflictAgainstOH()

List of patches on which the InterConflict prereq runs are :
11879896
OneOffEntry::getBugIDsFixed()
OneOffEntry::getBugIDsFixed() returns 1 bugs.

There are no conflicts/supersets.
Prereq checkConflictAgainstOHWithDetail Passed
Run all the prereqs related to apply.

Running prerequisite checks...

Running prerequisite check "CheckForInputValues" ...
PrereqAPI::checkForInputValues()
Input values is present for the all the actions of the given patches.

Running prerequisite check "CheckSystemSpace" ...
PrereqAPI::checkSystemSpace()

Finding the total space needed...

Total space needed for the patches are: 11865356

Checking if enough space is present on the disk...

Required amount of space is availale on the disk.
Prereq checkSystemSpace Passed
Enough system space is available.

Running prerequisite check "CheckPatchApplicableOnCurrentPlatform" ...
PrereqAPI::checkPatchApplicableOnCurrentPlatform()
Reading the platforms for patch11879896

Genereic Platform ID 0is specified for patch : 11879896
All the given patches are applicable on the current platform.

Running prerequisite check "CheckSystemCommandAvailable" ...
PrereqAPI::checkSystemCommandAvailable()
Rules::shouldSearchOrInvokeFuser()
user didn't set OPATCH_NO_FUSER but executable list is either null or empty, return false.

PatchObject: Patch will need to following commands:
--------------------------------------------------------------------
Need fuser archive make mkpatch sqlplus ptlpatch
false false false false false false
--------------------------------------------------------------------
Have fuser archive make mkpatch sqlplus ptlpatch
true true true true true true


All the required commands are available.
Prereq checkSystemCommandAvailable Passed
All the required system commands are present.

Running prerequisite check "CheckActiveFilesAndExecutables" ...
PrereqAPI::checkActiveFilesAndExecutables()

Invoking fuser on the executable list...
getCommandInPropertyFiles(): looking up command "fuser" in property file "properties"
Path in merged property files: /sbin:/usr/sbin:/usr/local/sbin
check on "/sbin/fuser"
found "/sbin/fuser"
getCommandInPropertyFiles(): looking up command "fuser" in property file "properties"
Path in merged property files: /sbin:/usr/sbin:/usr/local/sbin
check on "/sbin/fuser"
found "/sbin/fuser"

There are no active executables.
Prereq checkActiveFilesAndExecutables Passed
None of the executables are active.

Running prerequisite check "CheckApplicable" ...
PrereqAPI::checkApplicable() checking if each Action is applicable or not
PrereqAPI::checkComponents()
PrereqAPI::checkComponents searches for required compoments.
OracleHomeInventory::haveComponents()
there are 1 components to check.
Patch Component (component to check) is "oracle.sysman.console.db", "11.2.0.2.0", required = "true"
OracleHomeInventory::haveComponents() : installInventory.getCompInvEntries() on "oracle.sysman.console.db", homeIndex = "1" returns 1 components.

Process installed component "oracle.sysman.console.db", version "11.2.0.1.0"
Check installed product: name="oracle.sysman.console.db", ver="11.2.0.1.0"
Installed Comp >< Patch Comp:
Installed Comp Version later than Patch Comp = false
Installed Comp can replace Patch Comp = false
Install Comp Version equals or is later than Patch Comp: false
Req. comp. not in OH inventory: oracle.sysman.console.db, 11.2.0.2.0
Patch 11879896: Required component(s) missing : [ oracle.sysman.console.db, 11.2.0.2.0 ]
PrereqAPI::checkComponents searches for optional compoments.
OracleHomeInventory::haveComponents()
OracleHomeInventory::haveComponents() gets an empty list. Nothing to do, return empty list back.
Prerequisite check "CheckApplicable" failed.
The details are:
Patch 11879896: Required component(s) missing : [ oracle.sysman.console.db, 11.2.0.2.0 ]
System intact, OPatch will not attempt to restore the system
Locker::release()
OUISessionManager::unRegister()
Un-Registering the caller : OPatch
Locker::release() deletes /u01/app/oracle/product/11.2.0/home11gR2/.patch_storage/patch_locked
Locker::release() creates /u01/app/oracle/product/11.2.0/home11gR2/.patch_storage/patch_free
Cleaning up the directory : "/u01/app/oracle/product/11.2.0/home11gR2/.patch_storage/patch_unzip"...

OPatch failed with error code 74
This post has been answered by Balazs Papp on Jan 19 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 16 2012
Added on Jan 19 2012
4 comments
1,315 views