Running Oracle IMP as SYSDBA

Bob Perkins picture Bob Perkins · Jun 10, 2013 · Viewed 26.4k times · Source

I need to import an ORACLE 9 DMP file into a newly installed Oracle 11g. I'm using the imp utility and using SYSMAN as the login. I get to the point to restore and am told 'only a DBA can import a file exported by another DBA'. When I try and use SYSDBA blank password does not work. When I use SQLPLUS / as SYSDBA and then try and assign a new password I'm told SYSDBA does not exist. If I try and log in as SYS I'm told to login as SYSDBA.

Answer

Smit Patel picture Smit Patel · Sep 5, 2013

Try following syntax to use imp as sysdba:

imp \'sys/sys as sysdba\' file=/oracle/implog.dmp log=imp.log full=y