12.2:DB Alert.log shows ORA-20001: Latest xml inventory,ORA-06512: at "SYS.DBMS_QOPATCH","KUP-04004: error while reading file" (文檔 ID 2323937.1)


alert.log中出現如下告警日志:

Unable to obtain current patch information due to error: 20001, ORA-20001: Latest xml inventory is not loaded into table
ORA-06512: at "SYS.DBMS_QOPATCH", line 777
ORA-06512: at "SYS.DBMS_QOPATCH", line 864
ORA-06512: at "SYS.DBMS_QOPATCH", line 2222
ORA-06512: at "SYS.DBMS_QOPATCH", line 740
ORA-06512: at "SYS.DBMS_QOPATCH", line 2247

===========================================================
Dumping current patch information
===========================================================
Unable to obtain current patch information due to error: 20001
===========================================================

處理方法:

12.2:DB Alert.log shows ORA-20001: Latest xml inventory,ORA-06512: at "SYS.DBMS_QOPATCH","KUP-04004: error while reading file" (文檔 ID 2323937.1)

In this Document

APPLIES TO:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

SYMPTOMS

While restarting Oracle Database following Error messages are seen in the alert.log 

Unable to obtain current patch information due to error: 20001, ORA-20001: Latest xml inventory is not loaded into table
ORA-06512: at "SYS.DBMS_QOPATCH", line 777
ORA-06512: at "SYS.DBMS_QOPATCH", line 864
ORA-06512: at "SYS.DBMS_QOPATCH", line 2222
ORA-06512: at "SYS.DBMS_QOPATCH", line 740
ORA-06512: at "SYS.DBMS_QOPATCH", line 2247

===========================================================
Dumping current patch information
===========================================================
Unable to obtain current patch information due to error: 20001

 

qopatch_log.log shows :

XML_INVENTORY                   CHAR (100000000)
     Terminated by "UIJSVTBOEIZBEFFQBL"
     Trim whitespace same as SQL Loader
KUP-04004: error while reading file $ORACLE_HOME/QOpatch/qopiprep.bat
KUP-04017: OS message: Error 0
KUP-04017: OS message: $ORACLE_HOME/QOpatch/qopiprep.bat: line 55: $ORACLE_HOME/rdbms/log/stout_orc1.txt: Permission denied
cat: /oracle/db_sof
KUP-04118: operation "pipe read", location "skudmir:2"

 

CAUSE

Permission issue on the $ORACLE_HOME/rdbms/log directory
 

 

 

SOLUTION

  Perform the following :

  chmod 775 $ORACLE_HOME/rdbms/log
 

  $ORALCE_HOME/OPatch/datapatch -prereq 

 

 

REFERENCES

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM