【发布时间】:2019-02-09 00:30:53
【问题描述】:
原来,脚本是这样的:
C:\Windows\system32>expdp anna/12356@inst2
PARFILE=E:\expdp\db001\_db001.par
Export: Release 11.2.0.3.0 - Production on Mon Sep 3 22:59:30 2018
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP and Data Mining options
ORA-31626: job does not exist
ORA-31637: cannot create job SYS_EXPORT_SCHEMA_01 for user
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT", line 1002 ORA-39001: invalid argument value
然后我在网上搜索并阅读了所有类似的案例,但没有一个与我的案例完全相同。我准备好目录、用户权限和所有其他东西,但它仍然显示错误。
然后我试图缩小根本原因的范围。当我输入以下脚本时:
C:\Windows\system32>expdp anna/12356@inst2
报错如下图:
似乎 expdp 实用程序无法识别用户名/密码“anna/12356” 有谁知道这是怎么来的以及如何解决?
【问题讨论】:
-
当你作为 sys 尝试时它是否工作(将 sys 替换为 sys-pw)?
expdp \"SYS/sys AS SYSDBA\" -
我尝试了sys、system和其他一些用户,但都没有工作。错误是一样的。通常我们会得到 [ORA-31637: cannot create job SYS_EXPORT_SCHEMA_01 for user "blablabla"],但就我而言,在 "user" 之后什么都没有。我想也许 expdp 实用程序已损坏,我同时运行“utlrp.sql”和“catclust.sql”,但它仍然没有工作。