Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Article 0

$
0
0

EM 13.2: opatch lsinventory Command Fails With Error "RawInventory gets a null Vector of one-off entries



1. Error  Message:-


I faced with that error message while I was trying to apply 13.2.0.0.0 patch 

[oracle@TESTOEM]$export ORACLE_HOME=/u01/app/oracle/product/agent13c/agent_13.2.0.0.0
[oracle@TESTOEM]$export PATH=$PATH:/u01/app/oracle/product/agent13c/agent_13.2.0.0.0/OPatch/

[oracle@TESTOEM]$ opatch lsinventory
Oracle Interim Patch Installer version 13.8.0.0.0
Copyright (c) 2018, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0
Central Inventory : /etc/oraInventory
   from           : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oraInst.loc
OPatch version    : 13.8.0.0.0
OUI version       : 13.8.0.0.0
Logfilelocation : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_21-56-48PM_1.log


OPatch detects the Middleware Home as "/u01/app/oracle/product/agent13c"

LsInventorySession failed: RawInventory gets a null Vector of one-off entries

OPatch failed with error code 73

Lets check log file:-

[oracle@TESTOEM]$cat /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_21-56-48PM_1.log
[Aug20,20189:56:50PM]OPatchinvokedasfollows:'lsinventory-invPtrLoc /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oraInst.loc '
[Aug 20, 2018 9:56:50 PM]    OUI-67077:
                             Oracle Home       : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0
                             Central Inventory : /etc/oraInventory
                                from           : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oraInst.loc
                             OPatch version    : 13.8.0.0.0
                             OUI version       : 13.8.0.0.0
                             OUI location      : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oui
Logfilelocation: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_21-56-48PM_1.log
[Aug20,20189:56:50PM]Patchhistoryfile: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch_history.txt
[Aug20,20189:56:50PM]OPatchdetectstheMiddlewareHomeas "/u01/app/oracle/product/agent13c"
[Aug 20, 2018 9:56:50 PM]    Starting LsInventorySession at Mon Aug 20 21:56:50 BRT 2018
[Aug 20, 2018 9:56:51 PM]    [OPSR-MEMORY-1] : after installInventory.getAllCompsVect() call : 121 (MB)
[Aug 20, 2018 9:56:51 PM]    OUI-67073:LsInventorySession failed: RawInventory gets a null Vector of one-off entries
[Aug 20, 2018 9:56:51 PM]    Finishing LsInventorySession at Mon Aug 20 21:56:51 BRT 2018
[Aug 20, 2018 9:56:51 PM]    Stack Description: java.lang.RuntimeException: RawInventory gets a null Vector of one-off entries
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.ipm.RawInventory.loadRawInventory(RawInventory.java:234)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.ipm.RawInventory.init(RawInventory.java:171)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.ipm.RawInventory.getInstance(RawInventory.java:87)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.ipm.IPMReadServices.getRawInventory(IPMReadServices.java:149)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.ipm.IPMReadServices.loadInventory(IPMReadServices.java:1031)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.LsInventorySession.process(LsInventorySession.java:317)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.OPatchSession.main(OPatchSession.java:2115)
[Aug 20, 2018 9:56:51 PM] StackTrace: oracle.opatch.OPatch.main(OPatch.java:640)

2. Error  Message:-

[oracle@TESTOEM]$cd 28070111
[oracle@TESTOEM]
[oracle@TESTOEM]$opatch napply
Oracle Interim Patch Installer version 13.8.0.0.0
Copyright (c) 2018, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0
Central Inventory : /etc/oraInventory
   from           : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oraInst.loc
OPatch version    : 13.8.0.0.0
OUI version       : 13.8.0.0.0
Logfilelocation: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_22-08-19PM_1.log


OPatch detects the Middleware Home as "/u01/app/oracle/product/agent13c"

UtilSession failed: RawInventory gets a null Vector of one-off entries
Logfilelocation: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_22-08-19PM_1.log

OPatch failed with error code 73

SOLUTION:-  So solution avaliable at note (Doc ID 2247800.1)

Download oracle.eons.client.zip from this Document attachment.
On the agent host Extract it  <AGENT_BASE_DIR>/agent_13.2.0.0.0/inventory/Components/
Ensure you have drwxr----- permissions for oracle.eons.client directory.
Restart the agent
Retry the plugin deploy or opatch operations, which should now work fine


