Share |

ORA-12560: TNS:protocol adapter error



If you are on Windows, you can use following batch script to do some default checks:
Ora12560.bat
Right click this link, choose save as and enter ora12560.bat as filename.
Next run the batch file in a dos box.

Following applies for Windows:

First of all, make sure you have set the correct ORACLE_SID:
C:\>sqlplus system/manager

SQL*Plus: Release 11.2.0.1.0 Production

ERROR:
ORA-12560: TNS:protocol adapter error

Enter user-name:
C:\>set ORACLE_SID=ORA112

C:\>sqlplus system/manager

SQL*Plus: Release 11.2.0.1.0 Production

Connected to:
Oracle Database
You can either set it before you startup sqlplus, or set it in the registry (HKEY_LOCAL_MACHINE\Software\Oracle\Key_ ; create a new string with name ORACLE_SID and value the name of your database)
When you have created a new registry value, make sure to open a new dos box before starting sqlplus.

If this does not work, probably the OracleService for the database is not running.

Check if the service is running, if not, startup the service.
It might be that the service is setup to only startup the service and not the instance as well.
On Windows, use the oradim utility to control this behaviour.

You will manually have to startup your database
C:\>sqlplus

SQL*Plus: Release 9.2.0.7.0 - Production 

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Enter user-name: / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error

Restart the service

C:\>sqlplus

SQL*Plus: Release 9.2.0.7.0 - Production 

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Enter user-name: / as sysdba
Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area  126951228 bytes
Fixed Size                   454460 bytes
Variable Size             109051904 bytes
Database Buffers           16777216 bytes
Redo Buffers                 667648 bytes
Database mounted.
Database opened.
If the service is running, you might be connected to the server using the Terminal Service Client / Windows Remote Desktop.
This is not supported by all versions of Oracle (before 9i).

One possible work around is to set the LOCAL environment variable in a dos box and try to connect again.

The difference between using LOCAL instead of ORACLE_SID is that LOCAL will try to connect through the listener, so it should run as well.
eg:
C:>set LOCAL=ORA920

C:>sqlplus

SQL*Plus: Release 9.2.0.7.0 - Production

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Enter user-name: / as sysdba
ERROR:
ORA-12541: TNS:no listener


C:>set LOCAL= C:>set ORACLE_SID=ORA920 C:>sqlplus SQL*Plus: Release 9.2.0.7.0 - Production Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. Enter user-name: / as sysdba Connected to: Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production With the OLAP and Oracle Data Mining options JServer Release 9.2.0.7.0 - Production

If the service is started and you are not using terminal services/remote desktop (using an unsupported version of Oracle) and you are relying on the default ORACLE_SID set for the Oracle Home Directory, than you're probably using the incorrect %oracle_home%.

Use Oracle Locator express to change the Oracle Home, startup a new command prompt and try again.

If you are on Windows, you can use following batch script to do some default checks:
Ora12560.bat

 Related Oracle Errors  TNS-00530: Protocol Adapter Error
 Was this information helpful?  Yes No
If it was not helpful, please take some time to explain why. This is not to ask questions, you can do so in the forum.

Welcome to our forum for Oracle error: ORA-12560 Add your own message



I wann create database from command prompt I created an instance init but whenever i m going to start that service by using oradim service not start.
please send me complete solution to create database in Oracle 9i
ORA-12560: TNS:protocol adapter error
I have installed oracle9i in my windows XP professional. Then i opend SQL*plus icon from start menu
then i entered scott as user, tiger as password after that i got a message like this

ERROR: ORA-12560: TNS:protocol adapter error

i install oracle9i in my system(xp2).then using username as system and password as manager and hoststring as no. but did not connect to database please help me.

This solved my problem.

http://compquiz.blogspot.com/2010/05/oracle-trouble-shooting.html

 
Information about Audit.
How can we do this... commands
 

Which services i have to start to resolve the issue.
 
On windows, you need to make sure the OracleServiceSID is running.
I have installed oracle 9i on windows xp but not the optional tools could be downloaded and when i log on as scott/tiger it gives protocol adapter error.i have also set oracle_sid=ora920 and also installed locator express the problem remains .

