ORA-12560 ntt2err message
Hi everyone,
For a couple of days I have tried to connect my Application Express database (11.2 XE) based on maxapex.com. My friend can connect to this db without any error. He also tried to tnsping and it succeded. But if I want to connect this db I am getting ORA-12560 error in tnsping application:
C:\Users\xxx>set ORACLE_HOME
ORACLE_HOME=D:\Oracle\oraclexe\app\oracle\product\11.2.0\server
C:\Users\xxx>tnsping brown.maxapex.com
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 28-MAY-2
012 13:18:04
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:\Oracle\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
Used HOSTNAME adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTO
COL=TCP)(HOST=173.224.213.131)(PORT=1521)))
TNS-12560: TNS:protocol adapter error
C:\Users\xxx>But ping utility works as in following:
C:\Users\xxx>ping brown.maxapex.com
Pinging brown.maxapex.com [173.224.213.131] with 32 bytes of data:
Reply from 173.224.213.131: bytes=32 time=436ms TTL=48
Reply from 173.224.213.131: bytes=32 time=404ms TTL=48
Ping statistics for 173.224.213.131:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 404ms, Maximum = 436ms, Average = 420ms
Control-C
^CWhen I looked for the trace file of net services I see this message in tnsping.trc file:
nsopen: opening transport...
nttcon: entry
nttcon: toc = 1
nttcnp: entry
nttcnp: exit
nttcni: entry
nttcni: Tcp conn timeout = 60000 (ms)
nttctl: entry
nttctl: Setting connection into non-blocking mode
nttcni: trying to connect to socket 568.
ntt2err: entry
ntt2err: soc 568 error - operation=1, ntresnt[0]=530, ntresnt[1]=53, ntresnt[2]=0
ntt2err: exit
nttcni: exit
nttcon: exit
nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=53, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
nsopen: unable to open transportHave you any workaround to solve this issue?
Thanks.
It does not work. I have already tried it many times. Yes, I am doing something wrong in somewhere but I didnt recognize yet.
C:\Users\xxx>set ORACLE_HOME
ORACLE_HOME=D:\Oracle\oraclexe\app\oracle\product\11.2.0\server
C:\Users\xxx>set ORACLE_SID
ORACLE_SID=XE
C:\Users\xxx>tnsping brown.maxapex.com:1555/xe
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 28-MAY-2
012 16:54:19
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:\Oracle\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
Used EZCONNECT adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=xe))(ADDRESS=(PRO
TOCOL=TCP)(HOST=173.224.213.131)(PORT=1555)))
TNS-12560: TNS:protocol adapter error
C:\Users\xxx>Also current sql file :
NAMES.DIRECTORY_PATH=(ezconnect, tnsnames)
SQLNET.AUTHENTICATION_SERVICES=(NTS)
SQLNET.EXPIRE_TIME=0
TRACE_FILELEN_CLIENT=100
TRACE_FILENO_CLIENT=3
TRACE_LEVEL_CLIENT=OFF
TRACE_TIMESTAMP_CLIENT=ON
TRACE_UNIQUE_CLIENT=ON
USE_DEDICATED_SERVER=OFF
Similar Messages
-
Forms Developer: ORA-12560 error message
I am a novice Oracle 10g user, and have reached a dead-end regarding opening an existing form (.fmb) in Forms Builder. The ORA-12560 error message is generated:
"TNS protocol error". Consulting OTN, I learned that the Oracle SID service is required to be started for a form to be displayed in a web browser. When I checked the services window in XP Professional, I found OracleServiceOrcl to be started. I also specifed iexplore.exe to in the Runtime tab in Forms Builder Preferences. Any assistance with this issue will be appreciated.
Jim ElgieThe URL looks quite strange to me:
http://lap_top:8888/forms90/f90servlet?form=E:\cis355@userid=scott\tiger@buffer_records=no@debug_message
Looks like the "@" is used to separate the parameters which is new to me. Normally it's either "&" or "+". You can set the separator somewhere, cannot thou remember where? Registry? Also the userid isn't complete. The database name is missing, and even if it was there. How could the server know what's what? I mean, connect is done by user/pass@db, and if "@" is used as a separator...
Try this URL:
http://lap_top:8888/forms90/f90servlet?form=E:\cis355.fmx&userid=scott/tiger@orcl
Regards,
Martin Malmstrom -
Error message:ORA:12560:TN:protacol adapter
Hi everyone
I Installed Oracle9i on XP.when I try to logo(SQL Plus) using Scott/tiger.It's giving error message:ORA:12560:TN:protacol adapter.
Pls help me to solve this problem.I have to work on this.make sure your oracle_sid and oracle_home set properly.
Is the listener up and running on the server?
Are you giving tnsname to connect or not?
SJH
OCP DBA -
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" -
Error message:ORA:12560:TN:protocol adapter
pls anyone could help to advise
Hi, i have that problem too.
I explain : with sql plus worksheet, no problem.
but with svrmgrl that is not the same.
In a cmd window, i write :
C:\...>svrmgrl
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 2000, Oracle Corporation. Tous droits réservés.
ORA-12560: TNS : erreur d'adaptateur de protocole
SVRMGR> connect system/mypass
ORA-12560: TNS : erreur d'adaptateur de protocole
SVRMGR> connect system/mypass@mydb
Connecté (connected)
SVRMGR>
In the registry ORACLE_SID = mydb, and even if i write Set ORACLE_SID = mydb before svrmgrl, i always have the error.
Because of that, i can't create a new database. -
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. -
How to solve ORA-12560:TNS:protocol adapter error?
I'm trying to use sqlplus on Windows 2008 R2 which is installed on VirtualBox to access an Oracle 11gR2 database on Red Hat Linux.
I'm sure that the database on Red Hat Linux is up and tnsnames.ora is a copy from another machine which is used by another application to connect to the same Oracle database.
When I run sqlplus, I got the ORA-12560: TNS:protocol adapter error.
sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES = (NTS)
Both sqlnet.ora and tnsnames.ora are located in c:\app\administrator\product\11.2.0\client64\network\admin folder.
The registry ORACL_HOME has c:\app\administrator\product\11.2.0\client64.
echo %ORACLE_HOME% incommand window returns %ORACLE_HOME%
echo %ORACL_SID% in command window returns %ORACLE_SID%
If I set ORACLE_HOME to another folder, I will get the following error:
Error 6 initializing SQL*Plus
SP2-0667: Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
So, I believe the ORACLE_HOME in registry has the correct value.
I have also tried set ORACLE_SID to the service name listed in tnsnames.ora but sqlplus still returns the ORA-12560:TNS:protocol adapter error.
For unknown reason, the value of ORACLE_HOME and ORACLE_SID I set by using set command will not persist after I close the command window that I set the values.881656 wrote:
I'm trying to use sqlplus on Windows 2008 R2 which is installed on VirtualBox to access an Oracle 11gR2 database on Red Hat Linux.
I'm sure that the database on Red Hat Linux is up and tnsnames.ora is a copy from another machine which is used by another application to connect to the same Oracle database.
When I run sqlplus, I got the ORA-12560: TNS:protocol adapter error.
sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES = (NTS)
It make NO sense do to as above when attempting to connect to Oracle DB on *NIX
which knows NOTHING about NTS Authentication.
SQLNET.AUTHENTICATION_SERVICES = (NONE)
or just remove the line or whole file.
Also need to be sure that ipchains is disabled on *NIX system -
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. -
Oracle 9i Database gives the error "ORA-12560: TNS: Protocol Adaptor Error"
Hi
I am working on Oracle9i Database, but from few days there is a problem, I can not enter in the database using SQL*PLUS or any other tool. When I give the user name and password it give the error message, that is given below:
"ORA-12560: TNS: Protocol Adaptor Error"
Please help me regarding this error.
Gul Bahar OadA bit generic .... In SqlPlus are you connecting from the server or from a Client ?
Did you check if the listener is running ?
Did you try tnsping ?
What is your OS ? -
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. -
ORA-12560: TNS:protocol adapter error rman
hello all,
i am on xp, and 10.2 oracle version....i created a dummy database with name comp using dbca...used FRA and took a backup though rman....i have teh backup now in FRA....
I droped the database to do a test restore...but i cant even login to rman or sqlplus ??? i was able to login to rman before to take a backup....but now i cant.... could not figure out why...any help would be appericiated....
C:\oracle\sql>set ORACLE_SID=comp
C:\oracle\sql>
C:\oracle\sql>echo %ORACLE_SID%
comp
C:\oracle\sql>rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 6 09:54:16 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12560: TNS:protocol adapter error
C:\oracle\sql>
C:\oracle\sql>
C:\oracle\sql>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUL-2011 09:54:20
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxxxx)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 06-JUL-2011 09:53:53
Uptime 0 days 0 hr. 0 min. 26 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxxxxxx)(PORT=1521)))
Services Summary...
Service "COMP" has 1 instance(s).
Instance "COMP", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\oracle\sql>user8363520 wrote:
hello all,
i am on xp, and 10.2 oracle version....i created a dummy database with name comp using dbca...used FRA and took a backup though rman....i have teh backup now in FRA....
I droped the database to do a test restore...but i cant even login to rman or sqlplus ??? i was able to login to rman before to take a backup....but now i cant.... could not figure out why...any help would be appericiated....
If you have backup and you dropped database then you can create it again.
1) Create directories for background,user,audit dumpdest and control,online log,datafiles.
2) Create OracleServiceComp if that is not exists using ORADIM utility(oradim -new -sid COMP -intpwd <syspass> -pfile <pfile location>)
3) After starting oracle service
set ORACLE_SID=COMP
rman target /
/*if you do not have spfile also then you have to restore it from
full/auto backup or startup database using pfile(create it manually)*/
startup nomount ;
restore controlfile from 'full or autobackup location';
alter database mount;
catalog start with 'backup location';
restore database;
recover database;
alter database open resetlogs; -
ORA-12560: TNS: protocol adapter error while linking tables in Access
One of my app dev is encountering an interesting error message while linking Oracle tables from Access. I am not able to able to reproduce this in my desktop or anywhere else. Details enclosed. Can you guys point me to a solution? Thanks in advance!
ODBC: Oracle Client version 10.2.0.1
Desktop : Win XP ; Access 2003
=>Able to login to the Oracle database sucessfully using sqlplus.
=>Able to create an ODBC datasource to Oracle database.("Test Connection" works fine)
=>But encountering the TNS protocol adpater error while linking the table(Access->File->Get External Data-> Link tables).
=>Not able to link any table in any schema in any Oracle database. Hence this is not a data centric issue.
What did I do?
=> Uninstalled Oracle 8 client and installed Oracle 10 client. No luck. Encountering the same error.
=> Turned on the ODBC trace and reproduced the error. The log is enclosed:
MSACCESS 79c-ed4 ENTER SQLAllocEnv
HENV * 0013C620
MSACCESS 79c-ed4 EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS)
HENV * 0x0013C620 ( 0x09d31788)
MSACCESS 79c-ed4 ENTER SQLAllocConnect
HENV 09D31788
HDBC * 0013C730
MSACCESS 79c-ed4 EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC * 0x0013C730 ( 0x09d31830)
MSACCESS 79c-ed4 ENTER SQLSetConnectOption
HDBC 09D31830
SQLINTEGER 103 <SQL_LOGIN_TIMEOUT>
SQLPOINTER 0x00000014
MSACCESS 79c-ed4 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
HDBC 09D31830
SQLINTEGER 103 <SQL_LOGIN_TIMEOUT>
SQLPOINTER 0x00000014 (BADMEM)
MSACCESS 79c-ed4 ENTER SQLSetConnectAttrW
SQLHDBC 09D31830
SQLINTEGER 30002 <unknown>
SQLPOINTER [Unknown attribute 30002]
SQLINTEGER -3
MSACCESS 79c-ed4 EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 09D31830
SQLINTEGER 30002 <unknown>
SQLPOINTER [Unknown attribute 30002]
SQLINTEGER -3
MSACCESS 79c-ed4 ENTER SQLDriverConnectW
HDBC 09D31830
HWND 001D04E4
WCHAR * 0x74329A38 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x74329A38
SWORD 2
SWORD * 0x00000000
UWORD 1 <SQL_DRIVER_COMPLETE>
MSACCESS 79c-ed4 EXIT SQLDriverConnectW with return code -1 (SQL_ERROR)
HDBC 09D31830
HWND 001D04E4
WCHAR * 0x74329A38 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x74329A38
SWORD 2
SWORD * 0x00000000
UWORD 1 <SQL_DRIVER_COMPLETE>
DIAG [S1000] [Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error (12560)
DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE8B8
SWORD 4095
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (12560)
WCHAR * 0x047EE8B8 [ 126] "[Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error\ a\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0"
SWORD 4095
SWORD * 0x0013C624 (126)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE950
SWORD 4019
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (0)
WCHAR * 0x047EE950 [ 66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
SWORD 4019
SWORD * 0x0013C624 (66)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE9E6
SWORD 3944
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (0)
WCHAR * 0x047EE9E6 [ 66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
SWORD 3944
SWORD * 0x0013C624 (66)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EEA7C
SWORD 3869
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 100 (SQL_NO_DATA_FOUND)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EEA7C
SWORD 3869
SWORD * 0x0013C624
MSACCESS 79c-ed4 ENTER SQLFreeConnect
HDBC 09D31830
MSACCESS 79c-ed4 EXIT SQLFreeConnect with return code 0 (SQL_SUCCESS)
HDBC 09D31830
Edited by: user5598619 on Feb 10, 2009 5:37 PMThanks a lot for your quick reply.
I've read all the posts mentioned (quite a few more) but I couldn't find any suggested solution to the "non-oracle10g"-problem other than using the global db name instead of the sid - which didn't help in our case:
However, in a last desperate attempt to solve the problem on my own before launching another cry-for-help-post I did try running the configuration assistant using the correct password for the SYS user 8-} and - strange but true - it did work :-)
Needless to say: I used the global db name of course, so I can't say what would have happened without it, but I trust your hint was a legitimate one.
Anyway - I gues that error Message concerning a "non-oracle10g database" was slightly misleading in this case.... grrrr.
Andreas -
ORA-12560: TNS protocol adapter error for 11g
I'm attempting to install Oracle 11g in my Windows 2008 Doamin machine.
During the installation of database configuration assistant, I got the
pop up error "ORA-12560: TNS protocol adapter error." I tried it
twice and still failed. I have no idea what's going on. Any ideas?01034, 00000, "ORACLE not available"
// *Cause: Oracle was not started up. Possible causes include the following:
// - The SGA requires more space than was allocated for it.
// - The operating-system variable pointing to the instance is
// improperly defined.
// *Action: Refer to accompanying messages for possible causes and correct
// the problem mentioned in the other messages.
// If Oracle has been initialized, then on some operating systems,
// verify that Oracle was linked correctly. See the platform
// specific Oracle documentation. -
ORA-12560: TNS:protocol adapter error while running Oracle Form 10g over IE
Hi,
I am getting the following error message while running my form over Internet Explorer. What could be the error and the solution.
ORA-12560: TNS:protocol adapter error
I am using the same user id/password that i used to create the database.
Plz help.
thanks,
RVunless you defined the TWO_TASK in your environment, you might need to provide it during the login. The typical Forms login screen has 3 fields, username/password and TWO_TASK , which is the alias used for the database server in the tnsnames.ora file on your end. If you are using iAS forms, then a proper RAD (Resource Access Descriptor) needs to be created by the DBA or whoever manages the iAS server. This is only if SSO is utilized, if not, then you need to provide TWO_TASK as well.
Hope this proves useful
R/ Zafer -
Error ORA-12560 TNS protocol error
I tried ti install Oracle 8.1.6 for Netware and when starting the database returns the following message:
ORA-12560: TNS:protocol adapter error.
I'm new to Oracle and any advice will be appreciated.
Thanks in advance,
ErnestoNow I've found that after a succesful install, ORALOAD is blank !!
Ernesto
Maybe you are looking for
-
Hi , While configuring payment terms thorugh T.code OBB8 The client requirement is 45 days with payment at the end of month : for ex: the invoice date is April. 20th , payment due should be 31st of May. This requirement i am unable to configure thro
-
DW8 - won't display CSS layout
I've just started a new website in DW and the layout isn't being renderred within DW but works fine in the browser. My div colours are displaying with no problems but the widths etc. just aren't appearing. All my visual aids are on so can't understan
-
I need help installing 7.2 getting error 1921
I get to a point where it says stopping services, then it tells me error 1921 service ipod. was wondering if anyone could help out. tell me what i'm doing wrong. Windows XP
-
Segments, extents and data blocks
I'm somewhat green when it comes to Oracle and databases in general, so bare with me. I bought the OCP Exam Guide to try and learn as much as I can. I'm at the chapter about segments, extents and data blocks and I'm having a bit of trouble grasping t
-
SS7: How to display all route sets at once, can it be done?
BTS10200 Fairly new to softswitch world. Needing to see what route sets already exist. Is there a command I am missing to dump or show all routesets at once? Thank You!