By
Published: 23 Oct 2006
I have .dmp file in path /home/vikas on Linux. I want to import this in the Oracle database. To do this I have created a user by doing
[email protected] system/manager
SQL>create user <user> identified by <passwd>
default tablespace users temporary tablespace temp;
User Created
SQL>grant connect to <user>;
grant success
Now when I am trying to import file by giving the command:
SQL>imp <user>/<passwd> file=/home/vikas/<filename.dmp>;
It's giving me the error:
Export file created by EXPORT:V09.02.00 via direct path
IMP-00013: only a DBA can import a file exported by another DBA
IMP-00000: Import terminated unsuccessfully
I am using RedHat Linux EL3 and Oracle 9i.
As the error message says, only a user with the DBA role can import a file exported by a user who has the DBA role. Grant DBA to the user and then try the import again. If you do not need the DBA role, then revoke it after the import is done.
Dig Deeper on Oracle database backup and recovery
Oracle expert Brian Peasland answers one reader's question about common pitfalls when connecting Oracle to outside programs.
Continue Reading
One reader asks expert Brian Peasland a question about datafile sizes with the Oracle RMAN duplicate 10g command.
Continue Reading
Managing parent table-child table relations in Oracle SQL environments is key to efficient programming.
Continue Reading