ORA-12560: TNS:protocol adapter error when trying to connect

hopefully somebody can help me out... the problem i'm having is connecting to the scott/tiger database. i keep getting :
"ORA-12560: TNS:protocol adapter error" when trying to connect to it. it worked previously, but i unistalled oracle 8i personal and reinstalled it. now it doesn't let me connect. what's going on?
thanx,
uriah

You can run the net8 assistant to set up your tnsnames.ora file.
start/programs/oracle/network administration/net8 assistant
When you are done it should look something like this:
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
     (PROTOCOL = TCP)
     (Host = )
     (Port = 1521)
(CONNECT_DATA = (SID = ORCL))
Bev

Similar Messages

  • Gives  ORA-12560: TNS: protocol adapter error when installing oracle 10g

    I tried to install oracle 10g r2 in server 2008. but it gives ORA-12560: TNS: protocol adapter error when installing. how I can fix this issue??? please help me ASAP. because its urgent.
    thanks in advance.
    chamara

    Welcome to the forums !
    Pl indicate which version of 10g you are installing and on which version of Win 2008. Neither 10gR1 nor 10gR2 are certified to be installed on Win 2008 R1, AFAIK.
    For 10gR2, only 10.2.0.5 is certified for Win 2008 R2 - see MOS Doc 1173433.1 (How to Install Oracle 10.2.0.5 on MS Windows 7 / Windows 2008R2)
    Also see MOS Doc 740926.1 (Where can I find the Database / Client software to download for Microsoft Vista, or Windows 2008R1?).
    Both 10gR1 and 10gR2 are now in extended support - is there a reason you are not using 11gR2 ?
    HTH
    Srini

  • ORA-12560: TNS:protocol adapter error 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:<Open DB: DSN=tracDemo;USER ID=tracGoldDev;PASSWORD=tracGoldDev;> Keys:<: >
    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 when running forms from IE

    hi
    when i running forms i get the error
    ORA-12560: TNS: protocol adapter
    please any help

    Check if your tnsnames.ora file has the entry for database you are trying to connect.
    Are you able to connect using sqlplus??
    Navnit

  • Getting ORA-12560: TNS:protocol adapter error when starting Oracle8i SVRMGR

    Hi everyone,
    I'm new to the forums, and I guess you could say "somewhat new" to the Oracle DB. I've played around with it casually in the past, but never got real serious with it :)
    Anyhow, I wanted to see if someone could help with this. I found an old thread on a similar issue, but nothing seemed to help at all towards resolution, so I thought I would start a new thread, and maybe get some fresh ideas.
    The issue is, I start SVRMGR on Oracle8i, and get the ORA-1260: TNS:protocol adapter error.
    Here is my setup:
    OS: Win2k Advanced Server
    CPU: 2 - 930MHz Intel Xeon's
    RAM: 1GB DIMM
    DB Version: Oracle8i
    No firewalls or any other TCP interference. Ok, so now that's out the way :), here is the issue:
    When I start the SVRMGR, I get that error immediately. I have checked my tnsnames.ora file, and found some discrepancies, and have corrected them (at least to my knowledge), restarted all the Windows services running the various databases, and closed/re-opened the SVRMGR, and still get the same thing.
    For reference, here is a copy of the tnsnames.ora file:
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora81\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 207.225.221.92) (PORT = 1521) )
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = class.oracle)
    (PRESENTATION = http://admin)
    #CLASS =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = class.oracle)
    #LOGEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = LOGEDNET.oracle)
    BFLEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = BFLEDNET.oracle)
    #CSPEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = CSPEDNET.oracle)
    #FLGEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = FLGEDNET.oracle)
    #FINEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = FINEDNET.oracle)
    CCHSRES =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = CCHSRES)
    #CCHS =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = CCHS)
    CHYEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = CHYEDNET)
    #AUREDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = AUREDNET)
    #TUSEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = TUSEDNET)
    ## DBs on ORACLESHC - 207.225.221.80
    DENEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DENEDNET)
    DFEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DFEDNET)
    FTCEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = FTCEDNET)
    OGDEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = OGDEDNET)
    PROEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PROEDNET)
    SILVER7 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = SILVER7)
    # CCHS_PROD =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.87)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = CCHS)
    ONLINEDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ONLINEDB)
    GLOBALDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = GLOBALDB)
    The ones I commented out were either non-existant databases, or the databases were shutdown, because they are not presently being used.
    If someone could help with this, it would be greatly appreciated. :)

    HI,
    1). Can you connect normally from SQL Plus?
    -----------------------Here is entry in your Tnsnames.ora file.------------------------------
    #You must check that your Dbase Listener is Listening request on port 1521.
    ORCL9i =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Local-Server)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl9i)
    2). For pinging a service.
    If you've Microsoft Windows.
    If your database service name is orcl9i
    Run->Cmd
    Tnsping orcl9i
    --It will give you as following information either "OK" or Fail.
    ----------------------------------Output after running Tnsping--------------------------------------------
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 26-JUL-20
    07 13:30:16
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    E:\oracle\ora92\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = Local-Server)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = Orcl9i)))
    OK (20 msec)
    I would like to mention that Svrmgr30 was in Oracle 8. And Oracle 8i uses Svrmgrl.
    --Below is Oracle9i syntax you may use it on svrmgrl.
    SQL> connect
    Enter user-name: Scott/Tiger@orcl9i
    SQL> connected:
    SQL>

  • 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 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 (can connect with cmd line creds only)

    SQLPLUS returns the following when trying to log in with user/pass:
    ora-12560 tns protocol adapter error
    Have tried setting ORACLE_SID=VMFG, etc, before launching SQLPLUS, still does not work, though if I do this:
    SQLPLUS SYSADM/SYSADM@db1/VMFG
    it works, which is probably something to do with tnsnames.ora or sqlnet.ora which I copied from our database server? I added the SYSADM/SYSADM account and gave it db rights to VMFG (the db name).
    This is a new installation. What am I doing wrong? tnsping db1 returns pongs, testing the service with the oracle client returns success when I change the u/p to SYSADM/SYSADM. Thanks in advance!
    [sqlnet.ora file]
    # sqlnet.ora Network Configuration File: /oracle/db_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    [tnsnames.ora file]
    # tnsnames.ora Network Configuration File: /oracle/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    VMFG =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = db1.dc.inc)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = VMFG)
    Edited by: 794609 on Sep 13, 2010 8:31 PM

    Client machine that I am working on with the SQLPLUS error is Windows XP running the 11g client. Server is Linux (Ubuntu 10) running 11g
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    uid=1001(oracle) gid=1001(oinstall) groups=1001(oinstall),1002(dba),1003(oper)
    _=/bin/sh
    BLOCKSIZE=K
    EDITOR=vi
    ENV=/home/oracle/.profile
    HOME=/home/oracle
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=lib:/usr/lib:/usr/local/lib:/oracle/db_1/lib
    LOGNAME=oracle
    MAIL=/var/mail/oracle
    MANPATH=/usr/man:/usr/share/man:/usr/X11R6/man:/usr/openwin/man:/usr/local/man:/usr/news/man
    MOZILLA_HOME=/usr/X11R6/lib/netscape
    MOZILLA_NO_ASYNC_DNS=True
    ORACLE_HOME_LISTNER=/oracle/db_1
    ORACLE_HOME=/oracle/db_1
    ORACLE_HOSTNAME=db1
    ORACLE_SID=VMFG
    PAGER=more
    PATH=/dc/bin:/usr/local/bin:/usr/ucb:/usr/ccs/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/openwin/bin:/usr/secure:/usr/secure/bin
    :/usr/local/nwlink/bin:/usr/local/nwlink/scripts:/usr/local/secure:/usr/X11R6/lib/netscape:/usr/contrib/bin:/usr/lib:/usr/local/mysql/bin:/usr/local/sbin:
    /usr/lib/jre:/usr/lib/jre/bin:/usr/lib/jre/ant/bin::/usr/lib/jre/jmeter/bin:/usr/local/pgsql/bin:/opt/kde:/opt/kde/bin:/usr/local/mrtg-2/bin:/oracle/db_1/
    bin:.
    PWD=/home/oracle
    SHELL=/bin/ksh
    TERM=screen
    USER=oracle
    VISUAL=vi
    XDG_SESSION_COOKIE=ab09d2422fd4935e2707cac30000000d-1284435625.90759-907620663
    10.0.2.155 ubuntu # Added by NetworkManager
    127.0.0.1 localhost.localdomain localhost
    ::1 ubuntu localhost6.localdomain6 localhost6
    127.0.1.1 ubuntu
    10.0.2.65 db1.dc.inc db1 dc
    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    Linux db1 2.6.35-20-generic #29-Ubuntu SMP Fri Sep 3 14:55:28 UTC 2010 x86_64 GNU/Linux

  • ORA-12560: TNS:protocol adapter error after patch 9.2.0.7 on Windows2K

    I just install the patch 9.2.0.7 for client Oracle machine on windows 2000 server.
    Since then I'm constantly getting "ORA-12560: TNS:protocol adapter error" and I cannot connect via SQL plus.
    Any help is appreciated, mj

    I'm trying to connect to databases that are running on a separate machines - aix5.2, and I can connect from every other machine in the office but not from this one.
    There's no database on this machine - only Oracle client tools installed with 9.2.0.1 and then updated to 9.2.0.7. Before the update the sqlplus was working just fine. After the patch run, I'm not able to connect viw sqlplus.
    There were no errors when running the patch.
    Thanks a lot,mj

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

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

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

  • ORA-12560: TNS:protocol adapter error while configuring ORACLE Workflow

    Hi,
    I am trying to configure ORACLE Workflow. I have given sys password and other parameters in the given format in Workflow Configuration Assistant. My DB Server is in my local network and I connect to it using SID in SQL Plus. But I got the following error while WorlflowCA tries to execute relevant script.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SP2-0640: Not connected
    WorkflowCA: Non-Oracle10g database detected
    If anybody is having any clues, please help me.
    Thanks in advance
    Ajish M.

    Thanks a lot for your quick reply.
    I've read all the posts mentioned (quite a few more) but I couldn't find any suggested solution to the "non-oracle10g"-problem other than using the global db name instead of the sid - which didn't help in our case:
    However, in a last desperate attempt to solve the problem on my own before launching another cry-for-help-post I did try running the configuration assistant using the correct password for the SYS user 8-} and - strange but true - it did work :-)
    Needless to say: I used the global db name of course, so I can't say what would have happened without it, but I trust your hint was a legitimate one.
    Anyway - I gues that error Message concerning a "non-oracle10g database" was slightly misleading in this case.... grrrr.
    Andreas

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

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

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

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

Maybe you are looking for