plz give me the sol asap.

Thanks
ruchi
Did you run the batch script?

Can you please post the output of the batch script?
Probably you have no correct service installed
 
I had installed Oracle 10 g on my new XP system, I didn't opted for creating the stater database while installation and the Oracle setup was sucessfull. While I start the Sqlplus and provide the login as scott/tiger , it gives me the following error : TNS:Protocol Adapter Error
i am trying to login through scott/tiger but not able to login it show protocol adaptor error .
i also tried sys & manager it will also not worked.
hi.i hv installed oracle 11g on vista.while installing i was asked to select an installation mode from many.i am totally naive to oracle.what i want among the plethora of oracle products is the SQLPLUS for carrying out few bsic commands like creating,tables n performing simple operation on them.while installing i set my own password for the username orcl.but now in the sqlplus.exe when i am asked the username n passwrd n i type what i chose while installing an error message(TNS: protocol adapter error) is displayed.kindly reply asap.need to pass upcoming VIVA test.
n btw sorry for grossing u out with my lack f info for u ppl seem too la-di-da for words.
Did you run the batch file, it will fix most of the problems
hi.i hv installed oracle 11g on vista.while installing i was asked to select an installation mode from many.i am totally naive to oracle.what i want among the plethora of oracle products is the SQLPLUS for carrying out few bsic commands like creating,tables n performing simple operation on them.while installing i set my own password for the username orcl.but now in the sqlplus.exe when i am asked the username n passwrd n i type what i chose while installing an error message(TNS: protocol adapter error) is displayed.kindly reply asap.need to pass upcoming VIVA test.
n btw sorry for grossing u out with my lack f info for u ppl seem too la-di-da for words.
Try to connect as '/ as sysdba'
 
If you didn't choose to create a database, you will have to create a new database.
You can use the database configuration assistant (dbca) for this
 
when i want to view my module in form developer by web page this error will appeared. please give me some advice thanks.
 
The ORACLE_SID is probably not configured in the forms server, so connections to a database will not work.
Check the forms configuration and adapt accordingly
 
please can anyone help out...my machine has only one database..if i try to connect yo database(10g)
without string name,it is not getting connected..geeting tns adapter error..help!
 
 
when i'm creating maual database that time i'm getting an error "ora-12560:tns:protocol adapter error"
how can i solve this error.
please help me.
 
hi all..
my db sid is orcl how can i find its serviice is runing.


rgds n advance
 
hai i am sureh,

following errors are display while i am connecting sql*plus,

ora 12560 : tns protocol adapter error. How to solve this problem

when i am connect as sysdba. i get ora-12560 error.

set oracle_sid=orcl;
sqlplus /nolog
sql> connect sys/sys as sysdba
get this error
ORA-12560: TNS:protocol adapter error

please help me
Do you actually have a service OracelServiceORCL running?

I am ashraf kamboh Punjab University Lahore Pakistan
Enter user-name: / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
then i set the :>set LOCAL=ORA920

now the error change form 12560 to 12154
plz help me
Because you set LOCAL you are going via a listener.

Check your tnsnames.ora file for the definition of ORA920
 
First i connected as system/password@hostname,
now i have given conn "/ as sysdba".
It is asking password.
Enter password:
what should i give here.
How to find the password for this.
 
It is the password you had to supply at creation time.

You can try with oracle, manager, change_on_install

 
Having the same talked by most here but in my is brand new installation (no instance) and after conclude the installation succesfuly once I try to create a new instance using the graphic api brough by oracle, the dam message appear again and again???, can someone help me out, i tried last night up to 3am and nothing... By the way my O.S. is Windows 2008Server 32b and Ora 10g R2 for vista 32b.

Any thoughs are going to be very appreciated...

Pedro
 
I have oracle database express edition when I try to connect from form builder 10g I get this error, and my OS is Windows Vista.
I even tried out the above solution C:\>sqlplus entered username and password, the result is the same error message, can you help me please..
 
