RE: Datapatch failed on 12.2 (verify_queryable_inventory returned ORA-20001: Latest xml inventory is not loaded into table)

  • From: Noveljic Nenad <nenad.noveljic@xxxxxxxxxxxx>
  • To: "nileshkum@xxxxxxxxx" <nileshkum@xxxxxxxxx>, ORACLE-L <Oracle-L@xxxxxxxxxxxxx>
  • Date: Wed, 23 Sep 2020 13:21:21 +0000

Hi Nilesh,

“Use of uninitialized value $ENV{"ORACLE_HOME"}”

Have you checked if the ORACLE_HOME environment variable is set correctly?

Best regards,

Nenad

https://nenadnoveljic.com/blog


From: oracle-l-bounce@xxxxxxxxxxxxx <oracle-l-bounce@xxxxxxxxxxxxx> On Behalf 
Of nilesh kumar
Sent: Mittwoch, 23. September 2020 15:12
To: ORACLE-L <Oracle-L@xxxxxxxxxxxxx>
Subject: Datapatch failed on 12.2 (verify_queryable_inventory returned 
ORA-20001: Latest xml inventory is not loaded into table)

Hello Gurus,

I was applying a bug patch on the 12.2.0.1 database on windows.
Opatch successfully applied, but the post installation step "datapatch"
faced error.

The sqlpatch_invocation.log has below
--------------------------------------------------------------------------------------------
QL Patching tool version 12.2.0.1.0 Production on Wed Sep 23 06:16:57 2020
Copyright (c) 2012, 2017, Oracle.  All rights reserved.

Build label: RDBMS_12.2.0.1.0_WINDOWS.X64_170210.4
Log file for this invocation: 
D:\Oracle\Database12cR2\cfgtoollogs\sqlpatch\sqlpatch_2144_2020_09_23_06_16_57\sqlpatch_invocation.log


Connecting to database...OK
catcon: ALL catcon-related output will be written to 
[D:\Oracle\Database12cR2\cfgtoollogs\sqlpatch\sqlpatch_2144_2020_09_23_06_16_57/sqlpatch_catcon__catcon_2144.lst]
catcon: See 
[D:\Oracle\Database12cR2\cfgtoollogs\sqlpatch\sqlpatch_2144_2020_09_23_06_16_57/sqlpatch_catcon_*.log]
 files for output generated by scripts
catcon: See 
[D:\Oracle\Database12cR2\cfgtoollogs\sqlpatch\sqlpatch_2144_2020_09_23_06_16_57/sqlpatch_catcon__*.lst]
 files for spool files, if any
Use of uninitialized value $ENV{"ORACLE_HOME"} in concatenation (.) or string 
at D:\Oracle\Database12cR2\\rdbms\admin/catcon.pm<http://catcon.pm> line 8126.
catconInit: catcon_kill_sess_gen.sql not found at ORACLE_HOME, will instead use 
D:\Oracle\Database12cR2\rdbms\admin/catcon_kill_sess_gen.sql
verify_queryable_inventory returned ORA-20001: Latest xml inventory is not 
loaded into table

Please refer to MOS Note 1609718.1 and/or the invocation log
D:\Oracle\Database12cR2\cfgtoollogs\sqlpatch\sqlpatch_2144_2020_09_23_06_16_57\sqlpatch_invocation.log
-------------------------------------------------------------------------------------------------------
I re-created the directories "OPATCH_SCRIPT_DIR,OPATCH_LOG_DIR" with the same 
path as mentioned in  MOS Note 1609718.1 and also I rolled backed the patch and 
updated opatch with latest version but still same issue.

Could you please advise.

--
Thanks & Regards
Nilesh
Oracle DBA (sqlplus "/as sysdba" is my world)

"As our circle of knowledge expands, so does the circumference of darkness 
surrounding it."--Einstein
"All men die, few men ever truly live" -- Braveheart
"You can get help from teachers, but you are going to have to learn a lot by 
yourself, sitting alone in a room." --Dr. Seuss
"Know me for what I do and for not what I am. Judge me for what I can do and 
not for what I have done."-Unknown
"Don't walk in front of me, I may not follow. Don't walk behind me, I may not 
lead. Just walk beside me and be my friend."- Albert Camus
"Never argue with an idiot. They drag you down to their level and then beat you 
with experience." - Unknown
____________________________________________________
Please consider the environment before printing this e-mail.
Bitte denken Sie an die Umwelt, bevor Sie dieses E-Mail drucken.

<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">p { font-family: Arial;font-size:9pt }</style>
</head>
<body>
<p>
<br>Important Notice</br>
<br />
This message is intended only for the individual named. It may contain 
confidential or privileged information. If you are not the named addressee you 
should in particular not disseminate, distribute, modify or copy this e-mail. 
Please notify the sender immediately by e-mail, if you have received this 
message by mistake and delete it from your system.<br />
Without prejudice to any contractual agreements between you and us which shall 
prevail in any case, we take it as your authorization to correspond with you by 
e-mail if you send us messages by e-mail. However, we reserve the right not to 
execute orders and instructions transmitted by e-mail at any time and without 
further explanation.<br />
E-mail transmission may not be secure or error-free as information could be 
intercepted, corrupted, lost, destroyed, arrive late or incomplete. Also 
processing of incoming e-mails cannot be guaranteed. All liability of Vontobel 
Holding Ltd. and any of its affiliates (hereinafter collectively referred to as 
"Vontobel Group") for any damages resulting from e-mail use is excluded. You 
are advised that urgent and time sensitive messages should not be sent by 
e-mail and if verification is required please request a printed version.</br>
Please note that all e-mail communications to and from the Vontobel Group are 
subject to electronic storage and review by Vontobel Group. Unless stated to 
the contrary and without prejudice to any contractual agreements between you 
and Vontobel Group which shall prevail in any case, e-mail-communication is for 
informational purposes only and is not intended as an offer or solicitation for 
the purchase or sale of any financial instrument or as an official confirmation 
of any transaction.<br />
The legal basis for the processing of your personal data is the legitimate 
interest to develop a commercial relationship with you, as well as your consent 
to forward you commercial communications. You can exercise, at any time and 
under the terms established under current regulation, your rights. If you 
prefer not to receive any further communications, please contact your client 
relationship manager if you are a client of Vontobel Group or notify the sender.
Please note for an exact reference to the affected group entity the corporate 
e-mail signature.
For further information about data privacy at Vontobel Group please consult <a 
href="https://www.vontobel.com";>www.vontobel.com</a>.<br />
</p>
</body>
</html>

Other related posts: