ORA-19505 与 ORA-39126

本文记录了在使用Oracle12.1.0.2.0版本进行数据导出时遇到的两个常见错误及解决方案。错误一是ORA-19505和ORA-31617,涉及无法识别文件和打开转储文件写入的问题,在RAC环境中通过添加参数cluster=n解决。错误二是ORA-39126和ORA-06502,与Java源代码有关,通过排除java_source解决。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天处理数据,遇到两个报错,记录于下
数据库版本:


CORE    12.1.0.2.0  Production

21342624;
24846605;OCW Interim patch for 24846605
24340679;DATABASE BUNDLE PATCH: 12.1.0.2.161018 (24340679)

OPatch succeeded.

小补丁是打到2016年十月份的

报错1:

ORA-19505: failed to identify file "/home/oracle/backup/rms_10.dmp"
ORA-31617: unable to open dump file "/home/oracle/backup/rms_08.dmp" for write
ORA-19505: failed to identify file "/home/oracle/backup/rms_08.dmp"
ORA-31617: unable to open dump file "/home/oracle/backup/rms_11.dmp" for write
ORA-19505: failed to identify file "/home/oracle/backup/rms_11.dmp"
ORA-31617: unable to open dump file "/home/oracle/backup/rms_12.dmp" for write
ORA-19505: failed to identify file "/home/oracle/backup/rms_12.dmp"
ORA-31617: unable to open dump file "/home/oracle/backup/rms_09.dmp" for write
ORA-19505: failed to identify file "/home/oracle/backup/rms_09.dmp"
ORA-31617: unable to open dump file "/home/oracle/backup/rms_14.dmp" for write

这里是因为是rac环境,所以

加上参数
cluster=n

expdp system/****** parallel=15 directory=hdp schemas=rms dumpfile=rms_%U.dmp  logfile=rms.log 

报错2:

ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GATHER_PARSE_ITEMS [JAVA_SOURCE:"RMS"."oracle/retail/integration/services/consumer/DrillBackForwardUrlService/runtime/PingResponse_LiteralSerializer"] 
ORA-06502: PL/SQL: numeric or value error: character string buffer too small

这是提oracle support的一个问题,不过后来oracle support过期了 这个事情就不了了知了。可以认定为oracle 12c的一个bug

所以我只能过滤试试,再说我们也没有用到java_source这个东西

exclude=java_source

expdp system/****** parallel=15 directory=hdp schemas=rms dumpfile=rms_%U.dmp  cluster=n  logfile=rms.log exclude=java_source 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值