As you have both an Oracle database and Oracle forms, what is your current Oracle home?
Is it the one of forms? If so, change it to the one of the database.

You can use Oracle Locator Express to change the homes.
 
I have oracle database express edition when I try to connect from form builder 10g I get this error, and my OS is Windows Vista.
I even tried out the above solution C:\>sqlplus entered username and password, the result is the same error message, can you help me please..
 
so, should I change to oracle database 10g? but it slows down my computer..
thank you..
 
i am trying to login through scott/tiger but not able to login it show protocol adaptor error and sometime it show database is not started or shutting down in progress. so can anyone please help me.
 
Are you sure the service is running?

Can it be that it crashes for some reason?

 
now I have oracle database 10g express edition when I try to connect from form builder 10g or from command prompt I get the same error, could my OS (Windows Vista) cause this problem?
 
Now only i installed Oracle 9i server. I tried to connect to Oracle using scott/tiger.
But it throws an error Protocol Adapter error. Plz help me to solve this problem.

Thanks in advance
 


We are facing an issue while connecting to Oracle 10G Express Edition via SQL PLUS and OTL Interface.



It is giving the below error:

a??ORA-12560: TNS:protocol adapter errora??



This appears to be a common error with ORACLE. We tried all the options that we read in various DB forums.



 
Can you give an example of how you connect, both via sqlplus and OTL?

 
Type svrmgrl at Run.
Svrmgrl prompt appears. type Connect Internal
then again type startup
and open your oracle. It will be working now!!!!

Enter your message

 

waht to type in vista.

When I type in vista svrmgrl it shows no result foun & no prompt opens ,, pls help.

Starting as of Oracle 9 you will need to use sqlplus instead of svrmgrl

 
Yester day it was working fine from today its showing "ORA- 12560: TNS: protocol adapter error" error.
I checked for services...
What should I do next?
Is your service running?

If not, please restart the service and check the oradim.log in your %ORACLE_HOME%/dbs directory

 
on starting oracle i got an error tns: protocol adapter error
Can you post the output of the steps performed?

When you connect as "/ as sysdba", does it say "Connected to an idle instance" ?

 
Is there a comprehensive material on Oracle TNS?
Oracle has all the manuals online, check tahiti.oracle.com
 
my database was working before.when i installed forms ans reports for 10g,my 9i database is not working..telling tns protocole error.ORA-12560: TNS:protocol adapter error
Forms is installed into a different Oracle home, which will become the default after installation.

When you try to connect to your database, you will see this behavior.

You have to change the default Oracle home back to the original one.
you can use our free tool "Oracle Locator Express" to change the Oracle home.

Click downloads on the left hand side, and choose the correct download.
 
When my application is running with the oracle database and suddenly if oracle gets shutdown for 5 minutes and if it again gets startup then my application try to get connection at that time it throwing this error. If i bring's down my application also and getting restarted everything it is getting and working fine!! But when it's(oracle) gets disconnected when my application is running it is trying to connect means it is not getting connected. Please help regarding this issue...?
 
OracleOraDb10g_home1TNSListner and OracleServiceORCL service are not started. Path to executable is blank in service Properties. If start the service then giving error message:

Could not start the OracleOraDB10g_home1TNSListner service on local Computer
Error 3: The system cannot find the path specified.
The best thing you can do is to remove the services and recreate them.

To remove and recreate the Oracle Service:
oradim -delete -sid ORCL
oradim -new -sid ORCL -startmode AUTO


To remove and recreate the listener service.
You can use our free tool "Oracle Listener Remover" to remove the listener.
next recreate the listener service by typing:
lsnrctl start


 
I am already installed the Oracle9i but after one month of time. I stop working on it.
Now whenever i try to enter the user name and password it giving me a ORA 12560 error. After that i deinstalled the software and reinstalled the software but the some component of the Oracle database is not installing properly and previously whenever i installed the oracle9i it ask me for the SYSTEM and other account password but now it not assking and even if i try the default id like
SCOTT and TIGER it not working and giving me ORA 12560 error....
If anyone is There please help me out because i cleared first paper of OCA 1zo 007 and just started prepartion of 1zo 147 paper and due to this mess i am not able do the practicse and check the output and how the query run
 
