Ora-12560 TNS ERROR

Hello All!
I keep getting this error after installation ,when I try to log into SQL+:
Ora-12560 TNS PROTOCOL ADAPTER ERROR..
Any ideas how to go about it?
thanks!
Sandhya

Hi Sandhya,
Are the scripts used to restart your database instance(s) after system restart also starting the TNS listener process?
Are you using multiple Oracle Homes? Oracle 8.1.5 or 8.1.6 with Oracle 8.0 can cause 'issues'.
Cause:
ORA-12560: "TNS:protocol adapter error" that means the listener was unable to start a process connecting the user to the database server.
Actions:
Check addresses used for proper protocol specification. Before
reporting this error, look at the error stack and check for lower level transport errors. For further details, turn on tracing and reexecute the operation. Turn off tracing when the operation is complete.
TNS experienced a protocol-adapter error. There could be some problem with the installation of your Oracle Protocol Adapter. To resolve this problem, turn on tracing and review the output to identify the severity of the problem
Regards,
Beau

Similar Messages

  • ORA-12560 TNS error in protocol adapter. Why ?

    I installed on computer1 an Oracle Express 10g server and he runs fine.
    Then, on another computer2 in the inhouse-net I installed the Oracle Client.
    When I try to contact now from computer2 the Oracle server on computer1
    with e.g.
    sqlplus.exe myname/mypasswd
    I am getting an error ORA-12560: TNS: Error in protofol adapter.
    What does that mean?When I enter the same locally on the server machine everything is fine.
    Firewalls between the computers are disabled.
    Which Oracle services must run on the client (not the server !) machine ?

    Ok, my Oracle Client is installed in C:\XEClient
    Below I show you the (recursive) output of the 'tree.exe' command (under WinXP)
    of the folder tree of C:\XEClient. Where is the directory "network/admin" ??????
    C:\XEClient>tree
    Folder PATH listing for volume WinXP
    Volume serial number is xxxxxxxx
    C:.
    ├───bin
    ├───doc
    ├───jdbc
    │ └───lib
    ├───jlib
    ├───lib
    ├───oci
    │ ├───include
    │ ├───lib
    │ │ └───msvc
    │ │ └───vc71
    │ └───samples
    ├───odbc
    │ ├───help
    │ └───html
    ├───odp.net
    │ ├───doc
    │ ├───help
    │ │ └───ja
    │ ├───PublisherPolicy
    │ ├───Resources
    │ │ ├───de
    │ │ ├───es
    │ │ ├───fr
    │ │ ├───it
    │ │ ├───ja
    │ │ ├───ko
    │ │ ├───pt-BR
    │ │ ├───zh-CHS
    │ │ └───zh-CHT
    │ └───samples
    │ ├───ArrayBind
    │ ├───AssocArray
    │ ├───DataSet
    │ │ ├───DMLOperOnDS
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSDRwithLOB
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSPopulate
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSPopulateVB
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSwithRefCur
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───RelationalData
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───RelationalDataVB
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ └───SafeTypeMapping
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ ├───EventHandler
    │ │ └───RowUpdateEventHandler
    │ │ ├───doc
    │ │ │ └───images
    │ │ └───src
    │ ├───Globalization
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ ├───LOB
    │ │ ├───AccessBFile
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ └───src
    │ │ └───UpdLob
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ ├───RefCursor
    │ │ └───UpdRefCursor
    │ │ ├───doc
    │ │ │ └───images
    │ │ └───src
    │ ├───StatementCache
    │ ├───TAF
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ ├───Transaction
    │ │ ├───DistributedTransaction
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ └───Savepoint
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ ├───WebService
    │ │ └───OdpNetWs
    │ │ ├───doc
    │ │ │ └───images
    │ │ └───src
    │ │ ├───client
    │ │ └───webservice
    │ └───XML
    │ ├───XMLView
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ └───XMLViewVB
    │ ├───doc
    │ │ └───images
    │ ├───setup
    │ └───src
    ├───oledb
    │ ├───include
    │ ├───lib
    │ └───samples
    │ ├───DataSet
    │ │ ├───DMLOperOnDS
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSPopulate
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSPopulateVB
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSwithLOB
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ └───DSwithRefCur
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ └───RefCur
    ├───oramts
    │ ├───admin
    │ ├───public
    │ └───trace
    ├───precomp
    │ ├───admin
    │ └───lib
    └───sqlplus
    C:\XEClient>

  • Error Ora-12560: TNS: error del adaptador del Protocolo

    When I'm connect to oracle data base I have this problem it's the error.
    What can I do whith my problem.
    Please helpme.

    It's basically saying that you cannot connect because the SQL*Net process can't find the database.
    Check:
    1) your tnsname.ora file is correct
    2) your ORACLE_HOME is correct (if you are getting the error on the server console)
    3) Check the alert log - that can often contain some more information.
    4) The listener is up and running.

  • ORA_-12560: TNS :ERROR  by Protokoladapter

    Hi,
    I've tried to Connect PHP and Oracle,but I'd get this error
    ERROR: Nr12560
    ORA-12560: TNS: Error by Protocolladapter
    my Script in PHP is als fallow and this is only for the connection to Oracle.
    <?php
    // Datenbank verbindug zu Oracle wifi
    //$wifi ="";
    $co = @ocilogon("hr8","hr8");
    $sql = 'select * from jobs';
    //Fehler ausgeben
    if(!$co)
    $fehler =ocierror();
    echo('<p>Fehler Nr');
    echo($fehler ['code']);
    echo('<br>');
    echo($fehler ['message']);
    die();
    else
    //die datenbank ansprechen
    echo('Verbunden mit'.ociserverversion($co).'<br>');
    //$result= prüfen($co,$sql);
    // die Verbindung schliessen
    ocilogoff($co);
    ?>
    I use Windows XP Prof. ,and I have my DataBase running when I 'd try to do the connection to Oracle .
    Please I need a fast answer.
      Regards
       CARLOS
     

    Hi ;
    is there anyone who can  help me this ERROR to resolve.
    First of all,  I use Windows XP system  and I tried to connect  PHP  to Oracle 10g DataBase.But I'd get the ERROR ABOVE.
    I've installed PHP 5 Editor 5.0.3  und  XAMPP  for the connection to Oracle Database . The Database is running When I 'd try the connection between  both of them. The  PHP script looks like this;:
    <?php
    // Datenbank verbindug zu Oracle wifi
    $co = @ocilogon('hr8','hr8') ; // this is a String with 'username' and 'PSW'
    $sql = 'select * from jobs';
    //Fehler ausgeben
    if(!$co)
    $fehler =ocierror();
    echo('<p>Fehler Nr');
    echo($fehler ['code']);
    echo('<br>');
    echo($fehler ['message']);
    die();
    else
    //die datenbank ansprechen
    echo('Verbunden mit'.ociserverversion($co).'<br>');
    // $result= prüfen($co,$sql);
    // die Verbindung schliessen
    ocilogoff($co);
    ?>
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    I' need an answer as soon as possible.
    Thanks.
      Greetings
         CARLOS

  • Unable to create database due to ORA-12560, TNS protocol adapter error

    Hello,
    I'm trying to create an 8.1.7.0 database on a W2k server, but it is failing because as soon as svrmgrl is launched, I get an ORA-12560, TNS: protocol adapter error:
    D:\oracle\db_creation_scripts>D:\oracle\ora81\bin\svrmgrl @D:\oracle\db_creation_scripts\mterm62run.sql
    Oracle Server Manager Release 3.1.7.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
    ORA-12560: TNS:protocol adapter errorEcho ON
    SVRMGR> connect INTERNAL/manager
    ORA-12560: TNS:protocol adapter error
    SVRMGR> startup nomount pfile="D:\oracle\admin\mterm62\pfile\initmterm62.ora"
    LCC-00161: Message 161 not found; product=RDBMS; facility=MGR
    My ORACLE_HOME, ORACLE_SID, and TNS_ADMIN environmental variables are correctly set, and I'm able to tnsping the listener.
    I've enabled tracing, and my client trace file is:
    --- TRACE CONFIGURATION INFORMATION FOLLOWS ---
    New trace stream is d:\trace\client_trace.log_2084_9.trc
    New trace level is 6
    --- TRACE CONFIGURATION INFORMATION ENDS ---
    --- PARAMETER SOURCE INFORMATION FOLLOWS ---
    Attempted load of system pfile source d:\oracle\ora81\network\admin\sqlnet.ora
    Parameter source loaded successfully
    Attempted load of local pfile source D:\oracle\db_creation_scripts\sqlnet.ora
    Parameter source was not loaded
    -> PARAMETER TABLE LOAD RESULTS FOLLOW <-
    Successful parameter table load
    -> PARAMETER TABLE HAS THE FOLLOWING CONTENTS <-
    TRACE_DIRECTORY_SERVER = d:\trace
    TRACE_DIRECTORY_CLIENT = d:\trace
    NAMES.DIRECTORY_PATH = (TNSNAMES, HOSTNAME)
    SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
    TRACE_FILE_CLIENT = client_trace.log
    TRACE_FILE_SERVER = server_trace.log
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    TRACE_UNIQUE_CLIENT = on
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_LEVEL_SERVER = ADMIN
    --- PARAMETER SOURCE INFORMATION ENDS ---
    --- LOG CONFIGURATION INFORMATION FOLLOWS ---
    Log stream will be "D:\oracle\db_creation_scripts\sqlnet.log"
    Log stream validation not requested
    --- LOG CONFIGURATION INFORMATION ENDS ---
    nigini: entry
    nigini: Count in NI global area now: 1
    nigini: Count in NI global area now: 1
    nrigbi: entry
    nrigbni: entry
    nrigbni: Unable to get data from navigation file tnsnav.ora
    nrigbni: exit
    nrigbi: exit
    nigini: exit
    niqname: Hst is already an NVstring.
    niqname: Inserting CID.
    niotns: entry
    niotns: niotns: setting up interrupt handler...
    niotns: Not trying to enable dead connection detection.
    niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleMTERM62)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=MTERM62)(CID=(PROGRAM=D:\oracle\ora81\bin\SVRMGRL.EXE)(HOST=SERV0354)(USER=tarisa))))
    nsmal: 140 bytes at 0x12493f0
    nscall: connecting...
    nladini: entry
    nladini: exit
    nladget: entry
    nladget: exit
    nlpcaini: entry
    nlpcaini: prg =
    nlpcaini: arg[0] =
    nlpcaini: arg[1] =
    nlpcaini: exit
    nsmal: 420 bytes at 0x12542f0
    nsmal: 1712 bytes at 0x12572f0
    nsopen: opening transport...
    ntpcon: entry
    ntpcon: toc = 1
    sntpcall: entry
    snlpcss: entry
    ntpcon: exit
    nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=2, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    nsopen: unable to open transport
    nsmfr: 1712 bytes at 0x12572f0
    nsmfr: 420 bytes at 0x12542f0
    nladget: entry
    nladget: exit
    nsmfr: 140 bytes at 0x12493f0
    nladtrm: entry
    nladtrm: exit
    nioqper: error from nscall
    nioqper: nr err code: 0
    nioqper: ns main err code: 12560
    nioqper: ns (2) err code: 0
    nioqper: nt main err code: 530
    nioqper: nt (2) err code: 2
    nioqper: nt OS err code: 0
    niomapnserror: entry
    niqme: entry
    niqme: reporting NS-12560 error as ORA-12560
    niqme: exit
    niomapnserror: returning error 12560
    niomapnserror: exit
    niotns: Couldn't connect, returning 12560
    niotns: exit
    nigtrm: Count in the NI global area is now 0
    nnfgdei: entry
    nrigbd: entry
    nrigbd: exit
    nigtrm: Count in the NL global area is now 0
    My tnsnames, listener and sqlnet.ora files are very simple:
    ## BEGIN TNSNAMES.ORA
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    MTERM62 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = mterm62)
    (INSTANCE_NAME = mterm62)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = mterm62)
    (PRESENTATION = http://admin)
    # LISTENER.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = serv0354)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_DESC =
    (ORACLE_HOME = D:\oracle\ora81)
    (SID_NAME = mterm62)
    TRACE_LEVEL_LISTENER = ADMIN
    # SQLNET.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    TRACE_DIRECTORY_CLIENT = d:\trace
    TRACE_UNIQUE_CLIENT = on
    TRACE_DIRECTORY_SERVER = d:\trace
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    TRACE_FILE_CLIENT = client_trace.log
    TRACE_FILE_SERVER = server_trace.log
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_LEVEL_SERVER = ADMIN
    NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
    SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
    Does anyone have any ideas what else I can check. I'm a Unix person, not a Windows person, which is making it even more complicated. If I was on Unix, I'd just blow everything away and start again from scratch, but since I'm not sure how to remove all traces from the registry, etc., I don't want to try that on this machine. There was already one other database created, but it's not goign to be used.
    Any help would be greatly appreciated.
    regards,
    Tarisa.

    hi,
    thanks for the info. the problem, as it turns out, was that I was connected to the db server via a terminal service (Microsoft Management Console), which for some reason caused probelms with TNS. After I connected directly to the machine using VNC, I was able to create the database with no problems. strange but true.
    regards,
    Tarisa.

  • ORA-12560 TNS protocol Adapter error in 11g (11.1.0.6)

    Hello All,
    I have Oracle 11g installed on my machine and when i tried to log in to sql plus i got the error below:
    ORA-12560 TNS protocol Adapter error
    By setting the ORACLE_SID = orcl by browsing to the bin directory of Oracle Installation the above error disappaears and i am able to log in from sql plus.
    My intention is to create a db backup for which i am trying to use the exp command...this time the same error appears.
    Also the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
    Can anybody please help me out find a good solution for this?
    Any help would be appreciated friends.....
    Thanks in Advance!!!!!
    Regards.
    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 in Oracle Forms...

    Hi, I installed Oracle developer suite to use for Oracle forms but am getting "ORA-12560: TNS:protocol adapter error" when trying to run a form. The database is running locally on my PC.
    I've run the command line to see if hostname matches up with the "HOST= " in the ".../network/admin/listener.ora " file match, they do. What can I try next? I did have Oracle 10gXE installed, which I have now removed. I'm including my tnsnames and listener file content:
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    Thanks in advance for any help!

    Of course you found another one. Each .and every Oracle database client home (such as developer, app server) has one.
    Don't just change the port - the tnsnames.ora in the dev home does not point to a database service. It only points to an extproc [external procedure called by a database]. You need to put a database service entry into that file similar to the one in the database home. (Easiest solution - copy the tnsnames.ora from db home ... after you've made a backup)
    And please don't tell me you are using Developer 6i - a simple Google search would verify that the networking is incompatible.

  • ORA-12560-TNS PROTOCOL ERROR

    SIR,
    i hadbeen installed oracle aplication server.but i m not connecting to database.when i use the sql*plus.i use the user name-scott &password-tiger.i got an error ORA-12560=TNS PROTOCOL ERROR.
    I M NOT ABLE TO RECTIFY ITS PROBLEM,how can i create host string in oracle application server 10g.please send reply its very urgent.
    thanx ranjeet

    Although this question is completely off topic of the Personalization you can learn how to configure the SQL*Net connect from the manual by reading the topic "Configure the Client to Use a Net Service Name" found at the following link:
    http://download-west.oracle.com/docs/cd/A91202_01/901_doc/network.901/a90154/gettings.htm#483215

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • ORA-12560: TNS:protocol adapter error on Fedora Core 5

    Hi ,
    After installing the 10201_database_linux_x86_64 on Fedora Core5. The database is started fine on the server. The status of is Listener is also up. But when try to connect from client PC. I am getting ORA-12560: TNS:protocol adapter error error please help. me.
    Thanks,

    Here are my config files.
    On SERVER
    listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME =/u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = db10g)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc1)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx)(PORT = 1521))
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, HOSTNAME)
    tnsnames.ora
    # Generated by Oracle configuration tools.
    DB10G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DB10G.WORLD)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    now when I issue lsnrctl start db10g i am getting following error.
    TNS-01151: Missing listener name, db10g, in LISTENER.ORA
    Please help me.

  • Oracle 9i database server ORA-12560: TNS: Protocol adapter error ?

    My OS windows xp 2002 sp2. im using oracle 9i database server .I cant login Oracle sql * plus when in going Enter user name and password “ scott and tiger “ then I got problem here is the message is below :
    SQL*Plus: Release 9.0.1.0.1 - Production on Sat Mar 13 03:12:47 20
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    Error :
    ORA-12560: TNS: Protocol adapter error
    Any one help me please. Please let me know how can I slove or fix the problem ?
    how can im going to login Oracle 9i database Sql Plus ? anywany other fix this problem ?
    Edited by: shajib on Mar 12, 2010 1:31 PM

    Step 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 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: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

  • Urgent!!!  ERROR: ORA-12560  TNS: protocol adapter error

    Recently we tried to install a new product with a new dataabse instance. Since doing this SQLPLUS replies with:
    ERROR: ORA-12560
    TNS: protocol adapter error
    I have looked at my tnsnames.ora and listener.ora and everything looks fine. I am hoping someone here can shed some light on this for me... Is it possible something got corrupted?
    Here is my file settings...
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLE9I.GESDev =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = GESDev)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = oracle9i)
    EXTPROC_CONNECTION_DATA.GESDev =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    INST1_HTTP.127.0.0.1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = GESDev)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    # LISTENER.ORA Network Configuration File: C:\oracle\ora92\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = GESDev)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = oracle9i)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = intellikit)
    # SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = GESDev
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)

    C:\>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 17-AUG-2006 09:30:50
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=GESDev)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "intellikitXDB" has 1 instance(s).
    Instance "intellikit", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: GESDEV, pid: 316>
    (ADDRESS=(PROTOCOL=tcp)(HOST=GESDev.gesldap.4point.com)(PORT=1038))
    Service "oracle9i" has 2 instance(s).
    Instance "intellikit", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Instance "intellikit", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    C:\>

  • How to solve the ORA-12560: TNS:protocol adapter error

        Hello All,
              when i am am trying to connecting the database i am getting the error ORA-12560: TNS:protocol adapter error
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Windows\system32>set oracle_sid=QUANTUM
    C:\Windows\system32>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Mon Jul 15 12:54:50 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    My TNS File is below : -
    # tnsnames.ora Network Configuration File: C:\app\Onkar\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    QVS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = qvs)
    LISTENER_QVS =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    Oradb11g_home1=
      (DESCRIPTION=
        (ADDRESS_LIST=
          (ADDRESS=(PROTOCOL=TCP)(HOST=115.111.50.61)(PORT=1522))
        (CONNECT_DATA=
          (SERVER=DEDICATED)
          (SERVICE_NAME=test)
    Listener :-
    # listener.ora Network Configuration File: C:\app\Onkar\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\Onkar\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Onkar\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
          (SID_NAME = QUANTUM)
          (ORACLE_HOME = C:\app\Onkar\product\11.2.0\dbhome_1)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Onkar\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\onkar
    sqlnet .ora :-
    # sqlnet.ora Network Configuration File: C:\app\Onkar\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Reply Quick:-
    PLZZZZZ
    Thanks in advance:-
    shekhar

      Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Windows\system32>set oracle_sid=QUANTUM
    C:\Windows\system32>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Mon Jul 15 12:54:50 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    This is a local connection (called an internal connect in the old days). The connection does not go via the Listener. It is a local IPC connection. And as you can see, you do not supply a database schema and password as credentials - the o/s user and environment need to provide the credentials.
    So I would not expect a TNS protocol adapter error, as this usually indicates a network driver related problem.
    For a local IPC connection to work, TWO_TASK must not be set, and ORACLE_SID and ORACLE_HOME must be set (and valid). The local client driver needs to launch an Oracle server process (dedicated server process to service the client driver). It finds that executable in ORACLE_HOME/bin. Next it needs that server process to "attach" itself to the database's brains (the SGA). This shared memory area is identified via the ORACLE_HOME and ORACLE_SID variables.
    There also is a requirement that the dedicated server process created, has the o/s permissions to attach to the SGA - which means it  needs to be run as the same o/s user as the owner of the shared memory (in other words, the client should be running in the same o/s user as the database processes).
    Thus the need to have these variables set. And no need for using a Listener - it is not a factor.

Maybe you are looking for

  • Consuming Java Web Service with complex return types

    Hi, I'm consuming a Java Web Service and the return I get in ColdFusion is a typed Java Object (with custom Java classes like com.company.project.JavaClass ...) Within this object I don't get direct accessible properties as when I'm consuming ColdFus

  • Java.sql.SQLException: [POL-5150] access violation

    Hi all This is the error am getting when trying to connect to LITE db from JDK 1.4.2 Exception:: java.sql.SQLException: [POL-5150] access violation at oracle.lite.poljdbc.LiteEmbJDBCConnection.jniDriverConnect(Native Met hod) at oracle.lite.poljdbc.L

  • CD-RW is too slow since hardware upgrade

    Hi, I used to have a Pentium 3 800MHz with an old MSI mobo and 768Mb of SDRAM, I could have programs like Photoshop 7, Dreamweaver MX 2004, lots of Internet Explorer windows, Windows Explorer, Winamp 5 and some tray icons with applications running in

  • Dreamweaver 8 SQL Connection errors

    Hi.. I am trying to use Dreamweaver 8 to connect to my SQL Database hosted by Servage.net When Dreamweaver tries to connect to the database, it puts files into a folder called _mmServerScripts and uses them to connect. When I try to connect to test t

  • Rear and center channels not working

    I just got a Griffin Fire Wave for my iMac and it works great when playing DVDs and such. But when I'm mixing in STP2 I pan the surround to the rear and I don't hear anything, I did a test to see if it exported in 5.1 and it did, I could hear all cha