dbTalk Databases Forums  

How to import a .DMP file?

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss How to import a .DMP file? in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rainer Venema
 
Posts: n/a

Default How to import a .DMP file? - 05-06-2009 , 02:55 AM






Hello all,

I have received a .DMP file of an Oracle database. Unfortunately, I do
not know any details on how this file was created. When I try to
import the file using the 'imp' utility, I get an error message
(sorry, it is in German)
ORA-12560: TNS: Fehler bei Protokolladapter

Can anybody help me what´s going wrong? Sorry, but up to now I have
little experience with Oracle.

Thanks in advance,
Rainer

Reply With Quote
  #2  
Old   
ddf
 
Posts: n/a

Default Re: How to import a .DMP file? - 05-06-2009 , 07:07 AM






On May 6, 2:55*am, Rainer Venema <rainer.ven... (AT) gmx (DOT) net> wrote:
Quote:
Hello all,

I have received a .DMP file of an Oracle database. Unfortunately, I do
not know any details on how this file was created. When I try to
import the file using the 'imp' utility, I get an error message
(sorry, it is in German)
* * ORA-12560: TNS: Fehler bei Protokolladapter

Can anybody help me what´s going wrong? Sorry, but up to now I have
little experience with Oracle.

Thanks in advance,
Rainer
That is not an imp error, but a connection error. You need ORACLE_SID
set in your local environment, TWO_TASK set to a remote database or
you need to pass a valid TNS alias in the connection string. Valid
methods follow:

UNIX/Linux local connection --

$ ORACLE_SID=mydb; export ORACLE_SID
$ imp user/pass file=...

Windows local connection --

c:\> set ORACLE_SID=mydb
c:\> imp user/pass file=...

UNIX/Linux TWO_TASK connection --

$ TWO_TASK=mydb; export TWO_TASK
$ imp user/pass file=...

Client connection --

c:\> imp user/pass@mydb file=...

You'll need to check your local tnsnames.ora file for valid aliases
you can use; the file is usually located under the $ORACLE_HOME/
network/admin directory on UNIX/Linux and under %ORACLE_HOME%\network
\admin on Windows (yes, it's the same relative location, the syntax
for the operating system differs between UNIX/Linux and Windows).

Further information is avaiable at http://tahiti.oracle.com.


David Fitzjarrell


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.