I am trying to login in the SQL PLus it gives me an error ORA-12560: TNS:protocol adapter error please help
 
Hola..
Tengo instalado forms 10g, pero cuando quiero correr la forma con el Oc4J arriba, el formulario no se muestra y me despliega el mensaje del ora-12650, y me muestra la pantalla de conexion, trato de conectarme a la base de datos y se queda hay no mostrando nada.
La conexion de sqlplus la ejecuta bien no tengo problemas, por favor si alguien me puede dar una luz se lo agradeceria.

Willi
 
when i am connect the oracle 9i:
username: scott
password: tiger.

it shows an error that is protocol adapter error. I don know what database name i gave for my database.. please tell me how to solve that protocol adapter error problem.. I need oracle 9i urgently.. Can anyone help me.. send the details of solving the problem how to solve it..
 
Dear all,
I installed oracle 9i database in winxp by giving software only option. Now i need to
create database on this. I know to create db in linux but i wanted to know how to create in winxp.
Please help me reguarding this issue.

 
i hv performed the steps stated above
but as i typed

SQL>startup
ora-01081:cannot start already-running
oracle - shut it down first
please solve my problem
i hv even started the service from my computer>manage>services

kindly help fast i hv to give my oracle xm on 7th september 08
please help....
 
Hello..
While running oracle 10g form, the erroe message "ORA-12560: TNS:protocol adapter error" appears.
Although there is no problem while connecting to sqlplus.

Thank you..

Ahmad.
 
Hello..
While running oracle 10g form the error message "ORA-12560: TNS:protocol adapter error" appears.
Although there is no problem while connecting to sqlplus.

Thank you..

Ahmad.
 
after doing what is given above i got error

D:\>sqlplus

SQL*Plus: Release 9.0.1.0.1 - Production on Tue Sep 16 20:54:07 2008

(c) Copyright 2001 Oracle Corporation. All rights reserved.

Enter user-name: / as sysdba
ERROR:
ORA-24314: service handle not initialized
 
Plase help me to get out of this error -

ORACLE initialization or Shutdown in Progress...
It appears when i tried to login to SQL using SCOTT/TIGER..

Thanx in advance..
You have to restart the database:

sqlplus "/as sysdba"

startup force
 
I installed oracle server 9i in client server arch............my oracle server working properly.....I installed oracle clint on clint pc..............when i try to connect oracle server using sqlplus it gives error ORA-12560: TNS:protocol adapter error.
Help me....................
 
I was doing the steps stated above but got some differnt result.....

C:\>sqlplus

SQL*Plus: Release 9.0.1.0.1 - Production on Wed Oct 22 14:32:07 2008

(c) Copyright 2001 Oracle Corporation. All rights reserved.

Enter user-name: / as sysdba
ERROR:
ORA-24314: service handle not initialized

Enter user-name:


what should i do?
 


I have a problem in SQL Developer and the problem is that is that getting connected to Oracle instance namely ORCL but i can access oracle using same credentials using SQL Plus but not connecting in SQL Developer tool. When i click on test it show Success but it is not neither connect or show some response
What are you using for the connection type in Sql Developer?

Is it basic authentication? If so, are you using the SID or Service Name?

Thanks for the quick response.

The Connection type that i use is mostly TNS but it doesn't show any response even if i chooses the basic connection type too In Basic i use SID as 'ORCL'
 
How do i display the error message for ORA 28002 in powerbuider incase this error occurs
 
THIS ISSUE OCCURS WHILE STARTING ORACLE SERVICES. I HAVE ASSIGNED ALL THE RIGHTS. I HAVE INSTALLED ON BAD OS CALLED VISTA HOME BASIC. PLEASE GUIDE OR SUGGEST ME TO GET ORACLE IN WORKING CONDITION WHICH IS POSSIBLE IF SOME ONE CAN RESOLVE THIS ISSUE.
 
