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

Similar Messages

  • ORA-12560 "TNS protocol adapter error":Win2k+Oracle8i_32bit.Helplessly struggling.

    Hi Oracle Guru's,
    Please save my life from this typical yet known problem.
    I got an old backup on my tapes about 3 years older. I have windows server 2k where I have an access remotely through RDP(Citrix-CuraStore).
    I installed oracle8i 32 bit on Windows 2k though it got stuck at the end where it installs optional tools(like Net8i assistant), so i closed the installation session, Because I could see Net8i assistant,dbca etc was installed on machine.
    I checked my services, found it had started the Listerner8i service.
    To create a database, I tried to happen it through DBCA...but unfortunately it gave error(ORA-12560 "TNS protocol adapter error"), I ignored it ...but it didnt move to next step...completely stuck up..So closed the session.
    I tried with ORADIM to create service, It did happen, services for database was created, I setup the environment(SID,HOME,PATH) etc.
    When I login with sqlplus , it gives again the same error(ORA-12560 "TNS protocol adapter error"), I tried many things like TCP/IP traffing disabling etc..Nothing worked.
    Can some one please help me and give me some out of box solution..I shall be really really thankful to them.
    Regards,

    Sorry, If I missed to update you back..I apologize.
    Two services(Database Service : OracleServicetest and OracleOraHome81TNSListenerLISTENER_TEST both are up...checked from SERVICES.MSC
    listener is up, I can ping the Hostname perfectly.
    Is there any other service I need to look into.
    Please find the below log as reference for TEST database.
    C:\Documents and Settings\Administrator>hostname
    srvdba02
    C:\Documents and Settings\Administrator>ping srvdba02
    Pinging srvdba02 [10.241.24.54] with 32 bytes of data:
    Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
    Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
    Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
    Reply from 10.241.24.54: bytes=32 time<10ms TTL=128
    Ping statistics for 10.241.24.54:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum =  0ms, Average =  0ms
    C:\Documents and Settings\Administrator>
    C:\Documents and Settings\Administrator>lsnrctl status LISTENER_TEST
    LSNRCTL for 32-bit Windows: Version 8.1.7.0.0 - Production on 28-SEP-2013 23:43:01
    (c) Copyright 1998 Oracle Corporation.  All rights reserved.
    Kobler til (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.241.24.54)(PORT=1523)))
    STATUS FOR LYTTERPROSESS
    Tilnavn                 LISTENER_TEST
    Versjon                   TNSLSNR for 32-bit Windows: Version 8.1.7.0.0 - Production
    Startdato                 28-SEP-2013 23:19:31
    Oppetid                    0 dager 0 t. 23 min. 29 sek
    Sporingsnivσ              off
    Sikkerhet                 OFF
    SNMP                      OFF
    Lytterens parameterfil    C:\oracle\ora81\network\admin\listener.ora
    Lytterens loggfil         C:\oracle\ora81\network\log\listener_test.log
    Tjenesteoversikt...
      test          har 1 tjenestebehandler(e)
    Kommandoen ble utf°rt
    (It means test database has i service handler)..
    C:\Documents and Settings\Administrator>tnsping test
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 28-SEP-2013 23:43:17
    (c) Copyright 1997 Oracle Corporation.  All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=10.241.24.54)(PORT=1523))
    Ok (10 msek)

  • ORA-12560: TNS protocol adapter error for 11g

    I'm attempting to install Oracle 11g in my Windows 2008 Doamin machine.
    During the installation of database configuration assistant, I got the
    pop up error "ORA-12560: TNS protocol adapter error." I tried it
    twice and still failed. I have no idea what's going on. Any ideas?

    01034, 00000, "ORACLE not available"
    // *Cause: Oracle was not started up. Possible causes include the following:
    //         - The SGA requires more space than was allocated for it.
    //         - The operating-system variable pointing to the instance is
    //           improperly defined.
    // *Action: Refer to accompanying messages for possible causes and correct
    //          the problem mentioned in the other messages.
    //          If Oracle has been initialized, then on some operating systems,
    //          verify that Oracle was linked correctly. See the platform
    //          specific Oracle documentation.

  • 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(ORACLE 11g)

    i installed 11g on my laptop yesterday and it was working perfectly but today it keeps writing:(AS SHOWN BELOW)
    ========================================================================
    SQL*Plus: Release 11.2.0.1.0 Production on Fri May 20 12:26:48 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter user-name: hr
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name: hr
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    ===============================================================================
    I checked the listener status and it seems to be working quite well as shown below...i don't understand!
    ================================================================================
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\Bryan>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 20-MAY-2011 12:31
    :07
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 20-MAY-2011 09:30:43
    Uptime 0 days 3 hr. 0 min. 24 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\app\Bryan\product\11.2.0\dbhome_2\network\admin\lis
    tener.ora
    Listener Log File c:\app\bryan\diag\tnslsnr\Bryan-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    ===========================================================================
    i dont know wat happened PLEASE ASSIST

    Hello,
    I am having the same problem, my step son touched the computer and have no idea what he did.
    here are my results
    lsnrctl services
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\Rami>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 17-JAN-2013 23:22
    :23
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    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
    The command completed successfully
    C:\Users\Rami>

  • ORA-12560: TNS:protocol adapter error error while using BR*tools

    Hi,
    I am trying to use BRtools to display instance status (option 6 within Instance Management menu). We are running on Oracle 10g and SAP 4.6c (BRtools version 7.0 patch 13). SAP is running on Windows 2003 cluster environment.
    I checked lsnrctl status with following output..
    LSNRCTL for 64-bit Windows: Version 10.2.0.2.0 - Production on 19-FEB-200
    :06
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=172.20.0.
    PORT=1527))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 10.2.0.2.0
    ction
    Start Date                07-FEB-2009 19:51:03
    Uptime                    11 days 19 hr. 42 min. 2 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\PR1\102\network\admin\listener.ora
    Listener Log File         C:\oracle\PR1\102\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.140)(PORT=1527)))
    The listener supports no services
    The command completed successfully
    BRspace error reads as below
    BR1001I BRSPACE 7.00 (13)
    BR1002I Start of BRSPACE processing: sdzysjut.dbw 2009-02-19 15.35.43
    BR0280I BRSPACE time stamp: 2009-02-19 15.35.44
    BR0301E SQL error -12560 at location BrDbaConnect-2
    ORA-12560: TNS:protocol adapter error
    BR0310E Connect to database instance PR1 failed
    BR0700E Fatal errors occurred - terminating processing...
    Could you please let me know if I need to make any changes to current configuration to make it work.
    I appreciate all your help,
    Thanks,
    Jitendra

    Hi Rohit,
    Here are my listener file contents
    LISTENER =
      (ADDRESS_LIST=
        (ADDRESS=
          (PROTOCOL=IPC)
          (KEY=PR1)
        (ADDRESS=
          (PROTOCOL=IPC)
          (KEY=PR1.WORLD)
        (ADDRESS=
          (COMMUNITY=SAP.WORLD)
          (PROTOCOL=TCP)
          (Host=xxx.xx.x.xxx)
          (Port=1527)
    SID_LIST_LISTENER =
      (SID_LIST=
        (SID_DESC=
          (SDU=32768)
          (SID_NAME=PR1)
          (ORACLE_HOME=C:\oracle\PR1\102)
    Fsldbprd =
      (ADDRESS_LIST=
        (ADDRESS=
          (PROTOCOL=IPC)
          (KEY=PR1)
        (ADDRESS=
          (PROTOCOL=IPC)
          (KEY=PR1.WORLD)
        (ADDRESS=
          (COMMUNITY=SAP.WORLD)
          (PROTOCOL=TCP)
          (Host=xxx.xx.x.xxx)
          (Port=1527)
    SID_LIST_Fsldbprd =
      (SID_LIST=
        (SID_DESC=
          (SDU=32768)
          (SID_NAME=PR1)
          (ORACLE_HOME=C:\oracle\PR1\102)
    TRACE_LEVEL_LISTENER = OFF
    CONNECT_TIMEOUT_LISTENER = 10
    STARTUP_WAIT_TIME_LISTENER = 0
    And here is the output of lsnrctl status command after making above changes
    STATUS of the LISTENER
    Alias                     Fsldbprd
    Version                   TNSLSNR for 64-bit Windows: Version 10.2.0.2.0 -
    ction
    Start Date                19-FEB-2009 19:39:12
    Uptime                    0 days 0 hr. 14 min. 16 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\PR1\102\network\admin\listener.ora
    Listener Log File         C:\oracle\PR1\102\network\log\fsldbprd.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
    .\pipe\PR1ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
    .\pipe\PR1.WORLDipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xx.x.xxx)(PORT=1527)))
    Services Summary...
    Service "PR1" has 2 instance(s).
      Instance "PR1", status UNKNOWN, has 1 handler(s) for this service...
      Instance "pr1", status READY, has 1 handler(s) for this service...
    Service "PR1_XPT" has 1 instance(s).
      Instance "pr1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    In Cluster admin Oracle listener name is defined as Fsldbprd.
    Please let me know if you need any additional information and thanks for looking into this issue.
    Regards,
    Jitendra
    Edited by: Jitendra Kulkarni on Feb 20, 2009 1:03 AM

  • ORA-12560: TNS:protocol adapter error in 8i database.

    Hi all,
    Need your suggestion
    This is a new Installation on Windows 2003 and I need to create a new database called xxxxxx.
    I checked lsnrctl status is up and running
    ORACLE_HOME: D:\oracle\ora817\
    ORACLE VERSION: 8.1.7.0.0
    C:\Documents and Settings\ora817>set oracle_sid=xxxxxx
    C:\Documents and Settings\ora817>svrmgrl
    Oracle Server Manager Release 3.1.7.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
    ORA-12560: TNS:protocol adapter error
    SVRMGR>
    Thanks, Muhammed.

    Hi Sathish,
    Here is the output as per your suggestion,
    C:\Documents and Settings\ora817>net start oracleserviceORMAN
    The requested service has already been started.
    More help is available by typing NET HELPMSG 2182.
    C:\Documents and Settings\ora817>set oracle_sid=ORMAN
    C:\Documents and Settings\ora817>svrmgrl
    Oracle Server Manager Release 3.1.7.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
    ORA-12560: TNS:protocol adapter error
    SVRMGR>
    I have taken RDC to connect to the server and its a vmware machine.
    Thanks, Muhammed.

  • 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 TNS Protocol Adapter Error and

    Hi,
    When the install script tries to connect inernal and create a database instance...the error "ora - 12560 TNS Protocol Adapter Error" is generated which I found in the install log.
    I already have successfully created one database (orcl1) on this NT4 (service pack 6). The second database creation is what's giving me a hard time. BTW, I can connect to the first installed database with no problem through sqlplus. However, the second database is a different story (protocol adapter error). I have checked the windows registy to make sure that the entries are there for the second database as there are for the first(orcl1).
    How can I resolve this?

    I assume you are using the ASP.NET Web Site Admin Tool. If so, make sure you do a couple of things to be able to connect.
    1) On the Provider tab, choose the second link on the page: the "Advanced" link. Select the Oracle Membership and Role providers here. Now, this admin tool will use the correct providers
    2) Next, you need to make sure that the ASP.NET admin tool can connect to Oracle. You can modify the connection string in the IIS admin tool or your machine.config. If you modify your machine.config, look for the following entry:
    <connectionStrings>
    <add name="OraAspNetConString" providerName="Oracle.DataAccess.Client"
    connectionString="User Id=aspnet;Password=aspnet;Data Source=xe" />
    </connectionStrings>
    Obviously, replace what I have here with your the data source, user id, and password that contain the ASP.NET providers schema that was created in the DB. In this case, I created a separate schema called "aspnet" to store this info.
    After that, the ASP.NET admin tool should be able to connect. It will be default to Windows authentication mode, but you can change it to requiring a user id format.

  • Oracle Database 11g Installation Issue: ORA-12560:TNS: protocol adapter error.

    Folks,
    Hello. Initially, my Windows XP host name is "localhost" and IP address 127.0.0.1.
    I installed Oracle Database 11g with Windows XP successfully and all Database clients work with Database instance correctly.
    For some reasons, I uninstalled the entire Database Server and delete the entire installation directory /oracle.
    I configured Windows XP IP address into 192.168.196.101 in order to ping other machines.
    For my need, I installed Oracle Database 11g with Windows XP again. On step 7 of 8: Oracle Database Configuration Assistant, I got this error:
    ORA-12560:TNS: protocol adapter error.
    I click "Password Management" button, there are no rows in this Windows (no username, no lock accounts).
    I check listener as below:
    C:\>lsnrctl
    LSNRCTL>start
    Its output: listener name LISTENER has already been started.
    LSNRCTL>status
    Its output: ......Service DB1 has 1 instance. Instance DB1 status ready. The command completed successfully.
    I check \Oracle\cfgtoollogs\dbca\DB1\trace file, the entry is :
    listen[0]=LISTENER address=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(port=1522))
    I also check \oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\SAMPLE\tnsnames.ora file and listener.ora file, the entries are the same as below
    HOST=localhost  port=1522
    I think HOST=localhost and port=1522 is the cause of the error ORA-12560 because Windows XP has been configured into HOST=192.168.196.101.
    But I don't understand how to solve this issue.
    Can any folk tell me how to solve this issue ? need to cancel the installation on step 7 of 8 and install it again ?
    Thanks.

    Folks,
    Hello. Oracle Database 11g Installation Wizard is on step 7 of 8. I don't cancel the Wizard. I am not sure whether there is effect or not. listener.ora is not removed. I have been waiting for a while after stop listener.  I run the 3 commands again and copy the result as below:
    C:\>lsnrctl stop
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:32
    :14
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 61: Unknown error
    C:\>
    C:\>
    C:\>
    C:\>
    C:\>
    C:\>lsnrctl start
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:33
    :04
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    System parameter file is C:\SecondTime_OracleDatabase_Install_Directory\product\
    11.2.0\dbhome_1\network\admin\listener.ora
    Log messages written to c:\secondtime_oracledatabase_install_directory\diag\tnsl
    snr\user-19yyar8x0d\listener\alert\log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522
    ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                14-AUG-2013 19:33:07
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\SecondTime_OracleDatabase_Install_Directory\product
    \11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\secondtime_oracledatabase_install_directory\diag\tn
    slsnr\user-19yyar8x0d\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\>
    C:\>
    C:\>
    C:\>
    C:\>lsnrctl service
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:36
    :37
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "DB1XDB" has 1 instance(s).
      Instance "DB1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: user-19YYAR8X0D, pid: 120>
             (ADDRESS=(PROTOCOL=tcp)(HOST=user-19yyar8x0d)(PORT=1051))
    Service "DB1" has 1 instance(s).
      Instance "DB1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:19 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully
    C:\>
    As we see, listener.ora file is not removed by Stop command. I am on the installation Wizard. How to solve this issue ?
    Thanks.

  • ORA-12560: TNS: protocoll Adapter error

    Hi all!
    I tried to update Oralce 8.1.7 to 9.2.0.4. The Installation of the new Software worked without Problems. But when I start the "Database Upgrade Assistant" I got following Error MEssage: <b>ORA-12560: TNS:protocoll Adapter error</b>.
    Perhaps somebody can give me a hint? (8.1.7 with all Services is running)

    Hi Alexander
    Well it would be better if you upgrade manually instead of using 'Database Upgrade Assistant' as there are frequent issues with upgrade assistant.
    You can get manual upgrade documents from Oracle Metalink, Read Document Note 159657.1: Complete Upgrade Checklist for manual upgrades from 8.X/9.0.1 to Oracle 9i.
    cheers
    Sameer
    PS: Before going to manual upgrade check which ORACLE_HOME is set. There is a possibility that it may be looking at the wrong tnsnames.ora file entry depending on if ORACLE_HOME is 8.x or 9.x

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

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

Maybe you are looking for

  • SSRS dataset filter expression using OR

    I have a dataset that I need to set a filter for. What I need the filter to do is check 3 different fields to see if either one of them are in a parameter. The parameter is multi-value. So, I have a parameter set to 1, 2, 3. I need the dataset to ret

  • Data type selection Problem in ztable to use in the Module Pool Program

    Dear Experts, I have created a z-table which is used in Module Pool Program in which i have to save the information saved by the endusers in z-table. But the problem comming is that the amount of information saved by the endusers is so havey & our ta

  • Redirecting from a frame to _top

    When I want to do this: Click here I can use: <SCRIPT LANGUAGE=JAVASCRIPT>window.navigate("somepage.html")</SCRIPT> But when I use the above code in a frame the somepage.html opens in the frame. What can I do to let it open, not only in the frame, bu

  • Essbase dimension cannot loaded into OBIEE admin tools

    Hi All, I have some problem with my OBIEE.. I'm using OBIEE version 10.1.3.3.2 and Essbase version 9.3.1.. In my Essbase's, I've 4 dimensions.. Let say..Dimension A, Dimension B, Dimension C, and Dimension D (as the measure). I've created a connectio

  • Font and Color Changes

    I have created my website pages using color on my fonts and selecting specific fonts. When I publish the pages and look at it in the browser the fonts are different and all color is gone from my text. I have just created my first ever website. What i