'IMP-00013'에 해당되는 글 1건

  1. 2011.03.15 IMP-00013: only a DBA can import a file exported by another DBA

You created a user (USR001) and granted the roles EXP_FULL_DATABASE and IMP_FULL_DATABASE. This user is needed to perform full database exports/imports. When a full database export is started, this ends with error:

EXP-00023: must be a DBA to do Full Database or Tablespace export


A full database import ends with errors:

IMP-00013: only a DBA can import a file exported by another DBA
IMP-00000: Import terminated unsuccessfully


You verified the privileges and the granted roles are there:


SQL> select * from dba_sys_privs where grantee = 'USR001';

GRANTEE                        PRIVILEGE                                ADM
------------------------------ ---------------------------------------- ---
USR001                         CREATE SESSION                           NO

SQL> select * from dba_role_privs where grantee = 'USR001';

GRANTEE                        GRANTED_ROLE                   ADM DEF
------------------------------ ------------------------------ --- ---
USR001                         EXP_FULL_DATABASE              NO  NO
USR001                         IMP_FULL_DATABASE              NO  NOCause
The granted roles are not activated (DEFAULT_ROLE is NO).
Solution
First activate the roles with:


SQL> alter user usr001 default role all;

Then verify with:


SQL> select * from dba_role_privs where grantee = 'USR001';

GRANTEE                        GRANTED_ROLE                   ADM DEF
------------------------------ ------------------------------ --- ---
USR001                         EXP_FULL_DATABASE              NO  YES
USR001                         IMP_FULL_DATABASE              NO  YES
and re-start export/import, the roles are now activated (DEFAULT_ROLE is YES).

Posted by pat98
이전버튼 1 이전버튼

05-10 00:00
Flag Counter
Yesterday
Today
Total

글 보관함

최근에 올라온 글

달력

 « |  » 2024.5
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

최근에 달린 댓글