ORA-12560 occured when log on.what to do ?
 
Microsoft Windows XP http://Version 5.1.2600
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\landon kelsey>cd\

C:\>sqlplus / as sysdba >>>>>> I tried all sorts of combinations (works everytime under Fedora 9)

SQL*Plus: Release 11.1.0.6.0 - Production on Wed Dec 31 21:19:57 2008

Copyright (c) 1982, 2007, Oracle. All rights reserved.

ERROR:
ORA-12560: TNS:protocol adapter error

XP Prof SP3 UNEVENTFUL SUCCESSFUL INSTALL...NO ERRORS

Yes I created a database!
ALL THESE 3 ARE SET
ORACLE_HOME
ORACLE_SID
ORACLE_GDN
FIREWALLS INTRUSION PREVENTION OFF
LISTENER ON
ORACLE DATABASE SERVER IS STARTED
REBOOTED MANY TIMES

I DO THE SAME THING UNDER FEDORA 9 AND EVERYTHING IS OK!

I've done a search on 12560 in this forum and I seen nothing I've forgotten.

I also did a google search and NOTHING

I could understand if it had been a week or two and I had messed with all sorts of internal.

It must therefore be something simple!

The problem with most Oracle docs is that they jump immediately

into the deep details where neophytes can't swim. This doc problem has only gotten worse.

Marketing content is also in the way.

files but NOT!

SQLDEVELOPER shows tabs for MySQL and MS SQL Server! Great! I don't remember seeing that under Fedora 9!
Hello,

In order to solve your problem, can you please post the following info.
Open a dos-box (command prompt) and issue the following set command to see your ORACLE_SID environment

set ORACLE_SID


next, post the result of path command
path


Now, download following tool, choose (Download demo project - 4.44 Kb):
http://www.codeproject.com/KB/cs/svcmgr.aspx


You might need to have an account, it's free.

When you've downloaded the tool, execute it with following parameters:
C:\>svcmgr  YOURMACHINENAME OracleServiceORA11G
Service Name : OracleServiceORA11G
Display Name : OracleServiceORA11G
Service Status : Running
Service Type : Win32OwnProcess
Service Can Stop : True
Service Can Pause / Continue : True
Service Can Shutdown : True
0 Depended Service(s) :


Change ORA11G of parameter OracleServiceORA11G to match your ORACLE_SID

Please paste the output of all commands so we can check if all this is ok.

You might also want to copy the following logfile:
C:\oracle\product\11.1.0\db_1\database\oradim.log


The directory can be different of course, change it to reflect your environment.

 
Hi.. is there any solution to connect to local database from Remote Desktop? When I physically sit on PC it work fine but not on Remote Desktop. I have set all necessary variables.
Set LOCAL=
set ORALCE_SID= MySID

My TNS-LISTNER IS working, database instance also running. I am able to connect through client but not to local instance from Remote Desktop

Your help is highly appreciated..

Thanks in Advance

KING
When connecting to a local database via Remote desktop connection, you need to set the LOCAL environment variable, and not the ORACLE_SID
 
Hi
I have applications running on a Windows 2000 server.
They talk to an oracle 8.1.7 db on the same box via BDE.
Why is it that my applications start giving the ORA 12560 Protocol Adapter Error after about 2 days of problem free running.
There is also a Windows NT box with applications talking to the same DB which continue to run despite the errors on the applications on the first box.
Can anyone help?
 
when i Log in to sqlplus enter the user name scott and password tiger I got the error TNS:12506 :Protocol adapter error . Why this error comes please clear it.
Did you run the checks given in the error explanation above?
Did you run the batch file? What was the result of the run?
 
Hi,

I can able to login from the SQLPLUSW.exe with the required user/pwd and host
but when i try on SQLPLUS.exe the ORA-12560 is coming
Now this error is been resolved when i do "%oraclepath%>bin>sqlplus /nolog" and next is SQL>
i did
D:>path% SET LOCAL=ORA920
D:>path% SET ORACLE_SID="MYSID"(i know the name :) )
ANd Now when i directly used %path%>bin>sqlplus and it ask for username/pwd
user: valid one
password: valid one too : but this give me the ORA-12124 : TNS could not resolve the service...
Please provide the solution
 
