ORA-20001: Latest xml inventory is not loaded into table
检查一个数据库的alert日志时,无意中发现了如下报错信息。
2021-02-04T21:19:27.908503+08:00 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 2477 ORA-06512: at "SYS.DBMS_QOPATCH", line 894 ORA-06512: at "SYS.DBMS_QOPATCH", line 983 ORA-06512: at "SYS.DBMS_QOPATCH", line 2432 ORA-06512: at "SYS.DBMS_QOPATCH", line 857 ORA-06512: at "SYS.DBMS_QOPATCH", line 2457 |
在MOS文档:datapatch fails with : ORA-20001: Latest Xml Inventory Is Not Loaded Into Table, KUP-04017: OS message: Picked up _JAVA_OPTIONS: (Doc ID 2172655.1)中,对这个问题进行了解释,有可能是因为设置了_JAVA_OPTIONS环境变量。当前这个数据库环境,当初为了解决安装EM13c时OMS初始化失败的问题,在环境变量中的确设置过_JAVA_OPTIONS环境变量。
于是取消了_JAVA_OPTIONS环境变量的设置,并重新启动数据库,再次检查 数据库的alert日志,发现该问题已经解决。
担心取消_JAVA_OPTIONS环境变量后,EM13C会受到影响,于是也重启了EM13C环境,重启后EM13C也能正常工作,ok,那就这样了。