Oracle 10g, Export problem through OEM(轉)
ubject: Export/Import DataPump - Submitting DataPump Job via OEM Database Control Fails with ORA-20204 in SYSMAN.MGMT_USER
Doc ID: Note:294680.1 Type: PROBLEM
Last Revision Date: 29-DEC-2004 Status: PUBLISHED
The information in this article applies to:
- Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.2.0.0
- Oracle Server - Personal Edition - Version: 10.1.0.2 to 10.2.0.0
- Oracle Server - Standard Edition - Version: 10.1.0.2 to 10.2.0.0
This problem can occur on any platform.
ERRORS
——
ORA-20204: User does not exist: SCOTT
ORA-06512: at “SYSMAN.MGMT_USER”, line 121
ORA-06512: at “SYSMAN.MGMT_JOBS”, line 109
ORA-06512: at “SYSMAN.MGMT_JOBS”, line 48
ORA-06512: at line 1
SYMPTOMS
——–
1. In SQL*Plus, you create a directory object, and grant the read and write
privilege on that directory, and the DBA privilege to SCOTT:
connect system/manager
create directory my_dir as ‘/home/datapump’;
grant read, write on directory my_dir to scott;
grant dba to scott;
column grantee format A20
column privilege like grantee
column table_name like grantee
column granted_role like grantee
select * from dba_role_privs where grantee=’SCOTT’;
GRANTEE GRANTED_ROLE ADM DEF
——————– ——————– — —
SCOTT DBA NO YES
select * from dba_sys_privs where grantee=’SCOTT’;
GRANTEE PRIVILEGE ADM
——————– ——————– —
SCOTT CREATE TABLE NO
SCOTT CREATE SESSION NO
SCOTT UNLIMITED TABLESPACE NO
select grantee,table_name,privilege from dba_tab_privs where grantee=’SCOTT’;
GRANTEE TABLE_NAME PRIVILEGE
——————– ——————– ——————–
SCOTT MY_DIR WRITE
SCOTT MY_DIR READ
2. You log in as user SCOTT to the ‘Oracle Enterprise Manager 10g
Database Control’ on the URL: http://my_host.my_domain:5500/em
3. You try to submit an export DataPump job:
- On the main Database Summary page, click on the link ‘Maintenance’
- On the main Database Maintenance page, click under ‘Utilities’ on the link
‘Export to files’
- On the page ‘Export: Export Type’, select ‘Schemas’, provide the Host
Credentials (OS username/password) to submit a job, and click on ‘Continue’
- On the page ‘Export: Schemas’ (step 1), add the SCOTT schema, and click on
‘Next’
- On the page ‘Export: Options’ (step 2), specify the Directory Object ‘MY_DIR’
and change the name of the Log file to a file that does not already exist,
and click on ‘Next’
- On the page ‘Export: Files’ (step 3), specify the Directory Object ‘MY_DIR’
and change the name of the Dump file to a file that does not already exist,
and click on ‘Next’
- On the page ‘Export: Schedule’ (step 4), specify the Job Name (e.g. EXP_1),
and click on ‘Next’
- On the page ‘Export: Review’ (step 5), click on ‘Submit Job’
4. The submit of the job fails with:
Export Submit Failed
ORA-20204: User does not exist: SCOTT
ORA-06512: at “SYSMAN.MGMT_USER”, line 121
ORA-06512: at “SYSMAN.MGMT_JOBS”, line 109
ORA-06512: at “SYSMAN.MGMT_JOBS”, line 48
ORA-06512: at line 1
CAUSE
—–
The user SCOTT does not have the privileges (such as MGMT_USER) to submit
the job.
FIX
—
In the Enterprise Manager Console, add the user who will run the Export/Import
DataPump job as an Administrator who can login to Enterprise Manager to perform
management tasks like set Blackouts, email notification schedules.
- login as user SYSTEM (or user SYS) to the ‘Enterprise Manager 10g
Database Control’
- At the top right, click on the link ‘Setup’
- On the page ‘Administrators’, click on the button ‘Create’
- On the page ‘Create Administrator: Properties’, add the user who will run
the Export/Import DataPump job
- Click on the button: ‘Finish’
- On the page ‘Create Administrator: Review’, click on the button: ‘Finish’
- On the page ‘Administrators’, confirm that the user has been added.
- At the top right, click on the link ‘Logout’
Now login as the user who will run the Export/Import DataPump job (SCOTT),
and re-create the DataPump job.
—————————————-
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24104518/viewspace-715189/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Scheduler in Oracle Database 10g(轉)OracleDatabase
- Oracle 10g大檔案表空間(轉)Oracle 10g
- Oracle 10g(10.1.0.2)中的OPTIMIZER_INDEX_COST_ADJ(轉)Oracle 10gIndex
- Oracle 資料庫 10g中的分割槽功能(轉)Oracle資料庫
- 【OEM】Oracle oem取消開機自動啟動(linux)OracleLinux
- oracle 10g flashback databaseOracle 10gDatabase
- Oracle 10g 下載地址Oracle 10g
- oracle 10G特性之awrOracle 10g
- ISO 映象安裝oracle 10gOracle 10g
- Oracle 10g RAC故障處理Oracle 10g
- Oracle 10g 增刪節點Oracle 10g
- oracle 11g OEM在哪裡找到???Oracle
- Oracle的OEM 郵件告警通知設定Oracle
- Oracle 10g expdp attach引數體驗Oracle 10g
- Oracle 12C ORA-12545 While Connecting to RAC through SCAN NameOracleWhile
- 10g NewFeatures學習筆記(轉)筆記
- oracle 10g函式大全–日期型函式Oracle 10g函式
- 關於Oracle 10g ASM磁碟大小的限制Oracle 10gASM
- ORACLE9I升級到10G(zt)Oracle
- windows2008R2安裝oracle 10gWindowsOracle 10g
- Oracle 10g RAC 資料儲存更換Oracle 10g
- export 和 export default 區別Export
- oracle 10g建立資料庫鏈的簡化Oracle 10g資料庫
- AIX 5.3 Install Oracle 10g RAC 錯誤集錦AIOracle 10g
- JavaScript中的export、export default、exports和module.exports(export、export default、exports使用詳細)JavaScriptExport
- export和export default的區別Export
- import、require 、export、export default、exports、module exportsImportUIExport
- export/importExportImport
- oracle監聽檔案listener.ora for 10g/11gOracle
- oracle 10g在linux下的安裝及簡單命令Oracle 10gLinux
- 6.exports、module.exports、export、export defalutExport
- JavaScript ES6中,export與export defaultJavaScriptExport
- ES6:export 與 export default 區別Export
- ES6 export 和 export default的區別Export
- ES6 export && export default 差異總結Export
- Oracle從10g升級到11g詳細步驟Oracle
- 驗證Oracle 10g線上整理碎片索引是否失效過程Oracle 10g索引
- TableTools Export Excel前Table內容格式的轉換應用ExportExcel
- Sum Problem