I can able to login from the SQLPLUSW.exe with the required user/pwd and host
but when i try on SQLPLUS.exe the ORA-12560 is coming
Now this error is been resolved when i do "%oraclepath%>bin>sqlplus /nolog" and next is SQL>
i did
D:>path% SET LOCAL=ORA920
D:>path% SET ORACLE_SID="MYSID"(i know the name :) )
ANd Now when i directly used %path%>bin>sqlplus and it ask for username/pwd
user: valid one
password: valid one too : but this give me the ORA-12154 : TNS could not resolve the service...
Please provide the solution
You need to set either LOCAL or ORACLE_SID, you don't want to use both.
 
I have oracle 9i and tomcat server. when I am working on tomcat server then i do manually shutdown the oracle 9i. But some days later when i am going to connect with oracle 9i the it was not connecting to the database. so I have created a new database with another name. now i want to opn my old database but it is showing error 12560.

I have taken help from your website about error 12560. but not get successful result.

your website give help like
C:>sqlplus

SQL*Plus: Release 9.2.0.7.0 - Production

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Enter user-name: / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error




Restart the service

C:>sqlplus

SQL*Plus: Release 9.2.0.7.0 - Production

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Enter user-name: / as sysdba
Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area 126951228 bytes
Fixed Size 454460 bytes
Variable Size 109051904 bytes
Database Buffers 16777216 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.

but when i am typing like
c:\>sqlplus (then Enter)

SQL*Plus: Release 9.2.0.7.0 - Production

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Enter user-name: / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error


Enter user-name:



Again want user-name not like your giving example on website

Please give detail how to solve this problem.


Did you set the ORACLE_SID before starting sqlplus?

You can run the batch file which can be downloaded on top of the tip, this will correct some incorrect settings.
So please run the batch file, and put the output here if you still encounter problems.
 
when i installed oracle then first of all i had no oracleoracleTNSListener started even not starting manually as it was not working in the services(start>control panel>performance and maintenance>administrative tools>services).
i uninstalled it from start>all programs>oracle installation products>universal installer>deinstall products>selecting all trees and subtrees>remove.
i installed the setup again.then i got the listener but still the error persists.
but during the installation i notted that database failed to be created.i created it manually by:-
all programs>oracle-oracle>configuration and migration tools>database configuration assistant(one has to remember the "name.domain" filled during the installation,other settings are default one).
 
Its simple guys just two steps:-

=> Install oracle 9i normally...

=> Go to "Database Configuration Assistant" and create a new DB...
This creates a new instance for you to use in SQL Plus.

Once the DB is successfully created U r DONE!!

Now open SQL plus and use scott/tiger to login.

Enjoy

i need oracle 10g dbase ,not oracle9i

 

I installed oracle10g db using windowxp ,now when i want to login in sqlplus it give an error i-e

ora12560 tns:protocol adapter error

plz give me essey solution

i will be thankful

ahmad

Can you please run the batch script in a dos box and paste the output here?

 

 

 

Enter your message above problem still iam having.pls help

What is the output when you run the batch script?

 

HI

after installing the oracle software i entered the

username:scott

password:tiger

it showed me an error sayin

ora-12560 TNS:protocal adapter error..

what shd i do?

can u plz tell me in detail

regards

aparna

Did you run th ebatch file? What is the result of it.

What checks did you already perform? Did you follow all steps in the explanation?

 

 

I had the same issue (ora-12560) when I tried to logon to Oracle database through remote desktop connection.  If I directly logon to the console or logon to the console through VMWare, I do not have ora-12560 problem to logon to the database.

 

When I connect with form builder and then its connectivity with Ecplorer the Tns Error 12560 tns  protocol error appear

 

make sure you provide a SID when making a connection

 

