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

Similar Messages

  • 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?
    null

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

  • 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

  • Step create SPFILE ....*ORA-12560: TNS: protocol adapter error.*

    Hi All,
    by the installation of R/3 4.6C for a pilot system for the upgtrade from 4.6C to ECC 6.0 the installation hangs at step:
    Create SPFILE: (this step creates the oracle server profile (SPFILE) from the up to now used PFILE (ini<SID>.ora). -
    when I try to connect to DB via: connect /as sysdba  I get the error message:
    ORA-12560: TNS: protocol adapter error.
    I know this oracle file can means many things and the R/3 is running fine. I copied the brtool from source system but it does not help. Until now there is no data from source. Its a new installation and we want to fix this error before we began to copy the data to the pilot system.
    Anyone from you has a good feedback for me?
    Thanks in advance
    Atik

    Hi Thilip,
    thank you for your reply.
    1) Oracle Service are running fine:
    - OracleJobschedulerSID   ... disabled
    - oracleSID102iSQL*plus .......manual
    - oracleSID102TNSListener.... started
    - OraclServiceSID ..................started
    2) TNSnames.ora is ok:
    Filename......: tnsnames.ora
    Created.......: created by SAP AG, R/3 Rel. >= 4.0A
    Name..........:
    Date..........:
    PLT.WORLD=
      (DESCRIPTION =
        (SDU = 32768)
        (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = bysapp1)
              (PORT = 1527)
        (CONNECT_DATA =
           (SID = PLT)
           (GLOBAL_NAME = PLT.WORLD)
    3)The Listner is running:
    see the services.
    4) R3trans does not work: Error message is:
    ..:\usr\sap\PLT\sys\exe\run>r3trans -d
    This is r3trans version 6.05 (release 46D - 30.09.03 - 16:30:42).
    2EETW169 no connect possible: "connect failed with DBLI_RC_LOAD_LIB_FAILED."
    r3trans finished (0012).
    I can see nothing wrong in this issue.
    Thanks in advance.
    Best regards
    Atik

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

  • ORA 12560 OTN Protocol Adapter Error

    I installed Oracle 9iAS DB and Developer. When I tried to run Form (Form Builder). I could not establish the connection.
    After insert username and password (without hostname), the error said, ORA 12560 OTN Protocol Adapter Error. However, when I put the hostname, the message alert 'the service name could not be solved' or sth. Can anyone help me with this problem? Thank you so much

    Hey Nikhil,
    I have the same problem, however when I try to run the commands u have asked to run I get errors.
    When I try
    c:>svrmgrl
    'svrmgrl' is not recognized as an internal or external command.
    operable program or batch file.
    and when I start lsnrctl
    LSNRCTL> lsnrctl start
    NL-00853: undefined command "lsnrctl". Try "help"
    I am using XP , the database is on other drive and the Developer suite is on other drive however, Listener is working fine. This error "ORA-12560: TNS:protocol adapter error" comes only when I try to log into my database from isqlplus. I am using 9i. Any Ideas on what should be done.
    Hashem

  • Facing a error ORA-12560: TNS:protocol adapter error

    Hi All,
    Recently I have installed oracle 11gr2 on 64 bit solaris machine .During Installation i didnt get any error but when ever I am trying to create create a database Using DBCA I am getting a error as ORA-12560: TNS:protocol adapter error .The same error I am getting when ever trying to create the DB manually.
    As I am new to this 11gr2 in solaris machine ,any help in this matter will be very helpfull for me.
    With Regards,
    Sujit

    I started the listener then also i am getting the same error.
    below is listener status after starting that
    LSNRCTL> start
    Starting /export/home/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
    Log messages written to /export/home/app/oracle/diag/tnslsnr/Blrbalidev3/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Blrbalidev3)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
    Start Date 10-FEB-2010 13:41:07
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File /export/home/app/oracle/diag/tnslsnr/Blrbalidev3/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Blrbalidev3)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    Regards,
    Sujit

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

    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?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 from ADO ODBC connection in Access VB

    I have an MS Access 2000 VB module that loads data from Access into an Oracle database. This worked when Access was 97 using DAO and Oracle RDBMS was 8i. Now, the database has been upgraded to 9i and Access has been upgraded to 2K using ADO. The error occurs at the time of connection. Here is my code:
    Const OracleDBConnectParm As String = _
    "DSN=tracDemo;USER ID=tracGoldDev;PASSWORD=tracGoldDev;"
    StrSQL = OracleDBName
    errstr = "Open DB: " & OracleDBConnectParm
    Set Oracledbs = New ADODB.Connection
    With Oracledbs
    .Provider = "MSDAORA.1"
    .ConnectionString = StrSQL
    .Open
    End With
    The error I receive is:
    1/6/2003 1:09:12 PM (Main)
    Opening Databases
    Table:&lt;Open DB: DSN=tracDemo;USER ID=tracGoldDev;PASSWORD=tracGoldDev;&gt; Keys:&lt;: &gt;
    VB Error (-2147467259): ORA-12560: TNS:protocol adapter error
    My SQLNet.log shows the following:
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=C:\Program Files\Microsoft Office\Office\MSACCESS.EXE)(HOST=GC88X11)(USER=montolchik))))
    Long postings are being truncated to ~1 kB at this time.

    I need to connect to Oracle tables from within Access Data Project (ADP). I can connect fine from within regular Access .mdb Front End. When I enter the Oracle Server name in the Data Link Properties box I get error
    "Test connection failed because of an error initializing the provider.(DBNETLIB]
    Suggestions
    Thanks!

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

    Hi,
      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

  • ORA-12560: TNS:protocol adapter error..checked a lot of forums but it fails

    I checked a lot of forums out here but no satisfying answers.
    I'll go with the summary again.
    I have Windows XP.
    First I installed Oracle 9i on E drive for practice purpose. The installation was done successfully. I opened Internet explorer. Typed "http://hash/isqlplus" in the address bar and pressed enter. The page displayed and I logged in. Logging in was successful.
    Now I installed the Developer Suite on the C drive. Installation was complete. Everything seemed fine but when I tried logging into my isqlplus again it started giving me an error saying "ORA-12560: TNS:protocol adapter error"
    I have no idea how to go ahead with this.
    Will be thankful if someone could clear this up.
    Thanks.
    Hashem.

    If you search more, you would have seen loads of answers.
    You now have more than one ORACLE_HOME and your latest install will be the current default ORACLE_HOME.
    If your have not set TNS_ADMIN, all Oracle Installations on your server will be looking for the Listener (and tnsnames) on your default ORACLE_HOME which I guess will be the ORACLE_HOME of the Developer Suite.
    So set TNS_ADMIN on th environment settings on the server to point to the correct place

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for