[oracle@TESTOEM]$cd /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/inventory/Components
[oracle@TESTOEM]$ls -lrt oracle.eons.client
ls: cannot access oracle.eons.client: No such file or directory
[oracle@TESTOEM]$ls
oracle.apache.commons.cli       oracle.jdk                    oracle.sysman.agent.ic
oracle.apache.commons.compress  oracle.jre                    oracle.sysman.common
oracle.bali.ice                 oracle.jrf.dms                oracle.sysman.darda
oracle.bali.jewt                oracle.jrf.dms.common         oracle.sysman.db.agent.plugin
oracle.bali.share               oracle.jrf.j2ee               oracle.sysman.db.discovery.plugin
oracle.buildtools.rsf           oracle.jse.dms                oracle.sysman.emagent.installer
oracle.glcm.comdev              oracle.ldap.rsf               oracle.sysman.emas.discovery.plugin
oracle.glcm.dependency          oracle.nginst.common          oracle.sysman.oh.agent.plugin
oracle.glcm.encryption          oracle.nginst.core            oracle.sysman.oh.discovery.plugin
oracle.glcm.logging             oracle.nginst.osp.compstager  oracle.sysman.sbin
oracle.glcm.opatchauto.core     oracle.nginst.thirdparty      oracle.sysman.si.discovery.plugin
oracle.glcm.opatch.common.api   oracle.ons                    oracle.sysman.top.agent
oracle.glcm.oplan.core          oracle.opss.core              oracle.sysman.xa.discovery.plugin
oracle.glcm.osys.core           oracle.osdt.core              oracle.wsm.common
oracle.glcm.wizard              oracle.perlint                oracle.xdk.jrf
oracle.glcm.xmldh               oracle.perlint.expat          oracle.xdk.jrf.fmw
oracle.help.ohj                 oracle.perlint.modules        oracle.xdk.jrf.jaxp
oracle.help.share               oracle.pki                    oracle.xdk.jrf.xmlparserv2
oracle.http_client              oracle.rsa.crypto
oracle.jcraft.jsch              oracle.swd.opatch
[oracle@TESTOEM]$


[oracle@TESTOEM]$cd /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/inventory/Components
[oracle@TESTOEM]$unzip oracle.eons.client.zip
Archive:  oracle.eons.client.zip
   creating: oracle.eons.client/
   creating: oracle.eons.client/11.2.0.2.0/
  inflating: oracle.eons.client/11.2.0.2.0/compDef.xml
   creating: oracle.eons.client/11.2.0.2.0/resources/
  inflating: oracle.eons.client/11.2.0.2.0/resources/CompID.properties
  
[oracle@TESTOEM]$export ORACLE_HOME=/wwi/wwdb/db/oracle/product/agent13c/agent_13.2.0.0.0
[oracle@TESTOEM]$export PATH=$PATH:/wwi/wwdb/db/oracle/product/agent13c/agent_13.2.0.0.0/OPatch
[oracle@TESTOEM]$opatch lsinventory
Oracle Interim Patch Installer version 13.8.0.0.0
Copyright (c) 2018, Oracle Corporation.  All rights reserved.


Oracle Home       : /wwi/wwdb/db/oracle/product/agent13c/agent_13.2.0.0.0
Central Inventory : /etc/oraInventory
   from           : /wwi/wwdb/db/oracle/product/agent13c/agent_13.2.0.0.0/oraInst.loc
OPatch version    : 13.8.0.0.0
OUI version       : 13.8.0.0.0
Logfilelocation : /wwi/wwdb/db/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_22-46-53PM_1.log


OPatch detects the Middleware Home as "/wwi/wwdb/db/oracle/product/agent13c"

LsinventoryOutputfilelocation : /wwi/wwdb/db/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/lsinv/lsinventory2018-08-20_22-46-53PM.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: crm.hpseb.com
ARU platform id: 226
ARU platform description:: Linux_AMD64

Interim patches (1) :

Patch  24470104     : applied on Tue Aug 14 23:19:21 BRT 2018
Unique Patch ID:  -1471524899
   Created on 18 Aug 2016, 05:54:59 hrs PST8PDT
   Bugs fixed:
     24011099, 19030178