Iam not able to perform the error repairing thing as illustrated as above...

 

Are you on Windows? If so, did you try to run the batch script?

What is the output, can you please post it here?

 

i have an oracle database installed and it was working perfectly until recently. when i open the oracle instance it displayed the error message ORA-01033 oracle initilization  or shut down in progress and when trying to connect from the SQLPLUS it will display the error message ORA-01260 TNS protocol adapter error. I have tried every possible methods please help.

Was a new ORACLE_HOME installed recently on this database server?

If so, and you are on Windows, you can use the Oracle Locator Express free tool to switch back to the original ORACLE_HOME.

 

If that still does not work, and you are on Windows, please post the results of the ora12560.bat file you can find on top of this description

 

 oracle 10g inst was successfull but I am trying to login in the SQL PLus by giving the scott , tiger  it gives me an error ORA-12560: TNS:protocol adapter error please help me as soon as posible

Is the OracleSID Service running on your system?

Open the Services Control Panel and see if it is active/running

 

I run the ora12560.bat but it doesn't  work  and  it gives me this error :


Unable to start the OracleServicemydb
Use oradim to create a service:
oradim -new -sid mydb

 

what should I do ?

If the database you are trying to access is called MYDB, you will need to execute the command as given by the batch script:

oradim -new -sid mydb

 

I run the ora12560.bat but it doesn't  work  and  it gives me this error :


Unable to start the OracleServicemydb
Use oradim to create a service:
oradim -new -sid mydb

 

what should I do ?

 

after installing the oracle software i entered the

username:scott

password:tiger

it showed me an error sayin

ora-12560 TNS:protocal adapter error..

what shd i do?

can u plz tell me in detail

but actually my default database is deleted from my friend & my own database is present in oracle. i don't want reinstall oracle. i think if i restore my default database its problem will solve so plz help me. 

What is the result of the batch script?

 

after installing the oracle software i entered the

username:scott

password:tiger

it showed me an error sayin

ora-12560 TNS:protocal adapter error..

what shd i do?

can u plz tell me in detail

but actually my default database is deleted from my friend & my own database is present in oracle. i don't want reinstall oracle. i think if i restore my default database its problem will solve so plz help me. 

 

REGARDS,

TUSHAR

 

i created 14 rows table....i want see in "empno,ename,...................deptno"the headdings are in oneline

type as below":

desc tablename;

 

hi i m viney i want to soultion about error 12560 tns protcal adapter error. how can i connect with oracle.

What are the steps you already performed to investigate this issue?

Did you run the ora12560.bat file? What was the output?

 

Can anybody help me out

First I install Developer 6, then i install oracle 9i.

When i try to connect to sql plus using scott/tiger or system/manager it gives following error

 

ORA-12560: TNS: Protocol adapter error

Can anybody urgently help me out please.

 

Thanks in advance 

Ahmee - the known stranger

Use our Oracle Locator Express to switch back to the correct Oracle Home (the one of your database).

You also need to provided an Oracle SID when making the connection (your database name)

 

Hi All,

