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

Similar Messages

  • ORA-12560: TNS:protocol adapter error. Running sqlplus in different paths.

    Hi,
    Title: ORA-12560: TNS:protocol adapter error. Running sqlplus in different paths.
    Very strange. We have windows host, 32 bit oracle software 10g, 64 bit sap kernel X64.
    We have done Kernel patch yesterday and it was successful, system up and running.
    Only problem with sqlplus. I have logged in as SIDADM user and when i open command box, the default path is C:\Documents and Settings\SIDADM. when i run sqlplus sys as sysdba, iam able to connnect without any problem but when iam in this path -   /usr/sap/SID/SYS/exe/run and run sqlplus sys as sysdba, it returns ORA-12560 error. Thats why, the BRTOOLS are also not working, giving same error.
    Is there a problem in the kernel? Where could be the problem?
    The environment variables ORACLE_SID, ORACLE_HOME are set properly.
    Many thanks,
    Mohan.

    Hi,
    Please look into below SAP recommendation from SAP note 192822:
    3. Can I run 32-bit applications on my 64-bit platform?
    This depends on the platform you are running on. For all unix- platforms, this  can be done without any problem. Even if the OS is started in 64-bit mode, it is possible to run 32-bit applications (R/3, oracle) on it. there is no need to either upgrade oracle or R/3 toa 64-bit version.
    This, however is NOT the case for windows & Linux. If you have IA64 hardware in place, you do need to run an 64-bit OS as well as all application in 64-bit mode.
    Could you please now share with me your OS (version and whether it is 32 bit or 64 bit as well), database (32 bit or 64 bit), SAP system (32 bit or 64 bit and System release) ?
    Thanks
    Sunny

  • 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

  • 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 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 while running Oracle Form 10g over IE

    Hi,
    I am getting the following error message while running my form over Internet Explorer. What could be the error and the solution.
    ORA-12560: TNS:protocol adapter error
    I am using the same user id/password that i used to create the database.
    Plz help.
    thanks,
    RV

    unless you defined the TWO_TASK in your environment, you might need to provide it during the login. The typical Forms login screen has 3 fields, username/password and TWO_TASK , which is the alias used for the database server in the tnsnames.ora file on your end. If you are using iAS forms, then a proper RAD (Resource Access Descriptor) needs to be created by the DBA or whoever manages the iAS server. This is only if SSO is utilized, if not, then you need to provide TWO_TASK as well.
    Hope this proves useful
    R/ Zafer

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

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

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

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

  • 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 while creating new database

    Hi,
    I installed Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.03) and created the default database it had which was emrep. Once Oracle Grid Control was installed I ran the install for Oracle Database 10g Release 1 (10.1.0.2).
    Now when I try to create a database I get the following error: ORA-12560: TNS:protocol adapter error.
    My assumption is because I seem to have 2 Oracle home's now because I installed the Grid Control??
    My question is, have I done this backwards? Should I install Oracle 10g before installing the grid control? If thats not it, can someone point me in the right direction?
    FYI: The server we're using is running Windows Server 2003.
    Thanks for your help

    Env variables are as follows:
    ClusterLog = C:\WINDOWS\Cluster\cluster.log
    ComSpec = %SystemRoot%\system32\cmd.exe
    FP_NO_HOST_CHECK = NO
    JSERV = D:\Oracle\Ora92/Apache/Jserv/conf
    NUMBER_OF_PROCESSORS = 4
    ORACLE_HOME = D:\Oracle\Ora10gGC
    OS = Windows_NT <-- its actually Windows Server 2003
    Path = D:\Oracle\Ora10g\bin;D:\Oracle\Ora10g\jre\1.4.2\bin\client;D:\Oracle\Ora10g\jre\1.4.2\bin;D:\Oracle\agent\bin;D:\Oracle\agent\oui\lib\win32;D:\Oracle\agent\jlib;D:\Oracle\agent\bin;D:\Oracle\agent\jre\1.4.2\bin\client;D:\Oracle\agent\jre\1.4.2\bin;D:\Oracle\Ora10gGC\bin;D:\Oracle\Ora10gGC\jlib;D:\Oracle\Ora10gGC\jre\1.1.8\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
    Pathext = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PERL5LIB = D:\Oracle\Ora10g\perl\lib\5.6.1\MSWin32-x86;D:\Oracle\Ora10g\perl\lib\5.6.1;D:\Oracle\Ora10g\perl\5.6.1\lib\MSWin32-x86;D:\Oracle\Ora10g\perl\site\5.6.1;D:\Oracle\Ora10g\perl\site\5.6.1\lib;D:\Oracle\Ora10g\sysman\admin\scripts
    WV_GATEWAY_CFG = D:\Oracle\Ora92\Apache\modplsql\cfg\wdbsvr.app

  • 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

  • Vbscript to connect to oracle fails with ORA-12560: TNS:protocol adapter error

    I am running a Windows 7, 64 bit system with the Oracle 32 bit client installed.  The 32 bit client is required for use with Oracle's Documaker Studio which is working fine with the current client configuration.  I would like to connect the same database using a vbscript.  Here is the test script I am using:
    Option Explicit
    Dim strCon
    strCon = "Driver={Oracle in OraClient11g_home1_32bit}; " & _
             "CONNECTSTRING=(DESCRIPTION=" & _
             "(ADDRESS=(PROTOCOL=TCP)" & _
             "(HOST={VSTODEEDATxx.xxxxxxx.com})(PORT=1521))" & _
             "(CONNECT_DATA=(SERVICE_NAME=IDMAKER))); uid=xxxxxx;pwd=xxxxxxxx;"
    Dim oCon: Set oCon = WScript.CreateObject("ADODB.Connection")
    Dim oRs: Set oRs = WScript.CreateObject("ADODB.Recordset")
    oCon.Open strCon
    Set oRs = oCon.Execute("SELECT TO_CHAR(SYSDATE,'MM-DD-YYYY HH24:MI:SS') AS DateTime FROM DUA")
    While Not oRs.EOF
        WSCript.Echo oRs.Fields(0).Value
        oRs.MoveNext
    Wend
    oCon.Close
    Set oRs = Nothing
    Set oCon = Nothing
    In the connection string I am using the 32 bit driver used succesfully by Documaker.  I provided all the parms to eliminate the need for tnsnames.ora.  However, I do have tnsnames.ora on my system and Documaker is using it.
    Since the client is 32 bit, I am using the following command to run the script:
    c:\windows\syswow64\cscript.exe c:\temp\oracle\testing\testconnect.vbs
    This is suppose to run the script in 32 bit mode and be compatible with the client.
    When I run the program I get the following error:
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    c:\temp\oracle\testing\testconnect.vbs(12, 1) Microsoft OLE DB Provider for ODBC
    Drivers: [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adapter error
    Would someone please advise on how to debug this problem?  Thanks, Gary

    "connectstring" is not a valid attribute with Oracle's ODBC driver, so since there is no datasource attribute specified, the app is trying to connect to a local database, and since you don't have one, you get 12560.
    To resolve the problem, pass DBQ=      instead of  CONNECTSTRING=
    http://docs.oracle.com/cd/B19306_01/server.102/b15658/app_odbc.htm#i1093897
    Greg

Maybe you are looking for

  • Can I store my Dreamweaver site definitions on an external drive?

    I just purchased 2 brand new iMacs (one for office and one for home) to replace my old MacBook Pro. I am now moving all of my client files to an extranal hard drive so that I can share the same exact files in both locations. I just realized it won't

  • How do I get Siri to stop auto correcting out loud?

    I am having trouble with Siri, everytime I type something on my phone Siri auto corrects it out loud. It is really annoying.

  • Authentication/Time issue

    iTunes U has just started rejecting our authentication credentials, debug shows that the credentials are valid but originated too far in the past. We understand there is a 90 second time window. We seem to be within a few seconds of Apple's time serv

  • Return the two values in PL/SQL function

    Hi, How to create the PL/SQL function to return two values based on arguments? Can anyone suggest me the idea? TIA,

  • Setup Facebook Calendar in iCal??

    Hi I'd setup Facebook calendar in iCal last year and then deleted it lol. I cant remember how I set it up lol. I have looked at this link: How to Sync Facebook Events to iCal: 7 Steps (with Pictures) It sets it up but not in the way I remember. When