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