Can you please help me to resolve the error of TNS protocol. I have tried all the meathod mentioned above but none of it works for my system. I have Oracle 11g and i have dell laptop of 62bit OS. I have downloaded 64 bit version of 11g but still i am getting this error.Can someone help me with this?:(

Thanks

Theju

So did you set the ORACLE_SID before logging in via the command prompt? 

Do you have a screenshot, or the output of the ora12560.bat command you can download from this page?

i have set the ORACLE_SID to orcl but still its not working. I followed the below steps.

C:>set ORACLE_SID=ORCL

C:>sqlplus

SQL*Plus: Release 9.2.0.7.0 - Production

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Enter user-name: here i tried for sys,system,mysys,scott

Enter password:- Tried manager,oracle,tiger

It dint work:(

 

 

Hi,

I have problem logging in through command prompt. I installed oracle 10g on my system and it worked properly for a while then when i tried o open it on dos i get the message Error - ora - 1250: TNS: protocol adaper error. Pls i need some assistance on how to solve this problem. Thanks

Either set the ORACLE_SID before you connect to the database in ms-dos, or set the ORACLE_SID in the registry (HKEY_LOCAL_MACHINE\software\oracle\KEY_Oracle...) 

i have set the ORACLE_SID to orcl but still its not working. I followed the below steps.

C:>set ORACLE_SID=ORCL

C:>sqlplus

SQL*Plus: Release 9.2.0.7.0 - Production

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Enter user-name: here i tried for sys,system,mysys,scott

Enter password:- Tried manager,oracle,tiger

It dint work:(

So if you open up the Services window from Control Panel, you do have a service named OracleServiceORCL and it is running?

 

I did copy all the files to standby and trying to start the stand by with the credentials of primary database.

 

I am getting the error-ora - 1250: TNS: protocol adaper error

I did set the SID

Thanks in advance for the help.

James

 

 

Sir

When starting the stand by server logical getting error ORA-01031:insufficient privileges

 

Thanks

 

James

Make sure your user is in the ORA_DBA group

Make sure sqlnet.authentication_mode is set to NTS

Check the ORA-01031 error for more information

 

I DOWNLOAD THE ORACLE 10G FROM THE NET AND INSTALLED IN MY SYSTEM AND SAME WAS SUCCESSFULL, BUT I AM NOT ABLE TO OPEN THE SQL*PLUS, I REQURIED A USERNAME,PASSWORD AND HOST STRING FOR THE SAME. i ALREADY TRIED SYSDBA/MANAGER,SCOTT/TIGER BUT I AM NOT ABLE TO LOGIN. KINDLY HELP ME IN THIS REGARDS. I AM GETTING THE ERROR : TN PROTOCAL ADAPTER ERROR.

Did you set a ORACLE_SID before connecting to the database?

If you do not provide it during connect, it relies on the default ORACLE_SID. If this is not set as well, you will get this error.

So either set a ORACLE_SID, or connect using the SID: sqlplus system/manager@orcl

 

 

How to resolve error number ORA-12560: protocol adapt error in oracle, whenever i open SQL PROMPT it will occur. what can i do to not occur again this error.

 

How to resolve error number ORA-12560: protocol adapt error in oracle, whenever i open SQL PROMPT it will occur. what can i do to not occur again this error.

 

It's wrong info..

plz..dont  beleive this ......

A lot of people were able to solve their problems using this information. 

What's wrong with the info? Does it not work for you? If so, what steps did you do of this note? Did you run the batch file which is included? It should fix/tell you most of the common mistakes.

If after all these steps you still get this error, don't be afraid to supply some positive information/steps/examples of the actions you did, and we'll try to solve your problem. For free.

 

i'm using Oracle 10g in Windows 7 32-bit.

initially it was working properly..

But when i installed quick Heal total security  2010 after that i'm unable to connect Oracle 10g database.

while connecting i got error message as----

ERROR:

ora-12560 : TNS: protocol adaptor error

please help me out with this error.

Check that the install program did not remove the Oracle software folder from the %PATH% variable.
If so, reinclude your %ORCEL_HOME%/bin back to the PATH

Check to make sure you still have a registry entry HKEY_LOCAL_MACHINE\software\oracle\Key_<your oracle home name>, and that it includes an entry ORACLE_SID wjich points to the correct ORACLE_SID.

 

Add your message

 Please provide your personal info 



 Please ask your message as briefly and clear as possible 

 Spam Protection 
Validation Code: hheyz5egiwusvwcz4


Ask Your Question

If you need more information about this particular error message, you can leave a forum message.

We are replying to this message whenever we have some spare time, so please do not consider this as a private 'solve my critical issue asap' service.

Should you need professional Oracle Assistance to make your project a success, please have a look at our consultancy services.


Spam Protection

In order to prevent automatic generation of messages, we are asking for a validation code. This code is unique and is generated every time a new message is asked.

If you do not enter the validation correctly, your message will not be recorded.


Forum Rules

Please be polite, do not USE ALL UPPERCASE, no insults, violance or any other threats.