11.1.7 on Windows 2008 R2 - Error TNS:protocol adapter error

I am getting the error on Windows 2008 R2 ORA-12560: TNS: protocol adapter error.
Even I applied the patch: 9166858
Installed the software and created the Database with Database Configuration Assistant.
Even I started all the Oracle Services.
Same problem I am getting for 10.2 g also.
Edited by: sk123 on Jan 30, 2010 4:27 PM

I installed the patch
11.1.0.7.0 Patch 22 (11.1.0.7.22P) 32-Bit Patch:9166858 64-Bit (x64) Patch:9166861
It works.

Similar Messages

  • ORA-12560:TNS:protocol adapter error on windows 2008 server(32 bit) for 10g

    Hi Friends,
    I am installaing Oracle 10g database on windows 2008 Server(32-bit) and when the Database is getting cretaed and during the database files copying portion it's throwing the error :
    ORA-12560: TNS:protocol adapter error
    I tried intsllaing 10g software alone and invoked DBCA and again during the database files copying portion it's throwing the same error
    what could be the issue?
    Regards,
    DB

    Pl indicate which version of "10g" and which version of Windows 2008 - R1 or R2 ?
    HTH
    Srini

  • TNS-12560: TNS:protocol adapter error Windows XP

    have Oracle 9i and 10g installation on Windows XP
    trying to start listener
    lsnrctlLSNRCTL> start
    Starting tnslsnr: please wait . . .
    Failed to start service, error 1058.
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 1058: Unknown error
    Any suggestions for how to fix this error?

    What's the status of the corresponding Windows service? OS error 1058 means normally service is deactivated. In the worst case it could be necessary to remove the service from the registry. Afterwards reboot the machine and recreate the service by 'lsnrctl start'.
    Werner

  • ORA-12560:  TNS: protocol adapter error - startup mount on windows

    hi all,
    I want startup the database with mount option on windows.
    The OracleServiceORCL is stopped.
    I need to startup mount, but I get the error:
    ORA-12560: TNS: protocol adapter error.
    In Linux this task is easy, but on windows I cannot connect
    to database to startup mount.
    How can I do this?
    thank you

    Tads wrote:
    Hi,
    But the all files in incorrect place. So I need to do startup mount to do a alter database rename file to....
    thank you!Once the windows service is started, you can use sqlplus to connect, shutdown, and startup just like you do in *nix.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • TNS-12560: TNS:protocol adapter error, ORA-12535: TNS:operation timed out

    I installed Oracle 9i (9.2.0.1.0) on a Windows XP machine (the machine is in a domain). There were no errors during the instalation, but I have problems connecting from the same machine using the sid. Here are some examples from a command promt:
    D:\>tnsping orcl9i
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 31-OCT-20
    08 17:43:22
    Copyright (c) 1997 Oracle Corporation.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = timisoara01)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl9i)))
    TNS-12560: TNS:protocol adapter error
    D:\>sqlplus "sys/pass@orcl9i as sysdba"
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 17:54:54 2008
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    ERROR:
    ORA-12535: TNS:operation timed out
    Enter user-name:If I don't use the sid I can connect:
    D:\>sqlplus "sys/pass as sysdba"
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 18:05:46 2008
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL>If I go to services I see that the service is running: OracleServiceORCL9I Started.
    Thx.

    Yes, the XP firewall is running. During the Oracle instalation it poped up twice, but I selected 'Unblock'. I can't turn it off because it is running using the domain settings, but I can add exceptions (programs or ports). Port 1521, tnsping or sqlplus are not blocked and there is an option 'Display a notification when Windows Firewall blocks a program' witch is checked.

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • R12 Vision Install Fails, TNS-12560: TNS:protocol adapter error

    Below please find the NetServiceHandler.log from the install and an excerpt from ApplyDBTechStack...log
    OS: Windows Server 2003 SP2 x86
    I have installed the loopback adapter, modified the hosts file, and entered the DNS info. Not sure what else I can do.
    -----------begin NetServiceHandler.log-------------------------
         Classpath : ;D:\oracle\VIS\db\tech_st\11.1.0\jdbc\lib\ojdbc6.jar;D:\oracle\VIS\db\tech_st\11.1.0\appsutil\java\xmlparserv2.jar;D:\oracle\VIS\db\tech_st\11.1.0\appsutil\java;D:\oracle\VIS\db\tech_st\11.1.0\jlib\netcfg.jar;D:\oracle\VIS\db\tech_st\11.1.0\jlib\ldapjclnt11.jar
    ===============================================================================
    NetServiceHandler 120.19 started for oracleebs at Wed Jun 13 09:32:30 PDT 2012
    ===============================================================================
    [ Context Information ]
    Host : oracleebs
    Domain : demo.com
    Out Dir : D:\oracle\VIS\db\tech_st\11.1.0/appsutil/out/VIS_oracleebs/06130932
    Tier Type : DATABASE TIER
    Getting connection...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : oracleebs
    sDbDomain : demo.com
    sDbPort : 1521
    sDbSid : VIS
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@oracleebs.demo.com:1521:VIS
    Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracleebs.demo.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS)))
    Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracleebs.demo.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS.demo.com)))
    Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    Could not get connection to the database.
    Exiting with status 100 to instantiate the tnsnames.ora template
    Creation of Directory - D:\oracle\VIS\db\tech_st\11.1.0\NETWORK\ADMIN\VIS_oracleebs Succeeded.
    instantiate file:
    source : D:\oracle\VIS\db\tech_st\11.1.0\appsutil\template\ad8itns.ora
    dest : D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\tnsnames.ora
    AutoConfig is exiting with status 0
    instantiate file:
    source : D:\oracle\VIS\db\tech_st\11.1.0\appsutil\template\ad8ilsnr.ora
    dest : D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\listener.ora
    AutoConfig is exiting with status 0
    adgentns.pl exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    ----------------end NetServiceHandler.log------------------------
    -------------------begin excerpt ApplyDBTechStack...log--------------------
    SNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUN-2012 09:32:41
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracleebs.demo.com)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    LSNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUN-2012 09:32:43
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    Failed to open service <OracleTNSListenerVIS>, error 1060.
    TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
    Message 459 not found; No message file for product=NETWORK, facility=NL
    Message 279 not found; No message file for product=NETWORK, facility=NL
    Message 1073 not found; No message file for product=NETWORK, facility=TNS
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracleebs.demo.com)(PORT=1521)))
    STATUS of the LISTENER
    Alias VIS
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
    Start Date 13-JUN-2012 09:32:46
    Uptime 0 days 0 hr. 0 min. 2 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\listener.ora
    Listener Log File D:\oracle\VIS\db\tech_st\11.1.0/network/admin\vis.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.68)(PORT=1521)))
    Services Summary...
    Service "VIS" has 1 instance(s).
    Instance "VIS", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    addlnctl.cmd exiting with status 0
    OpenService failed
    adsvdlsn.cmd exiting with status 1007
    ERRORCODE = 1007 ERRORCODE_END
    .end std out.
    .end err out.
    -------------------end excerpt ApplyDBTechStack...log-------------------------

    Hi;
    Pelase check below notes which is mention same error message
    On Windows, After 10g Upgrade, Running Autoconfig on Apps Tier Failed with : Unable To Start Apps Services TNS-12224: TNS:no listener TNS-12541 TNS-12560: TNS:protocol adapter error TNS-00511: N .. [ID 577713.1]
    Windows Autoconifg on dbTier fails on adcrobj.cmd & adsvdlsn.cmd [ID 356927.1
    Rapid Clone on Windows Fails When SID Is Over 8 Characters: "Rc-00118: Error Occurred During Creation Of Database, Failed to open service" [ID 405688.1]
    Regard
    Helios

  • TNS-12560: TNS:protocol adapter error and TNS-00530: Protocol adapter error

    i just installed oracle 11g on my windows xp professional box. Which user and password shall i use. What username and password should i be using to login to sql plus?
    when i use "Scott" "Tiger" it gives me ORA-12560: TNS:protocol adapter error occurred errorwhen i try to start service i get
    LSNRCTL> start
    Starting tnslsnr: please wait...
    Failed to open service <OracleOraDb11g_home1TNSListener>, error 1060.
    Failed to start service, error 203.
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    I am accessing the database from the same machine. Also do I need to have a ORACLE_HOME for getting sql plus working or it is not necessary?

    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Production
    System parameter file is D:\Apps\db\oracle11g\network\admin\listener.ora
    Log messages written to d:\app\computeruser\diag\tnslsnr\computer2\listener\alert\
    log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=computer2)(PORT=1521)
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
    ipc)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=computer2)(PORT=1521)
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date 13-DEC-2008 21:47:48
    Uptime 0 days 0 hr. 0 min. 5 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\Apps\db\oracle11g\network\admin\listener.ora
    Listener Log File d:\app\computeruser\diag\tnslsnr\computer2\listener\aler
    t\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=computer22)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    The listener supports no services
    The command completed successfully
    D:\>
    Edited by: user9938780 on Dec 13, 2008 9:52 PM
    Edited by: user9938780 on Dec 13, 2008 9:52 PM
    Edited by: user9938780 on Dec 13, 2008 9:53 PM
    Edited by: user9938780 on Dec 13, 2008 9:53 PM

  • 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.
    chamara

    Welcome 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

  • 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.

  • ERROR 12560-TNS:PROTOCOL ADAPTER ERROR

    I was not able to log in SQL*PLUS after installing Oracle 9iAS. I received ORA-12560: TNS:PROTOCOL ADAPTER ERROR.

    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Production
    System parameter file is D:\Apps\db\oracle11g\network\admin\listener.ora
    Log messages written to d:\app\computeruser\diag\tnslsnr\computer2\listener\alert\
    log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=computer2)(PORT=1521)
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
    ipc)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=computer2)(PORT=1521)
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date 13-DEC-2008 21:47:48
    Uptime 0 days 0 hr. 0 min. 5 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\Apps\db\oracle11g\network\admin\listener.ora
    Listener Log File d:\app\computeruser\diag\tnslsnr\computer2\listener\aler
    t\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=computer22)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    The listener supports no services
    The command completed successfully
    D:\>
    Edited by: user9938780 on Dec 13, 2008 9:52 PM
    Edited by: user9938780 on Dec 13, 2008 9:52 PM
    Edited by: user9938780 on Dec 13, 2008 9:53 PM
    Edited by: user9938780 on Dec 13, 2008 9:53 PM

  • Oracle 64bit Server (From JD Edwards) and oracle 32 bit client showing ORA:12560 "TNS: protocol adapter error "??

    I installed 64bit Oracle successfully and was able to connect to DB using SQL Developer and sqlplus (Oracle E1local and TNSListener is up and running). I installed Oracle 32bit client and copied both tnsnames.ora and sqlnet.ora files to C:\app\Administrator\product\11.2.0\client\Network\admin. But if i am trying to access DB through Oracle 32bit client (thru cmd as sqlplus /sys as sysdba or thru sqlplus , it is throwing ORA:12560. "TNS: protocol adapter error ". (Both 62bit server and 32 client on same VM machine - Windows 2008 R2 ). I directly executed sqlplus from "C:\app\Adm\....client\bin", but it is still throwing same error and because of this JDEdward installation is not able to find if any database is running or not.!
    My environment variables order: %PATH% =  C:\app\Administrator\product\11.2.0\client\bin;c:\Oracle\E1Local\bin; I have seen all the previous threads and try setting ORACLE_HOME and PATH variable using CMD and tried accessing the database, but it fails all the time.
    Please help me with the problem. Thanks in advance.

    Thread moved from Peoplesoft forum to JD Edwards.
    Nicolas.

  • 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.

  • TNS-12560: TNS:protocol adapter error

    Hi,
    I recently upgraded from oracle 9 to 10g and I get the error above.
    I created a new database I CAN connect to it using sqlplus (from console), but I cannot connect using any ide.
    .ora files are the following:
    listener.ora:
    LISTENER =
         (DESCRIPTION_LIST =
              (DESCRIPTION =
                   (ADDRESS_LIST =
                        (ADDRESS = (PROTOCOL = TCP)(HOST = loki.dev.justplus.ro)(PORT = 1521))
    sqlnet:
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    tnsnames:
    SM_LOKI =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = loki.dev.justplus.ro)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = SM)
    Oracle version is:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    When I try to start listener (lsnrctl status) I get the error:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=loki.dev.justplus.ro)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    Forgot to mention the OS: windows 2003
    Any help is appreciated.
    Thanks.

    You didn't describe how you performed the upgrade process. But it looks like you performed a migration process instead. If there is no listener service listed it's because it has never been started, or even configured. You should use the netca or the network manager to configure the listener and start it. The first time it starts it shows an error on windows platforms because the service originally doesn't exist, once it is created it displays the listener status.
    Please check the name resolution mechanism. If you are working on dhcp assigned IP or if you have a fixed IP. In case you are working with dynamic IP address you should configure a loopback adapter, and I suggest you reading this reference: Connectivity. Loopback Adapter.
    ~ Madrid

  • TNS-12560: TNS:protocol adapter error (when starting database)

    Hi.. everyone.
    I am testing oracle9i and oracle10g on the same machine, windows xp pro.
    When I was trying to start oracle10g using command line mode,
    I got the error, TNS-12560: TNS:protocol adapter error.
    I entered these command.
    set oracle_home=10g_homexxxx
    set oracle_sid=xxdb
    sqlplus /nolog
    conn sys/xxx as sysdba
    I got the error, TNS-12560: TNS:protocol adapter error.
    The install of two different versions of oracle , oracle9i and oracle10g,
    on the same machine(windows xp pro) could cause this problem?
    Is it safe to install two different versions of oracle on the same window machine?
    Is there any confliction in environment variables?
    I think there is no problem on the linux, unix system.
    I stoped the listener of oracle9i and tried again. But I failed.
    I am looking forwared to hearing your experience and advice.
    Thanks in advance. Have a good day.
    Ho.

    Dear Werner.
    Thanks for your reply.
    I shutdown oracle9i and 10g, using "services.msc" utility from windows.
    Therefore, "OracleService<xxdd>" is not running.
    What I want to do is to startup 10g database using "cmd",command line mode.
    In addition, I would like to know why I could not start 10g database, using "cmd"
    on windows xp pro.
    I installed 9i first and installed 10g. I think there are a kind of environment variable
    conflictions.
    I am wondering how I can fix them, and whether or not they are curable.
    Thanks for your reply. Have a good day.
    Regards.
    Ho.

Maybe you are looking for