0ra 12560:tns adaptor protocol error

Hi Frenz
I m New to oracle 10g
when i insatlled 10g at that tym i created a database from DBCA n it is working fine...
but now if i am creating a database from DBCA it is giving me ora 12560: TNS adaptor protocol error but Listener on machine is up n working fine...infact when i create a Database manually it is working n db created successfully....
i want to resolve this problem urgently.
waitting for the responses from experts.
Thanks
Varun

I assumed that the Installer would create ORACLE_HOME and setting the PATH correctly.
I installed using the Basic Selection. The install was marked successful. During the configuration, I got:
I get an exception in System.Security.Policy.PolicyException in OraProvCfg,exe, which is not found on the Net.
The Oracle Net Configuration Assistent succeeded
listener.ora is:
# listener.ora Network Configuration File: U:\app\ron\product\11.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = MyServer)(PORT = 1521))
sqlnet.ora is:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
I'm going to manually delete the installation and try the advanced version.
Edited by: user8892579 on Dec 15, 2009 11:51 AM

Similar Messages

  • Get TNS Adaptor Protocol error 12560 upon first install of 11G

    I am installing 11G. The NET Configuration assistant succeeded but the DB Configuration Assistant failed with error 12560. Should I unininstall and try again? I get to 2% of the DB install and then the error. I've retried many times.
    This is the failed command found in
    U:\app\user\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands
    U:\app\user\product\11.1.0\db_1\oui\bin\runConfig.bat ORACLE_HOME=U:\app\user\product\11.1.0\db_1 MODE=perform ACTION=configure RERUN=false $*
    Edited by: user8892579 on Dec 15, 2009 9:37 AM

    I assumed that the Installer would create ORACLE_HOME and setting the PATH correctly.
    I installed using the Basic Selection. The install was marked successful. During the configuration, I got:
    I get an exception in System.Security.Policy.PolicyException in OraProvCfg,exe, which is not found on the Net.
    The Oracle Net Configuration Assistent succeeded
    listener.ora is:
    # listener.ora Network Configuration File: U:\app\ron\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = MyServer)(PORT = 1521))
    sqlnet.ora is:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I'm going to manually delete the installation and try the advanced version.
    Edited by: user8892579 on Dec 15, 2009 11:51 AM

  • ORA-12560: TNS:proto adapter error

    Dear Gurus,
    I am having a big problem all of a sudden i am unable to connect to my database (10g 10.2.0.1.0) running on Windows 2003 server.
    It give me the following error
    ORA-12560: TNS:proto adapter error
    When i say
    D:\oracle\product\10.2.0\db_1\BIN>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 13 12:51:34 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:proto adapter error
    SO i have opne the SR, they asked me to increase the patch set from 10.2.0.1.0 to 10.2.0.2.0 which i did but still get the same error
    D:\>cd D:\oracle\product\10.2.0\db_1
    D:\oracle\product\10.2.0\db_1>cd bin
    D:\oracle\product\10.2.0\db_1\BIN>sqlplus /nolog
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Apr 16 12:14:56 2008
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    SQL> startup nomount
    ORA-12560: TNS:proto adapter error
    SQL>
    Tried to set the env such as ORACLE_HOME and ORACLE_SID. Listner is also started.
    More funny is when i check in control panel --> Administration --> Services i can see OracleServiceSID is running as well Oracle Listner is running.
    Any help will make my day
    Regards
    Kiran Rana

    Here we go
    Mon Apr 07 11:11:00 2008
    Thread 1 advanced to log sequence 1403
    Current log# 1 seq# 1403 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ZRB\REDO01.LOG
    Mon Apr 07 22:00:58 2008
    Thread 1 advanced to log sequence 1404
    Current log# 2 seq# 1404 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ZRB\REDO02.LOG
    Mon Apr 07 22:19:12 2008
    Thread 1 advanced to log sequence 1405
    Current log# 3 seq# 1405 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ZRB\REDO03.LOG
    Regards
    Kiran Rana

  • Attn: oracle team - ORA:12560 TNS protcol adapter error

    We are getting this error ORA:12560 TNS protcol adapter error from many client PCs.
    We can ping from the client to the database server. When we try to do tnsping80 to the database server, it is giving this error. We reinstalled Oracle, but of no use. Only after formatting the PC and installing Oracle, it started working properly.
    Please give a solution.
    Thanks

    Please check Oracle Installer log
    "platGroup = UNIX
    INFO: Query Returned: false
    INFO: Setting variable 's_portSpecificDiskLoc' to '[port specific loc]'. Received the value from the variable calculation.
    INFO: Calling Query generalQueries10.1.0.3.0 getOSName
    INFO: Query Returned: NT_X86
    INFO: Setting variable 's_operatingSystem' to 'NT_X86'. Received the value from the variable calculation.
    INFO: Setting variable 's_ntEnvOH' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_isRAWChosen' to ''. Received the value from the variable calculation.
    INFO: Calling Query areasQueries10.2.0.1.0 getComponentInstallTypeName
    INFO: Query Returned: EE
    INFO: Setting variable 's_installType' to 'EE'. Received the value from the variable calculation.
    INFO: Calling Query netQueries10.2.0.1.0 getHostIPAddress
    INFO: Query Returned: 192.168.2.4
    INFO: Calling Query netQueries10.2.0.1.0 getHostNameForIPAddress
    ipAddress = 192.168.2.4
    INFO: Query Returned: 192.168.2.4
    INFO: Calling Query netQueries10.2.0.1.0 getMachineName
    hostName = 192.168.2.4
    INFO: Query Returned: 192
    INFO: Setting variable 's_hostname' to '192'. Received the value from the variable calculation.
    INFO: Setting variable 's_globalDBName' to 'orcl'. Received the value from the command line.
    INFO: Setting variable 's_fullPath' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_dlgStarterDBConfigCreateStarterDB' to 'Create a starter database'. Received the value from the variable calculation.
    INFO: Setting variable 's_dlgSIDMigrateSelection' to 'N'. Received the value from the variable calculation. "
    Thanks

  • ORA:12560 TNS protcol adapter error

    We are getting this error ORA:12560 TNS protcol adapter error from many client PCs.
    We can ping from the client to the database server. When we try to do tnsping80 to the database server, it is giving this error. We reinstalled Oracle, but of no use. Only after formatting the PC and installing Oracle, it started working properly.
    Please give a solution.
    Thanks

    Thanks to Diana McCabe, I have found one way to fix the problem, or at least get it to run in
    C:\Oracle\Oradev\network\admin\tnsnames.ora file by changing SID = orcl and making sure HOST = 127.0.0.1
    However, when you connect to the database, you may have to type orcl in the Host name in order to get it to run.

  • TNS-12560 TNS:protocal adapter error

    Hi,
    I installed vmware 5.5.3 in my desktop and installed RHEL 4 and Oracle 10.2.0.1 on RHEL 4.Created a database and is working fine.But when I tried to start the listener ,i'm getting the following error and the listener did not start.
    TNS-12537: TNS: connection closed
    TNS-12560: TNS:protocol adapter error
    TNS-00507: Connection closed
    Linux Error:29:Illegal seek
    I searched for this error in our forums ,but could not find the exact resolution .
    I felt Dale's answer in the below old post is little relevant but I could not understand the exact change that is to be done.
    TNS-12560: TNS:protocol adapter error
    can somebody please help me how to resolve this error...
    Regards,
    Bharath.

    bharathDBA wrote:
    Hi,
    I installed vmware 5.5.3 in my desktop and installed RHEL 4 and Oracle 10.2.0.1 on RHEL 4.Created a database and is working fine.But when I tried to start the listener ,i'm getting the following error and the listener did not start.
    TNS-12537: TNS: connection closed
    TNS-12560: TNS:protocol adapter error
    TNS-00507: Connection closed
    Linux Error:29:Illegal seek
    I searched for this error in our forums ,but could not find the exact resolution .
    I felt Dale's answer in the below old post is little relevant but I could not understand the exact change that is to be done.
    TNS-12560: TNS:protocol adapter error
    can somebody please help me how to resolve this error...
    Regards,
    Bharath.TNS-12560 is symptomatic of OS/Networking mis-configuration
    Oracle is the victim; not the culprit.
    Both problem & fix are external to Oracle RDBMS

  • ORA-12560 :TNS protocal adapter error

    Hi everyone,
                     I'm using Oracle 11g Enterprise Edition Server in Windows 8.1. I'm getting the TNS protocal adapter error. My service is not up(I checked in the services using services.msc).
    Until Yesterday It worked well for me, I got this error after I updated from Windows 8 to Windows 8.1.
    Here is my tnsnames.ora file data,
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = Andrew)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    Here is my listener.ora file data,
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = Andrew)(PORT = 1521))
    I have tried this to start the server, It throws the following error.
    F:\app\alex\product\11.1.0\db_1\NETWORK\ADMIN>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 22-JAN-2014 22:42
    :32
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    Please guide me how to resolve this issue.
    Regards,
    Felix

    Thanks for all your reply, I thought whether It was my fault and I tried a lot of commands which I found in this Oracle Forum for more than 3hours, just now I found a link(The problem is because when I moved Windows 8 to 8.1), I found this link fortunately.
    Re: Windows 8.1 upgrade: All Oracle DB services are deleted!
    Regards,
    Felix

  • Installition error! ORA - 12560: TNS: proto adapter error

    ORA - 12560: TNS:
    Edited by: user8944100 on 29.Oca.2010 15:02

    user8944100 wrote:
    how can i copy the ruselts???? i can not select the output in dosLike this
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 30-JAN-2010 01:30
    :19
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Anurag)(SERVICE=orcl)(PO
    RT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date                30-JAN-2010 01:01:08
    Uptime                    0 days 0 hr. 29 min. 12 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   E:\oracle\product\11.1.0\db_1\network\admin\listener.o
    ra
    Listener Log File         e:\oracle\diag\tnslsnr\Anurag\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Anurag)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 2 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfullyI did
    -> Press the left mouse key
    -> selected Mark
    -> took my pointer to starting point where I want to copy. I hold the right button and dragged it to the end. So the text which I need to copy got highlighter.
    -> Released the right mouse button. Clicked the left mouse button. If menu dropdown came then I press copy.
    -> Did Cntrl +v here.
    And pressed the "Post message" button.
    Regards
    Anurag

  • TNS PROTOCAL ADAPTER ERROR

    HAI....AM USING WINDOWS OS...RECENTLY I USED TO INSTALL ORACLE 11G IN MY PC...ITS IS INSTALLED SUCCESSFULLY  BUT WHILE CONNECTING...AM GETTING ERROR LIKE THIS....
    SQL*PLUS:RELEASE 11.2.0.1.0 PRODUCTION ON THU DEC 12 11`:48:28 2013
    COPYRIGHT <C> 1982,2010,ORACLE .ALL RIGHTS RESERVED.
    ENTER ESER NAME:SCOTT
    ENTER PASSWORD:
    ERROR:
    ORA-12560: TNS :PROTOCAL ADAPTER ERROR
    ENTER USER-NAME:
    HOW TO HANDLE IT....??PLEASE HELP ME

    Hi,
    Please try following command:
    C:\Users\a000364>echo %ORACLE_SID%
    %ORACLE_SID%
    C:\Users\a000364>set ORACLE_SID=ORCL
    C:\Users\a000364>echo %ORACLE_SID%
    ORCL
    C:\Users\a000364>sqlplus / as sysdba;
    SQL*Plus: Release 10.1.0.5.0 - Production on Thu Dec 12 10:57:24 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select name from v$database;
    NAME
    ORCL
    Thank you

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

    A 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 Adaptor Error

    Hi .
    I have downloaded Oracle 11 g from Oracle .com
    After installation i started Command line for oracle
    Used c:\> sqlplus
    After entering username and password which i set at the time on installation
    I got error
    ORA 12560 : TNS Protocol Adaptor error
    Any idea....
    Thanks

    Hello,
    You may set the ORACLE_SID first:
    set ORACLE_SID=XE
    sqlplus user/passwordElse, check for the Service OracleServiceXE in the Control Pannel. It should be started.
    Hope this help.
    Best Regards,
    Jean-Valentin

  • [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adaptor error

    Script: D:\Connection.vbs
    Line: 10
    Char: 1
    Error: [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adaptor error
    Code: 80004005
    Source: Microsoft OLE DB Provider for ODBC Drivers
    Connection.vbs file has following contents:
    Dim strCon
    strCon = "Driver={Microsoft ODBC for Oracle}; " & _
    "CONNECTSTRING=(DESCRIPTION=" & _
    "(ADDRESS=(PROTOCOL=TCP)" & _
    "(HOST= TRISHUL)(PORT=1525))" & _
    "(CONNECT_DATA=(SERVICE_NAME=BTFLVAS))); uid=odb;pwd=odb;"
    Dim ocon1:set ocon1=CreateObject("ADODB.Connection")
    ocon1.open strCon
    ************************************************** ****************

    The Service name BTFLVAS
    It looks like you are connecting through CLient but you also have TNSNAMES.ora entry
    How do you connect?
    ODBC or Oracle Clinet?

  • TNS -12650 Protocol Adaptor error

    Hello everyone,
    I am facing TNS-12560 error while connecting to oracle server from client side.
    I am using VMWare workstation for practice. On one I install Oracle server on linux 4.0 & on other I install Oracle Client on Windows –XP .My server IP address is 192.168.73.129 on which the Oracle server is install & 192.168.73.130 on which client software installed. I am able to ping both machine from each other.
    But when I use tnsping command I am getting the TNS-12650 error
    When I use tnsping 192.168.73.129 I get
    TNS-12560: TNS:protocol adaptor error
    My Oracle Server tnsmaes.ora is as follows:-
    # tnsnames.ora Network Configuration File:
    home/oraeng/app/oracle/product/10.2.0/network/admin/tnsname.ora
    # Generated by Oracle configuration tools.
    BPLPRAGS=
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.73.129)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = bplprags)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    And my client side tnsnames.ora is as follows:-
    # tnsnames.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    BPLPRAGS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.73.129)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = bplprags)
    When I use tnsping 192.168.73.129 from my client I got TNS-12650 TNS:Protocal adaptor error.
    Please help me out to solve this problem.

    In the same folder of your client machine, check to make sure your SQLNET.ORA specifies that it's using TNSNAMES.

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

Maybe you are looking for