又一次体验到 libpath -凯发app官方网站

凯发app官方网站-凯发k8官网下载客户端中心 | | 凯发app官方网站-凯发k8官网下载客户端中心
  • 博客访问: 3502700
  • 博文数量: 718
  • 博客积分: 1860
  • 博客等级: 上尉
  • 技术积分: 7790
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-07 08:51
个人简介

偶尔有空上来看看

文章分类

全部博文(718)

文章存档

2024年(4)

2023年(74)

2022年(134)

2021年(238)

2020年(115)

2019年(11)

2018年(9)

2017年(9)

2016年(17)

2015年(7)

2014年(4)

2013年(1)

2012年(11)

2011年(27)

2010年(35)

2009年(11)

2008年(11)

最近访客
相关博文
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·

分类: oracle

2021-06-28 12:54:29

 expdp 报错

  1. [backup:oracle]:/home/oracle>r exp
  2. expdp parfile=user1.par
  3. export: release 11.2.0.4.0 - production on mon jun 28 10:09:36 2021
  4. 凯发app官方网站 copyright (c) 1982, 2011, oracle and/or its affiliates. all rights reserved.
  5. connected to: oracle database 11g enterprise edition release 11.2.0.4.0 - 64bit production
  6. with the partitioning, olap, data mining and real application testing options
  7. starting "user1"."sys_export_table_08": user1/******** parfile=user1.par
  8. estimate in progress using blocks method...
  9. processing object type table_export/table/table_data
  10. total estimation using blocks method: 30.76 gb
  11. processing object type table_export/table/table
  12. ora-39126: worker unexpected fatal error in kupw$worker.fetch_xml_objects [table:"user1"."insfensum"]
  13. ora-19051: cannot use fast path insert for this xmltype table
  14. ora-06512: at "sys.dbms_sys_error", line 95
  15. ora-06512: at "sys.kupw$worker", line 9715
  16. ----- pl/sql call stack -----
  17. object line object
  18. handle number name
  19. 7000101fa513c18 21979 package body sys.kupw$worker
  20. 7000101fa513c18 9742 package body sys.kupw$worker
  21. 7000101fa513c18 11838 package body sys.kupw$worker
  22. 7000101fa513c18 2808 package body sys.kupw$worker
  23. 7000101fa513c18 10422 package body sys.kupw$worker
  24. 7000101fa513c18 1824 package body sys.kupw$worker
  25. 7000101fb24ff60 2 anonymous block
  26. processing object type table_export/table/table
  27. ora-39126: worker unexpected fatal error in kupw$worker.fetch_xml_objects [table:"user1"."insfensum"]
  28. ora-19051: cannot use fast path insert for this xmltype table
  29. ora-06512: at "sys.dbms_sys_error", line 95
  30. ora-06512: at "sys.kupw$worker", line 9715
  31. ----- pl/sql call stack -----
  32. object line object
  33. handle number name
  34. 7000101fa513c18 21979 package body sys.kupw$worker
  35. 7000101fa513c18 9742 package body sys.kupw$worker
  36. 7000101fa513c18 11838 package body sys.kupw$worker
  37. 7000101fa513c18 2808 package body sys.kupw$worker
  38. 7000101fa513c18 10422 package body sys.kupw$worker
  39. 7000101fa513c18 1824 package body sys.kupw$worker
  40. 7000101fb24ff60 2 anonymous block
  41. job "user1"."sys_export_table_08" stopped due to fatal error at mon jun 28 10:09:46 2021 elapsed 0 00:00:08
一共对3个用户分别导出,但是另外两个用户导出没错。

根据报错去mos上搜一下ora-39126、ora-19051,大多是ora-19051相关错误,提示xmldb相关或者与ld_library_path_64有关
检查xmldb组件状态

  1. select comp_name,version,status from dba_registry where comp_name like '%x%';
都是valid,没有问题。
况且有两个用户导出都正常。

看看环境变量

  1. [backup:oracle]:/home/oracle>env|grep lib
  2. km_crypto_lib_path=/usr/lib/libkmcryptolib.so
  3. r_shlib_ld_library_path=/usr/lib
  4. km_support_lib_path=/usr/lib/libkmsvcshlib.so
  5. libpath=/oracle/app/oracle/product/10201/db/lib:/oracle/app/oracle/product/11204/db/lib
  6. ld_library_path=:/oracle/app/oracle/product/11204/db/lib:/oracle/app/oracle/product/11204/db/rdbms/lib:/lib:/usr/lib
这是一个测试环境,有多个home,libpath指向了10g的home,而我当前的库是11g的,于是去掉10201的。
export libpath=/oracle/app/oracle/product/11204/db/lib
重启实例,再次导出

  1. [backup:oracle]:/home/oracle>r expdp
  2. expdp parfile=user1.par
  3. export: release 11.2.0.4.0 - production on mon jun 28 10:45:15 2021
  4. 凯发app官方网站 copyright (c) 1982, 2011, oracle and/or its affiliates. all rights reserved.
  5. connected to: oracle database 11g enterprise edition release 11.2.0.4.0 - 64bit production
  6. with the partitioning, olap, data mining and real application testing options
  7. starting "user1"."sys_export_table_09": user1/******** parfile=user1.par
  8. estimate in progress using blocks method...
  9. processing object type table_export/table/table_data
  10. total estimation using blocks method: 30.76 gb
  11. processing object type table_export/table/table
  12. processing object type table_export/table/grant/owner_grant/object_grant
  13. processing object type table_export/table/comment
  14. processing object type table_export/table/index/index
  15. processing object type table_export/table/constraint/constraint
  16. processing object type table_export/table/constraint/ref_constraint
  17. . . exported "user1"."jfee" 11.79 gb 74297144 rows
  18. . . exported "user1"."jtfcrossbank" 7.329 gb 28822773 rows
  19. . . exported "user1"."ecciflimitrt" 2.705 gb 38257466 rows
  20. . . exported "user1"."jvoucherprint" 1.856 gb 2647084 rows
  21. ...
导出正常了。

又一次感受到 libpath 的作用还有混乱环境带来的麻烦。
阅读(1164) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
")); function link(t){ var href= $(t).attr('href'); href ="?url=" encodeuricomponent(location.href); $(t).attr('href',href); //setcookie("returnouturl", location.href, 60, "/"); }
网站地图