ORA-12560 TNS protocol adapter error--URGENT HELP!
To Experts:
I tried to log in the SQL by using the username: system, manager for password. however, it gave me the message:
ORA-12560 TNS protocol adapter error.
I am using Oracle 9i and Developer 6 in Wins XP environment.
Thank you much!
Yes,Thank you very much.I am ok to invoke these commands.
the listener started already.The listener name is just LISTENER.But i still can't login sql plus.Help me on.
hi,Mr sb92075
Do you use what kind of messenger?If we can communicate on messenger,it will facilitate solving my problem I think.I don't mean to disrespect you but I just want to overcome the problem very quickly.
with best regards,
Ian Su
Can I know very clearly?
what are the things(eg dbname,username,protocol I don't know exactly just guessing)needed to connect to the database?
I already installed oracle developer suite 10 and oracle 10g xe database server.
I can't login to sqlplus and what are the things i need to check to get connected to the database from sqlplus?
I appreciate your help and need somebody help.
Edited by: Ian Su on Jun 18, 2011 11:21 PM
Edited by: Ian Su on Jun 18, 2011 11:29 PM
Similar Messages
-
ORA-12560:TNS protocol adapter Error while upgrading oracle 8i to Oracle 9i
Hi,
I am updrading My oracle 8i setup to Oracle 9i in the Windows operaton System.During the upgradation in the Database upgrade Assistant,The installer asked for the system authetication for upgrading the existing database.After proving the Username and password i am getting an error as ORA-12560:TNS protocol adapter Error .Please help me about what do I need to modify.
Thanks in Advance,
AnjelaHi,
Here are the output
SQL> select * from v$version;
BANNER
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
PL/SQL Release 8.1.7.0.0 - Production
CORE 8.1.7.0.0 Production
TNS for 32-bit Windows: Version 8.1.7.0.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
SQL> select version from v$instance;
select version from v$instance
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select comp_id,version,status from dba_registry;
select comp_id,version,status from dba_registry
ERROR at line 1:
ORA-00942: table or view does not exist
Thanks,
Anjela -
Error ORA-12560:TNS:protocol adapter error - on client
dear frnds,
I am try to install oracle 11g to my client iam getting error
ORA-12560:TNS:protocol adapter error
pls help me out
thanx in advanceMost likely reason for TNS Protocol adapter error is....you must have older client FIRST in your path.
You 11g binaries are not kicking in, cuz...you must have 10g or similar/older binaries first in your PATH ( in windows )
In windoz...in cmd window...
set ORACLE_SID=xxxx
set ORACLE_HOME= to your 11g home
cd %ORACLE_HOME%\bin OR set PATH=%ORACLE_HOME%\bin;%PATH%
Then your sqlplus etc..
This time you should not be getting the protocol error.
Let us know whether this solved your problem -
Help: Error message "ORA-12560 TNS:Protocol Adapter Error "
I tried to install Oracle 8i EE version 8.1.7 on Windows 2000. Everything is OK until the installation proceeded to installing "Oracle Database Configuration Assistant". At that point, I got an error message "ORA-12560 TNS:Protocol Adapter Error (network not loaded)". I looked up the error message. The cause of the error said: "This error occurs when the SQL*Net driver cannot find the JSB driver because you may have either forgotten to load the JSB driver (for instance MFTP) or used an incorrect TCP_VENDOR key (for example, TCP_VENDOR=NOVLWP).". And the suggested action said: "Load the JSB driver or use the correct TCP_VENDOR key.". I am using a standalone PC with Windows 2000 at home, and the PC does not connect to any network(except that I can dialup to internet via modem). What should I do? I can't understand the error message. Any expert to help me overcome the error?
nulldatabase tnsnames.ora
=========
# TNSNAMES.ORA Network Configuration File: D:\Oracle\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mohsin-pc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mohsin-pc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
developer 10g tnsnames.ora
==============
# tnsnames.ora Network Configuration File: D:\Forms\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.132)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = Dedicated)
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mohsin-pc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
Please tell me what changes I needed
database serivice name is "ORCL'
and my pc name is "mohsin-pc" -
Urgent!!! ERROR: ORA-12560 TNS: protocol adapter error
Recently we tried to install a new product with a new dataabse instance. Since doing this SQLPLUS replies with:
ERROR: ORA-12560
TNS: protocol adapter error
I have looked at my tnsnames.ora and listener.ora and everything looks fine. I am hoping someone here can shed some light on this for me... Is it possible something got corrupted?
Here is my file settings...
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLE9I.GESDev =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = GESDev)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oracle9i)
EXTPROC_CONNECTION_DATA.GESDev =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
INST1_HTTP.127.0.0.1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = GESDev)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
# LISTENER.ORA Network Configuration File: C:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = GESDev)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = oracle9i)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = intellikit)
# SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DEFAULT_DOMAIN = GESDev
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)C:\>lsnrctl services
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 17-AUG-2006 09:30:50
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=GESDev)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "intellikitXDB" has 1 instance(s).
Instance "intellikit", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: GESDEV, pid: 316>
(ADDRESS=(PROTOCOL=tcp)(HOST=GESDev.gesldap.4point.com)(PORT=1038))
Service "oracle9i" has 2 instance(s).
Instance "intellikit", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Instance "intellikit", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
C:\> -
Help: ORA-12560: TNS:protocol adapter error
I created a new database and afterwards my established TNS connection to my starter database was lost. Now I cant get it to work. I tired deleting the new database I created, but my old connection with my starter db still does not work. When I test the connection using the NET 8 assistant I get the following error: ORA-12560: TNS:protocol adapter error.
Im fairly new to Oracle8i and Ive posted numerous threads elsewhere concerning my problem but so far I havent gotten a solution. Any ideas?
Thanks, Andrew
nullEdwin,
1. I can ping my server.
2. I reinstalled Oracle8i entirely on the server I still could not connect.
3. I installed Oracle8i client on a totally new client I still could not connect.
On thing though, when I de-installed all Oracle products and then reinstalled Oracle, some of my settings from the previous install still existed. Ex: When I opened Net 8 Assistant some of my Net Service Names remained from the previous install.
Three things I think I can rule out as causes:
a) It seems really significant that from the server I can successfully connect through the TNS connection. And this is using the exact same TNANAMES.ORA file that is on my client machine. This leads me to believe that my TNSNAMES.ORA file is not the cause of the problem.
b) Also the fact that the new client install (3) didnt work makes me think for sure that it is not the client.
c) When I open SQL Plus on the server I type ORACLE4 for the host string and I get right in. This leads me to believe that the instance and database can be ruled out as possible causes.
In the Oracle Client Net8 Profile section I set tracing to on. I am posting the results. Also FYI: I am the only person that has been working with Oracle on the server. Any ideas??? Andrew
--- TRACE CONFIGURATION INFORMATION FOLLOWS ---
New trace stream is "C:\Oracle\Ora81\NETWORK\trace\sqlnet79.trc"
New trace level is 4
--- TRACE CONFIGURATION INFORMATION ENDS ---
nigini: Count in NI global area now: 1
nigini: Count in NI global area now: 1
nrigbni: Unable to get data from navigation file tnsnav.ora
niotns: niotns: setting up interrupt handler...
niotns: Not trying to enable dead connection detection.
niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRA M=C:\PROGRAM FILES\ORACLE\JRE\1.1.7\BIN\JREW.EXE)(HOST=ANDY)(USER=andrew))))
nscall: connecting...
nsopen: opening transport...
nserror: nsres: id=0, op=65, ns=12547, ns2=12560; nt[0]=517, nt[1]=0, nt[2]=0
nsopen: unable to open transport
nioqper: error from nscall
nioqper: nr err code: 0
nioqper: ns main err code: 12547
nioqper: ns (2) err code: 12560
nioqper: nt main err code: 517
nioqper: nt (2) err code: 0
nioqper: nt OS err code: 0
niqme: reporting ns (2) error: (12547) as rdbms err (12547)
niotns: Couldn't connect, returning 12547
nigtrm: Count in the NI global area is now 0
nigtrm: Count in the NL global area is now 0
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ekessels (Edwin Kessels):
Try to install the Net8 Server and Client again. Also make sure you can ping the IP-adres of servername using the PING-command.
Edwin Kessels
OCP-DBA
<HR></BLOCKQUOTE>
null -
Gives ORA-12560: TNS: protocol adapter error when installing oracle 10g
I tried to install oracle 10g r2 in server 2008. but it gives ORA-12560: TNS: protocol adapter error when installing. how I can fix this issue??? please help me ASAP. because its urgent.
thanks in advance.
chamaraWelcome to the forums !
Pl indicate which version of 10g you are installing and on which version of Win 2008. Neither 10gR1 nor 10gR2 are certified to be installed on Win 2008 R1, AFAIK.
For 10gR2, only 10.2.0.5 is certified for Win 2008 R2 - see MOS Doc 1173433.1 (How to Install Oracle 10.2.0.5 on MS Windows 7 / Windows 2008R2)
Also see MOS Doc 740926.1 (Where can I find the Database / Client software to download for Microsoft Vista, or Windows 2008R1?).
Both 10gR1 and 10gR2 are now in extended support - is there a reason you are not using 11gR2 ?
HTH
Srini -
Unable to create database due to ORA-12560, TNS protocol adapter error
Hello,
I'm trying to create an 8.1.7.0 database on a W2k server, but it is failing because as soon as svrmgrl is launched, I get an ORA-12560, TNS: protocol adapter error:
D:\oracle\db_creation_scripts>D:\oracle\ora81\bin\svrmgrl @D:\oracle\db_creation_scripts\mterm62run.sql
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
ORA-12560: TNS:protocol adapter errorEcho ON
SVRMGR> connect INTERNAL/manager
ORA-12560: TNS:protocol adapter error
SVRMGR> startup nomount pfile="D:\oracle\admin\mterm62\pfile\initmterm62.ora"
LCC-00161: Message 161 not found; product=RDBMS; facility=MGR
My ORACLE_HOME, ORACLE_SID, and TNS_ADMIN environmental variables are correctly set, and I'm able to tnsping the listener.
I've enabled tracing, and my client trace file is:
--- TRACE CONFIGURATION INFORMATION FOLLOWS ---
New trace stream is d:\trace\client_trace.log_2084_9.trc
New trace level is 6
--- TRACE CONFIGURATION INFORMATION ENDS ---
--- PARAMETER SOURCE INFORMATION FOLLOWS ---
Attempted load of system pfile source d:\oracle\ora81\network\admin\sqlnet.ora
Parameter source loaded successfully
Attempted load of local pfile source D:\oracle\db_creation_scripts\sqlnet.ora
Parameter source was not loaded
-> PARAMETER TABLE LOAD RESULTS FOLLOW <-
Successful parameter table load
-> PARAMETER TABLE HAS THE FOLLOWING CONTENTS <-
TRACE_DIRECTORY_SERVER = d:\trace
TRACE_DIRECTORY_CLIENT = d:\trace
NAMES.DIRECTORY_PATH = (TNSNAMES, HOSTNAME)
SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
TRACE_FILE_CLIENT = client_trace.log
TRACE_FILE_SERVER = server_trace.log
SQLNET.AUTHENTICATION_SERVICES = (NTS)
TRACE_UNIQUE_CLIENT = on
TRACE_LEVEL_CLIENT = ADMIN
TRACE_LEVEL_SERVER = ADMIN
--- PARAMETER SOURCE INFORMATION ENDS ---
--- LOG CONFIGURATION INFORMATION FOLLOWS ---
Log stream will be "D:\oracle\db_creation_scripts\sqlnet.log"
Log stream validation not requested
--- LOG CONFIGURATION INFORMATION ENDS ---
nigini: entry
nigini: Count in NI global area now: 1
nigini: Count in NI global area now: 1
nrigbi: entry
nrigbni: entry
nrigbni: Unable to get data from navigation file tnsnav.ora
nrigbni: exit
nrigbi: exit
nigini: exit
niqname: Hst is already an NVstring.
niqname: Inserting CID.
niotns: entry
niotns: niotns: setting up interrupt handler...
niotns: Not trying to enable dead connection detection.
niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleMTERM62)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=MTERM62)(CID=(PROGRAM=D:\oracle\ora81\bin\SVRMGRL.EXE)(HOST=SERV0354)(USER=tarisa))))
nsmal: 140 bytes at 0x12493f0
nscall: connecting...
nladini: entry
nladini: exit
nladget: entry
nladget: exit
nlpcaini: entry
nlpcaini: prg =
nlpcaini: arg[0] =
nlpcaini: arg[1] =
nlpcaini: exit
nsmal: 420 bytes at 0x12542f0
nsmal: 1712 bytes at 0x12572f0
nsopen: opening transport...
ntpcon: entry
ntpcon: toc = 1
sntpcall: entry
snlpcss: entry
ntpcon: exit
nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=2, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
nsopen: unable to open transport
nsmfr: 1712 bytes at 0x12572f0
nsmfr: 420 bytes at 0x12542f0
nladget: entry
nladget: exit
nsmfr: 140 bytes at 0x12493f0
nladtrm: entry
nladtrm: exit
nioqper: error from nscall
nioqper: nr err code: 0
nioqper: ns main err code: 12560
nioqper: ns (2) err code: 0
nioqper: nt main err code: 530
nioqper: nt (2) err code: 2
nioqper: nt OS err code: 0
niomapnserror: entry
niqme: entry
niqme: reporting NS-12560 error as ORA-12560
niqme: exit
niomapnserror: returning error 12560
niomapnserror: exit
niotns: Couldn't connect, returning 12560
niotns: exit
nigtrm: Count in the NI global area is now 0
nnfgdei: entry
nrigbd: entry
nrigbd: exit
nigtrm: Count in the NL global area is now 0
My tnsnames, listener and sqlnet.ora files are very simple:
## BEGIN TNSNAMES.ORA
# TNSNAMES.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
MTERM62 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = mterm62)
(INSTANCE_NAME = mterm62)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = mterm62)
(PRESENTATION = http://admin)
# LISTENER.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = serv0354)(PORT = 1521))
SID_LIST_LISTENER =
(SID_DESC =
(ORACLE_HOME = D:\oracle\ora81)
(SID_NAME = mterm62)
TRACE_LEVEL_LISTENER = ADMIN
# SQLNET.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\sqlnet.ora
# Generated by Oracle configuration tools.
TRACE_DIRECTORY_CLIENT = d:\trace
TRACE_UNIQUE_CLIENT = on
TRACE_DIRECTORY_SERVER = d:\trace
SQLNET.AUTHENTICATION_SERVICES= (NTS)
TRACE_FILE_CLIENT = client_trace.log
TRACE_FILE_SERVER = server_trace.log
TRACE_LEVEL_CLIENT = ADMIN
TRACE_LEVEL_SERVER = ADMIN
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
Does anyone have any ideas what else I can check. I'm a Unix person, not a Windows person, which is making it even more complicated. If I was on Unix, I'd just blow everything away and start again from scratch, but since I'm not sure how to remove all traces from the registry, etc., I don't want to try that on this machine. There was already one other database created, but it's not goign to be used.
Any help would be greatly appreciated.
regards,
Tarisa.hi,
thanks for the info. the problem, as it turns out, was that I was connected to the db server via a terminal service (Microsoft Management Console), which for some reason caused probelms with TNS. After I connected directly to the machine using VNC, I was able to create the database with no problems. strange but true.
regards,
Tarisa. -
ORA-12560 TNS protocol Adapter error in 11g (11.1.0.6)
Hello All,
I have Oracle 11g installed on my machine and when i tried to log in to sql plus i got the error below:
ORA-12560 TNS protocol Adapter error
By setting the ORACLE_SID = orcl by browsing to the bin directory of Oracle Installation the above error disappaears and i am able to log in from sql plus.
My intention is to create a db backup for which i am trying to use the exp command...this time the same error appears.
Also the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
Can anybody please help me out find a good solution for this?
Any help would be appreciated friends.....
Thanks in Advance!!!!!
Regards.
AliciaAlso the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
Can anybody please help me out find a good solution for this?The solution depends on your (not specified) operating system...
Anyway, if you have more than one database it's normal that you have to set ORACLE_SID, if not how can Oracle know which database you want to access to ?
You can create batch files, one per database, or you can use connection strings, e.g. sqlplus username/password@<DB>. -
ORA-12560: TNS:protocol adapter error in Oracle Forms...
Hi, I installed Oracle developer suite to use for Oracle forms but am getting "ORA-12560: TNS:protocol adapter error" when trying to run a form. The database is running locally on my PC.
I've run the command line to see if hostname matches up with the "HOST= " in the ".../network/admin/listener.ora " file match, they do. What can I try next? I did have Oracle 10gXE installed, which I have now removed. I'm including my tnsnames and listener file content:
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
Thanks in advance for any help!Of course you found another one. Each .and every Oracle database client home (such as developer, app server) has one.
Don't just change the port - the tnsnames.ora in the dev home does not point to a database service. It only points to an extproc [external procedure called by a database]. You need to put a database service entry into that file similar to the one in the database home. (Easiest solution - copy the tnsnames.ora from db home ... after you've made a backup)
And please don't tell me you are using Developer 6i - a simple Google search would verify that the networking is incompatible. -
ORA-12560: TNS:protocol adapter error on Fedora Core 5
Hi ,
After installing the 10201_database_linux_x86_64 on Fedora Core5. The database is started fine on the server. The status of is Listener is also up. But when try to connect from client PC. I am getting ORA-12560: TNS:protocol adapter error error please help. me.
Thanks,Here are my config files.
On SERVER
listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME =/u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = db10g)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc1)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx)(PORT = 1521))
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, HOSTNAME)
tnsnames.ora
# Generated by Oracle configuration tools.
DB10G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DB10G.WORLD)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
now when I issue lsnrctl start db10g i am getting following error.
TNS-01151: Missing listener name, db10g, in LISTENER.ORA
Please help me. -
Oracle 9i database server ORA-12560: TNS: Protocol adapter error ?
My OS windows xp 2002 sp2. im using oracle 9i database server .I cant login Oracle sql * plus when in going Enter user name and password “ scott and tiger “ then I got problem here is the message is below :
SQL*Plus: Release 9.0.1.0.1 - Production on Sat Mar 13 03:12:47 20
(c) Copyright 2001 Oracle Corporation. All rights reserved.
Error :
ORA-12560: TNS: Protocol adapter error
Any one help me please. Please let me know how can I slove or fix the problem ?
how can im going to login Oracle 9i database Sql Plus ? anywany other fix this problem ?
Edited by: shajib on Mar 12, 2010 1:31 PMStep 1 - from a command line on the database machine, enter 'lsnrctl status' and report the output
Step 2 - display the contents of the %ORACLE_HOME%\network\admin\tnsnames.ora file on the machine running sqlplus.
These are the first two stepo, whether on the database machine or in a traditional client-server configuration. -
ORA-12560 TNS:Protocol Adapter Error and ORA-12557 Error
Hello ,
I have installed Oracle 11.2.0 64 bit database on my Windows 7 ( Home Premium) PC which is also 64 bit. I installed it because I am trying to setup Informatica. Later, I learnt that informatica is 32 bit and can not communicate to Oracle 11.2.0 64 bit database. So after digging through solutions, someone mentioned that I need to install Oracle 11g client 32bit.
I have installed 11g client software successfully now. Here is problem though :
When I launch SQL-Plus from 11g database , it works fine. However I launch SQL-Plus from 32bit client it gives me error as :
Ora-12560 :TNS: Protocol Adapter Error.
So I have been trying to resolve this error. I saw that this question has been posted many many times and have tried many thing as listed below :
1. copy tnsnames.ora from database ( dbhome_1) to client installation ( client_1 ) under ..\network\admin\ --- Didn't work.
2. Set $ORACLE_HOME and $ORACLE_SID environment variable.
Here is interesting fact - If I set $ORACLE_HOME to database path and not client path error changes to :
ORA-12557 TNS: Protocol adapter not loadable.
If I keep $ORACLE_HOME as client path then I get same error as earlier ORA-12560.
3. I have also tried changing $PATH variable. I did set to path containing only database installation, only client installation, both database and client installation with database installation appearing first
But all of these haven't worked.
Can anyone please suggest what I am missing and any further things I could try ?
Thank you in advance !982090 wrote:
Hello ,
I have installed Oracle 11.2.0 64 bit database on my Windows 7 ( Home Premium) No oracle product is certified to run on any 'home' edition of any version of Windows.
PC which is also 64 bit. I installed it because I am trying to setup Informatica. Later, I learnt that informatica is 32 bit and can not communicate to Oracle 11.2.0 64 bit database.If the connection is via TNS, the bit architecture shouldn't matter.
So after digging through solutions, someone mentioned that I need to install Oracle 11g client 32bit.
I have installed 11g client software successfully now. Here is problem though :
When I launch SQL-Plus from 11g database , it works fine. However I launch SQL-Plus from 32bit client it gives me error as :
Ora-12560 :TNS: Protocol Adapter Error.
So I have been trying to resolve this error. I saw that this question has been posted many many times and have tried many thing as listed below :
1. copy tnsnames.ora from database ( dbhome_1) to client installation ( client_1 ) under ..\network\admin\ --- Didn't work.
2. Set $ORACLE_HOME and $ORACLE_SID environment variable.
Here is interesting fact - If I set $ORACLE_HOME to database path and not client path error changes to :
ORA-12557 TNS: Protocol adapter not loadable.
If I keep $ORACLE_HOME as client path then I get same error as earlier ORA-12560.
3. I have also tried changing $PATH variable. I did set to path containing only database installation, only client installation, both database and client installation with database installation appearing first
But all of these haven't worked.
Can anyone please suggest what I am missing and any further things I could try ?
Thank you in advance !unfortunately, we need to know exactly how you tried to connect with sqlplus when it "worked" and when it "didn't work". The key to the reported error messages is highly dependent on the environment settings AND the specification of the connect string. A copy and paste of the entire command line session would be most helpful.
But again, running on any 'home' edition of windows is not supported. -
Hi Oracle Guru's,
Please save my life from this typical yet known problem.
I got an old backup on my tapes about 3 years older. I have windows server 2k where I have an access remotely through RDP(Citrix-CuraStore).
I installed oracle8i 32 bit on Windows 2k though it got stuck at the end where it installs optional tools(like Net8i assistant), so i closed the installation session, Because I could see Net8i assistant,dbca etc was installed on machine.
I checked my services, found it had started the Listerner8i service.
To create a database, I tried to happen it through DBCA...but unfortunately it gave error(ORA-12560 "TNS protocol adapter error"), I ignored it ...but it didnt move to next step...completely stuck up..So closed the session.
I tried with ORADIM to create service, It did happen, services for database was created, I setup the environment(SID,HOME,PATH) etc.
When I login with sqlplus , it gives again the same error(ORA-12560 "TNS protocol adapter error"), I tried many things like TCP/IP traffing disabling etc..Nothing worked.
Can some one please help me and give me some out of box solution..I shall be really really thankful to them.
Regards,Sorry, If I missed to update you back..I apologize.
Two services(Database Service : OracleServicetest and OracleOraHome81TNSListenerLISTENER_TEST both are up...checked from SERVICES.MSC
listener is up, I can ping the Hostname perfectly.
Is there any other service I need to look into.
Please find the below log as reference for TEST database.
C:\Documents and Settings\Administrator>hostname
srvdba02
C:\Documents and Settings\Administrator>ping srvdba02
Pinging srvdba02 [10.241.24.54] with 32 bytes of data:
Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
Ping statistics for 10.241.24.54:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\Administrator>
C:\Documents and Settings\Administrator>lsnrctl status LISTENER_TEST
LSNRCTL for 32-bit Windows: Version 8.1.7.0.0 - Production on 28-SEP-2013 23:43:01
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Kobler til (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.241.24.54)(PORT=1523)))
STATUS FOR LYTTERPROSESS
Tilnavn LISTENER_TEST
Versjon TNSLSNR for 32-bit Windows: Version 8.1.7.0.0 - Production
Startdato 28-SEP-2013 23:19:31
Oppetid 0 dager 0 t. 23 min. 29 sek
Sporingsnivσ off
Sikkerhet OFF
SNMP OFF
Lytterens parameterfil C:\oracle\ora81\network\admin\listener.ora
Lytterens loggfil C:\oracle\ora81\network\log\listener_test.log
Tjenesteoversikt...
test har 1 tjenestebehandler(e)
Kommandoen ble utf°rt
(It means test database has i service handler)..
C:\Documents and Settings\Administrator>tnsping test
TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 28-SEP-2013 23:43:17
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=10.241.24.54)(PORT=1523))
Ok (10 msek) -
ORA-12560: TNS:protocol adapter error error while using BR*tools
Hi,
I am trying to use BRtools to display instance status (option 6 within Instance Management menu). We are running on Oracle 10g and SAP 4.6c (BRtools version 7.0 patch 13). SAP is running on Windows 2003 cluster environment.
I checked lsnrctl status with following output..
LSNRCTL for 64-bit Windows: Version 10.2.0.2.0 - Production on 19-FEB-200
:06
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=172.20.0.
PORT=1527))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 10.2.0.2.0
ction
Start Date 07-FEB-2009 19:51:03
Uptime 11 days 19 hr. 42 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\PR1\102\network\admin\listener.ora
Listener Log File C:\oracle\PR1\102\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.140)(PORT=1527)))
The listener supports no services
The command completed successfully
BRspace error reads as below
BR1001I BRSPACE 7.00 (13)
BR1002I Start of BRSPACE processing: sdzysjut.dbw 2009-02-19 15.35.43
BR0280I BRSPACE time stamp: 2009-02-19 15.35.44
BR0301E SQL error -12560 at location BrDbaConnect-2
ORA-12560: TNS:protocol adapter error
BR0310E Connect to database instance PR1 failed
BR0700E Fatal errors occurred - terminating processing...
Could you please let me know if I need to make any changes to current configuration to make it work.
I appreciate all your help,
Thanks,
JitendraHi Rohit,
Here are my listener file contents
LISTENER =
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=IPC)
(KEY=PR1)
(ADDRESS=
(PROTOCOL=IPC)
(KEY=PR1.WORLD)
(ADDRESS=
(COMMUNITY=SAP.WORLD)
(PROTOCOL=TCP)
(Host=xxx.xx.x.xxx)
(Port=1527)
SID_LIST_LISTENER =
(SID_LIST=
(SID_DESC=
(SDU=32768)
(SID_NAME=PR1)
(ORACLE_HOME=C:\oracle\PR1\102)
Fsldbprd =
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=IPC)
(KEY=PR1)
(ADDRESS=
(PROTOCOL=IPC)
(KEY=PR1.WORLD)
(ADDRESS=
(COMMUNITY=SAP.WORLD)
(PROTOCOL=TCP)
(Host=xxx.xx.x.xxx)
(Port=1527)
SID_LIST_Fsldbprd =
(SID_LIST=
(SID_DESC=
(SDU=32768)
(SID_NAME=PR1)
(ORACLE_HOME=C:\oracle\PR1\102)
TRACE_LEVEL_LISTENER = OFF
CONNECT_TIMEOUT_LISTENER = 10
STARTUP_WAIT_TIME_LISTENER = 0
And here is the output of lsnrctl status command after making above changes
STATUS of the LISTENER
Alias Fsldbprd
Version TNSLSNR for 64-bit Windows: Version 10.2.0.2.0 -
ction
Start Date 19-FEB-2009 19:39:12
Uptime 0 days 0 hr. 14 min. 16 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\PR1\102\network\admin\listener.ora
Listener Log File C:\oracle\PR1\102\network\log\fsldbprd.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
.\pipe\PR1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
.\pipe\PR1.WORLDipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xx.x.xxx)(PORT=1527)))
Services Summary...
Service "PR1" has 2 instance(s).
Instance "PR1", status UNKNOWN, has 1 handler(s) for this service...
Instance "pr1", status READY, has 1 handler(s) for this service...
Service "PR1_XPT" has 1 instance(s).
Instance "pr1", status READY, has 1 handler(s) for this service...
The command completed successfully
In Cluster admin Oracle listener name is defined as Fsldbprd.
Please let me know if you need any additional information and thanks for looking into this issue.
Regards,
Jitendra
Edited by: Jitendra Kulkarni on Feb 20, 2009 1:03 AM
Maybe you are looking for
-
For some reason, when I connect my camera to my iMac, iPhoto opens automatically, which I want it to do, but the camera does not show up in iPhoto. In fact "devices" isn't even displayed. Yet, when I open up Image Capture, it detects my camera. Does
-
hi, when i try to create a delivery through vl01n in the picking tab -the field over all pick status shows not relevant for pick i have checked tcode 0vlp relevant for picking is checked still the status shows not relevant for pick-pls guide
-
Which oracle logo should I attach on my resume?
I have just now passed the 1z0-051 ORACLE Database 11g: SQL Fundamentals I exam by 67% (60% to pass). Also i am familiar to PL/SQL too. And lastly I have done an internship project on it. Is I am eligible to attach oracle LOGO on my reume? if yes, w
-
HT201303 How do I change my security question?
This is the first time I am using my new MacBook to purchase Ox s mountain lion. I had a $50 itune card redeemed into my itune account. When I tried to make that purchase, a window pop up saying"because this is the first making a purchase on this co
-
Trigger function when variable a certain value?
Hi I want a function to be triggered when a certain global var becomes true - I want to do this using an event listener. I can do it as a one off using an if statement, but how do you set up a listener to trigger the function if the value becomes tr