|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
IMP: ORA-12560 TNS:protocol adapter error
Hi,
I have installed a Oracle 8.1.7 database and trying to import an existing dump, but I'm getting the error message "ORA-12560 TNS rotocol adapter error" when running the IMP command (see below). The instance already exist, but I want to overwrite existing data. I can connect to the database from the database server itself and another client machine. Can I overwrite thethis, or do I have to create an empty database instance?I getting this "ORA-12560" when I'm trying to run other Oracle tools as well. Any clues what I'm missing? IMP-command -------------- C:\oracle\ora81\bin>set ORACLE_SID=prosty C:\oracle\ora81\bin>imp userid=system/manager full=y ignore=y file=T18820040729.dmp log=T18820040729 .log Import: Release 8.1.7.0.0 - Production on Mon Aug 2 15:49:58 2004 (c) Copyright 2000 Oracle Corporation. All rights reserved. IMP-00058: ORACLE error 12560 encountered ORA-12560: TNS rotocol adapter errorIMP-00000: Import terminated unsuccessfully |
|
#2
|
|||
|
|||
|
If the Oracle instance is on another physical box then you need to define TWO_TASK
something like this: Code:
export TWO_TASK=prosty OTherwise you have a network or SQLNet problem.... |
|
#3
|
|||
|
|||
|
Hi,
I have the same problem on 2 different W2K systems with 8.1.7 EE. SQL+ or PL/SQL Developer is no problem, even from a client to connect to those databases but local on those pc's I can't start the import except when I add the ORACLE_SID to the import params like: C:\oracle\ora81\bin>imp userid=system/manager@prosty full=y ignore=y file=T18820040729.dmp log=T18820040729.log Maybe this can solve your problem. I have checked the registry ORACLE_SID and add just like you did an environment ORACLE_SID with "set ORACLE_SID=prosty" (in your example) but it didn't work. If you know ho to do the import without the "@prosty" param then let me know. |
|
#4
|
|||
|
|||
|
Somehow your Oracle service is not running start the service then try to import data.
Go to control Panel -> services |
|
#5
|
|||
|
|||
|
For Hans Brenkman,
You only need to specify instance name with your user and password when you have more than one databses. Regards, |
|
#6
|
|||
|
|||
|
Solution
Hi,
It seems like you cant run different Oracle tools from the Terminal Server, and I had to ask a collegue for starting a Netmeeting session, and I could start the command properly. Thanks for the response everyone.... ![]() |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > IMP: ORA-12560 TNS:protocol adapter error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|