重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 372|回复: 0
打印 上一主题 下一主题

[Oracle] ORA-20001: Latest xml inventory is not loaded into table

[复制链接]
跳转到指定楼层
楼主
发表于 2024-8-8 15:07:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
场景:19.24的数据库软件,但是上面的备库与19.3版本的主库进行同步
操作:将备库激活,并从19.3升级到19.24

由于数据库软件已经是19.24,所以只需要执行命令:
cd $ORACLE_HOME/OPatch
./datapatch -verbose


结果执行报错:
2024-08-08T10:54:33.165022+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 2327
ORA-06512: at "SYS.DBMS_QOPATCH", line 854
ORA-06512: at "SYS.DBMS_QOPATCH", line 937
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "SYS.DBMS_QOPATCH", line 932
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-29400: data cartridge error
KUP-04095: preprocessor command /u01/app/oracle/product/19.0.0/db_1/QOpatch/qopiprep.bat encountered error "locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Can"
ORA-06512: at "SYS.DBMS_QOPATCH", line 919
ORA-06512: at "SYS.DBMS_QOPATCH", line 2286
ORA-06512: at "SYS.DBMS_QOPATCH", line 817
ORA-06512: at "SYS.DBMS_QOPATCH", line 2309


查找官方文档,显示问题是:
$ locale LC_CTYPE | head
If you do not see ISO-8859-15 listed in the output, that means the ISO-8859-15 Locale is not installed.
Refer to KM article - The Correct NLS_LANG Setting in Unix Environments (Doc ID 264157.1) to determine the correct Locales installed.

也就是操作系统上面缺少语言包
检查发现操作系统确实只有中文

解决办法:yum install glibc-langpack-en
安装再次执行,无报错,升级成功

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-28 14:55 , Processed in 0.095616 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表