-------------------------------------------------------------------------------
[oracle@[oracle@TESTOEM]$ opatch apply
Oracle Interim Patch Installer version 13.8.0.0.0
Copyright (c) 2018, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0
Central Inventory : /etc/oraInventory
   from           : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oraInst.loc
OPatch version    : 13.8.0.0.0
OUI version       : 13.8.0.0.0
Logfilelocation: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/28033677_Aug_20_2018_22_49_53/apply2018-08-20_22-49-50PM_1.log


OPatch detects the Middleware Home as "/wwi/wwdb/db/oracle/product/agent13c"

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   28033677

Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Backing up files...
Applying interim patch '28033677' to OH '/u01/app/oracle/product/agent13c/agent_13.2.0.0.0'

Patching component oracle.sysman.top.agent, 13.2.0.0.0...
Patch 28033677 successfully applied.
Logfilelocation: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/28033677_Aug_20_2018_22_49_53/apply2018-08-20_22-49-50PM_1.log

OPatch succeeded.
[oracle@[oracle@TESTOEM]$ opatch lsinventory
Oracle Interim Patch Installer version 13.8.0.0.0
Copyright (c) 2018, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0
Central Inventory : /etc/oraInventory
   from           : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oraInst.loc
OPatch version    : 13.8.0.0.0
OUI version       : 13.8.0.0.0
Logfilelocation: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_22-50-10PM _1.log


OPatch detects the Middleware Home as "/wwi/wwdb/db/oracle/product/agent13c"

LsinventoryOutputfilelocation: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/lsinv/lsinventory2018-08-20_22-50-10PM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: crm.hpseb.com
ARU platform id: 226
ARU platform description:: Linux_AMD64


Interim patches (4) :

Patch  28033677     : applied on Mon Aug 20 22:49:58 BRT 2018
Unique Patch ID:  22252118
   Created on 11 Jun 2018, 23:14:05 hrs PST8PDT
   Bugs fixed:
     28033677

Patch  28070111     : applied on Mon Aug 20 22:49:38 BRT 2018
Unique Patch ID:  22266020
Patch description:  "EM-AGENT Bundle Patch 13.2.0.0.180630"
   Created on 18 Jun 2018, 08:52:39 hrs PST8PDT
   Bugs fixed:
     28070111, 27830172, 27958551, 27116149, 27599957, 27926151, 27116631
     27686784, 27800014, 27653690, 27723689, 27588907, 27473349, 27136454
     22877528, 27585167, 27642807, 27394028, 27471627, 27418842, 27101290
     27194429, 21967024, 27446771, 27305941, 25738670, 27049704, 26665900
     23168590, 27126169, 26661721, 27319514, 26798314, 27160866, 27119470
     25265547, 24940113, 25735685, 25818326, 27031053, 25931499, 26626166
     24437923, 26235110, 26726096, 26445309, 26768840, 24661253, 26649994
     26723536, 26368549, 25298541, 25759841, 25750667, 26448382, 26584413
     26420071, 24751845, 26269529, 26367400, 26183443, 25206274, 25535160
     26302989, 26121439, 24798029, 25786643, 25632008, 26113746, 23756848
     26084422, 25704980, 25603661, 25829879, 25950674, 25136887, 25924717
     25070243, 25907307, 25922043, 25607480, 25740081, 25450062, 25460315
     25656802, 25337437, 25484249, 23638365, 25580746, 25718287, 25414194
     23478148, 25297713, 25342677, 25125856, 25113676, 24598039, 25291403
     25214037, 25105153, 25105107, 25185188, 24672237, 24653896, 24934732
     23268700, 25105555, 24415605, 24303614, 24697787, 24588124, 24456370
     24447221, 24841013, 24923633, 22504387

Patch  25610702     : applied on Mon Aug 20 22:49:31 BRT 2018
Unique Patch ID:  22266020
   Created on 28 Feb 2017, 09:35:34 hrs PST8PDT
   Bugs fixed:
     25610702

Patch  24470104     : applied on Tue Aug 14 23:19:21 BRT 2018
Unique Patch ID:  -1471524899
   Created on 18 Aug 2016, 05:54:59 hrs PST8PDT
   Bugs fixed:
     24011099, 19030178

--------------------------------------------------------------------------------
OPatch succeeded.


Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>