ORA-12560: TNS adapter protocol error

When you try to connect to the database of C:\app\user\product\11.2.0\client_1 using sqlplus error,

ORA-12560: TNS adapter protocol error

Previously, I had just the 10.2.0.3.0 server. installed on my vista machine, more than 11g is the newly installed client
and with Server 10.2.0.3.0. It did not work properly

When you try to connect using the query below

sqlplus user/pwd@XE then in error, below

ORA-12154: TNS: could not resolve the connect identifier

Path of the server,
C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN

Listener.ora
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
      (PROGRAM = extproc)
    )
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
      (PROGRAM = extproc)
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
      (ADDRESS = (PROTOCOL = TCP)(HOST = My-PC)(PORT = 1521))
    )
  )

DEFAULT_SERVICE_LISTENER = (XE)
SQLNET.ora
# 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)
tnsnames.ora
XE =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = My-PC)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = XE)
    )
  )

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )

ORACLR_CONNECTION_DATA = 
  (DESCRIPTION = 
    (ADDRESS_LIST = 
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE)) 
    ) 
    (CONNECT_DATA = 
      (SID = CLRExtProc) 
      (PRESENTATION = RO) 
    ) 
  ) 
Does not search too on the net / Forum

But still don't know what is the solution for this error

Help, please

You should have a file under C:\app\user\product\11.2.0\client_1\network\admin not sample a tnsnames.

copy C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\ tnsnames file to C:\app\user\product\11.2.0\client_1\network\admin

Tags: Database

Similar Questions

  • ORA-12560 TNS Protocol adapting Error

    Hello everyone,

    When I connect forms oracle 11g R2 of the oracle 10g xe database this error (ORA-12560 TNS Protocol Adapter Error) occur why?

    Untitled.jpg

    As you use the database to 10G XE. go to \oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN


    Open the file tnsnames.ora and copy the configuration of XE and paste under the last # of your published file.

    then save, and try to connect.

    Hope this helps

    Hamid

    If someone useful or appropriate please mark accordingly.

  • ORA-12560: TNS:protocol adapter error. Virtual MACHINE works on old MBP and Win7 but not on new MBP [mid 2015 retina], speed or network problem?

    We strive to use our VM on the new retina MBP (mid-2015) with MacOS X 10.11 (El Capitan) but we had a problem starting from Oracle. If we first converted our ESX VM but once on the Mac laptop Oracle (v12.1.0.1.0 on WIN2012R2) does not open the database, error;

    ORA-12560: TNS:protocol adapter error

    Does not change us any setting on the virtual machine itself so services work fine. Network has set the IP with host only. Tried with Fusion 7.1 & Fusion 8.0.2 new Mac with nothing doesn't. Also with the different versions of the VM tools. Tried to remove the NIC in Fusion and recreate, don't sucses.

    Funny enough the same virtual machine starts fine on PC (workstation 10.3.0 & Win7), MBP beginning 2011 (Fusion 7 & Mac 10.10) or ESX itself for Oracle opens the database!

    That's why we think in the direction of the new MBP specific? speed or network issue? Ring the bells?


    Help appreciated!

    Bottom line, this is a problem of Oracle who dislikes the MBP on a virtual machine.

    for reference;

    Virtual MACHINE works very well on all platforms, but not on the latest MacBook Pro (retina, 15 inch, mid-2015). So, when you try to use sqlplus you might get the error that there is no such thing as SID. Earphone works very well, but the DB process does not record with earphone or work correctly also. But the process is running and a SID tnsping returns an OK. This isn't a problem of configuration Oracle as the VM and DB works well from the moment where you run the virtual machine on a PC or an old MBP. Either way, Virtualbox has the same problem so not a problem of Fusion.

    I will record a deal with Oracle but I doubt that it is corrected.

  • Oracle Database 11 g installation problem: ORA - 12560:TNS: Protocol adapter error.

    People,

    Hello. Initially, my Windows XP host name is 'localhost' and IP 127.0.0.1.

    I installed Oracle Database 11 g with Windows XP successfully and all customers in the database with the database instance running.

    For some reason, I uninstalled all of the database server and remove the whole installation directory /oracle.

    I have configured the address IP of Windows XP in 192.168.196.101 to ping other machines.

    For my needs, I installed Oracle Database 11 g with Windows XP again. During step 7 of 8: Oracle Database Configuration Assistant, I got this error:

    ORA - 12560:TNS: Protocol adapter error.

    I click on the button "Password management", there is no line in this window (no user name, no account of the lock).

    I have check the listener as below:

    C:\ > lsnrctl
    LSNRCTL > start
    His output: earphone HEADSET name has already been started.
    LSNRCTL > status
    Its release:... Service DB1 has 1 instance. The instance BD1 ready state. The command completed successfully.

    I check \Oracle\cfgtoollogs\dbca\DB1\trace file, the entry is:

    Listen [0] = LISTENER address = (ADDRESS = (PROTOCOL = TCP (port = 1522))(HOST=localhost))

    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 that HOST = localhost and port = 1522 is the cause of the ORA-12560 error because Windows XP was configured in HOST = 192.168.196.101.

    But I do not understand how to solve this problem.

    Can any folk tell me how to solve this problem? must cancel the installation of 8 on step 7 and install it again?


    Thank you.

    > The problem is that I am installing Oracle Database 11 g with Windows XP

    Why? above is NOT a supported combination.

    What makes you think that it should work without error?

  • ORA-12560: TNS:protocol adapter error rman

    Hi all

    I am running xp and the version of oracle 10.2... I created a dummy database with name comp using dbca... used FRA and took a backup if rman... I have the backup now in FRA...

    I droped the database to do a restore of test... but I can't even connect to rman or sqlplus? I was able to connect to rman, before taking a backup... but now I turn... couldn't understand why... any help would be appericiated.

    C:\oracle\sql>set ORACLE_SID=comp
    
    C:\oracle\sql>
    C:\oracle\sql>echo %ORACLE_SID%
    comp
    C:\oracle\sql>rman target /
    
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 6 09:54:16 2011
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-12560: TNS:protocol adapter error
    
    C:\oracle\sql>
    C:\oracle\sql>
    C:\oracle\sql>lsnrctl status
    
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUL-2011 09:54:20
    
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxxxx)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date                06-JUL-2011 09:53:53
    Uptime                    0 days 0 hr. 0 min. 26 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File         C:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxxxxxx)(PORT=1521)))
    Services Summary...
    Service "COMP" has 1 instance(s).
      Instance "COMP", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    
    C:\oracle\sql>

    user8363520 wrote:
    Hi all

    I am running xp and the version of oracle 10.2... I created a dummy database with name comp using dbca... used FRA and took a backup if rman... I have the backup now in FRA...

    I droped the database to do a restore of test... but I can't even connect to rman or sqlplus? I was able to connect to rman, before taking a backup... but now I turn... couldn't understand why... any help would be appericiated.

    If you have backup and that you have removed the database, then you can create this new.

    (1) create directories for the user, dumpdest audit and control, online newspaper, background, data files.
    (2) Create OracleServiceComp if it is does not exist using ORADIM utility (oradim-new - sid COMP - intpwd - pfile )
    (3) after the startup of the oracle services

    set ORACLE_SID=COMP
    rman target /
    /*if you do not have spfile also then you have to restore it from
    full/auto backup or startup database using pfile(create it manually)*/
    startup nomount ;
    restore controlfile from 'full or autobackup location';
    alter database mount;
    catalog start with 'backup location';
    restore database;
    recover database;
    alter database open resetlogs;
    
  • : Error ora-12560 tns protocol adapt

    Hello world
    I created a database and active 'sys' and 'system' "scott/tiger" users...

    All of my users worked in "Enterprise Manager" and "Sqlplus" but it's several days that these users work in EM, but they do not work in "Sqlplus".

    The error is: ' * ora-12560 tns protocol adapting error. "

    I checked the 'services' and 'Start' my 'Listener '...

    What should I do?
    That's why like this?


    Thank you all

    Have you tried

    Set ORACLE_SID = EASYDW
    sqlplus sys/syspass as sysdba

    And what is the result?

  • ORA-12560: TNS:protocol adapter error (tried all the possible solutions)

    Hello

    H1. My details below:-

    Platform: windows 2003 Server
    The BD name: ORCL, B1prod, emrep

    My variable env as below:

    ORACLE_SID = orcl
    ORACLE_HOME = C:\OracleHomes\db10g
    SQLPATH C:\OracleHomes\db10g\dbs =
    NLS_LANG = AMERICAN_AMERICA. WE8MSWIN1252
    TNS & Listner file located: C:\OracleHomes\db10g\NETWORK\ADMIN

    The TNS file details
    # tnsnames.ora Network Configuration File: C:\OracleHomes\db10g\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    
    
    EMREP =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = emrep.itsolution1.local)
        )
      )
    
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.world)
        )
      )
    
    B1PROD =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = b1prod.world)
        )
      )
    
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
        )
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
        )
      )
    The listner file details:

    # listener.ora Network Configuration File: C:\OracleHomes\db10g\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\OracleHomes\db10g)
          (PROGRAM = extproc)
        )
      )
    
    LOGGING_LISTENER = OFF
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          )
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521))
          )
        )
      )
    
    TRACE_LEVEL_LISTENER = OFF
    On CMD tried-
     set Oracle_sid=orcl 
    H1. Problem: -.

    Im getting the error when connecting to sql plus below:
     ORA-12560: TNS:protocol adapter error
    I checked my listener service that is currently running.
    But when I'm typing: lsnrctl cmd invites through the error as below:
    C:\Documents and Settings\Administrator>lsnrctl
    'lsnrctl' is not recognized as an internal or external command,
    operable program or batch file. 
    I checked oracle_home/bin-lsnrctl exist. I can run lsnrctl.exe from there, but not cmd.

    FYI: I installed the Oracle Grid Control database

    Can anyone advice why I can't connect to sql plus?

    Please let me know if you need more clarification.

    Control Panel of your win Server > adm tools > services >OracleOraDb10g_home1TNSListener

    Is set to manual/automatic >
    He started or not >

    If this is not the case, start it.

  • ORA-12560: TNS:protocol adapter error (10.2.0.1)

    Hello


    database:-10.2.0.1 (8.1.7.4 through DBUA upgrade)
    OS:-Windows 2000 Server

    In the Sql (10.2.0.1) editor when I give the command "conn / as sysdba ' I get the error below:


    SQL > conn / as sysdba
    ERROR:
    ORA-12560: TNS:protocol adapter error

    I can connect with the user SYS by using TOAD but cannot using the sql Editor

    and when I open sql (8.1.7.0) editor, must be connected to the SYS user.

    any solution?

    Regarding

    Hello

    If you got your answer please correct question mark and close thread...

    Here you can read the forums for that label...

    http://forums.Oracle.com/forums/Ann.jspa?annID=718

    Thanks and greetings
    VD

    Published by: vikrant dixit on July 13, 2009 04:35

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

    Hi all

    I have Oracle 11g installed on my machine and when I tried to connect to sql more I got the below error:

    Error ORA - 12560 TNS protocol adapt

    By setting the ORACLE_SID = orcl by navigating to the bin of the Installation of Oracle disappaears above error directory and I am able to connect from sql plus.

    My intention is to create a db backup for who I am trying to use the exp command... This time the same error appears.

    Also the solution to the ORACLE_SID is heavy... everytimt I want to use sql plus, I need to go and set the ORACLE_SID.

    Can someone please help me find a good solution for this?

    Any help would be appreciated friends...

    Thanks in advance!

    Kind regards.

    Alicia

    Alicia,

    Thanks for the info on the o/s. You have the only Pb on the box? You can set oracle_sid permanently on the operating system. This,
    Start-> Control Panel-> system-> advanced-> Environment Variables tab and add the following new entry under system variables:

    ORACLE_SID

    Restart, and then make sure that the variable oracle_Sid is set and the value is there.

    HTH
    Aman...

    Published by: Aman... on June 20, 2009 14:54
    added a bit more.

  • ORA-12560: TNS: error adapter Protcol

    HII,
    whenever I m re-start my windows server, the HOST ip address IS SE CHANGES entries in tnsnames.ora and lISTENER.ORA FILE every time that ihahve to do it manually n restart also I get below error
    "Ora-12560: TNS: error adapter Protcol.

    Please adviccccce


    Thank you

    Published by: user10656964 on August 5, 2012 04:02

    The process is also documented - http://docs.oracle.com/cd/B19306_01/em.102/b40002/structure.htm#sthref92

    HTH
    Srini

  • installition error! ORA - 12560: TNS: error adapter proto

    ORA - 12560: TNS:

    Published by: user8944100 on 29.Oca.2010 15:02

    user8944100 wrote:
    How can I copy the ruselts? I can't select the output on back

    Like this

    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 30-JAN-2010 01:30
    :19
    
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Anurag)(SERVICE=orcl)(PO
    RT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date                30-JAN-2010 01:01:08
    Uptime                    0 days 0 hr. 29 min. 12 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   E:\oracle\product\11.1.0\db_1\network\admin\listener.o
    ra
    Listener Log File         e:\oracle\diag\tnslsnr\Anurag\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Anurag)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 2 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    

    Yes, I did
    -> Press the left key of the mouse
    -> Mark selected
    -> a took my pointer to the point where I want to copy starting. I pressed the right button and dragged until the end. So the text I want to copy obtained highlighter.
    -> A released the right mouse button. A click on the left button of the mouse. If the drop down menu came then I press on copy.
    -> A is Ctrl + v here.
    And the button pressed the "Post message".

    Concerning
    Anurag

  • ORA-12560: TNS:protocol adapter error

    Hello!

    I use Windows 7 x 64, Microsoft Visual Studio Express 2013 c# and Oracle 11 g Database Express Edition. I installed ODAC1120320_x64.zip. I can login to the database in SQL command line, but not in c#. I have fuite error: ORA-12560: error adapter TNS:protocol.

    In the code I write:

    using Oracle.DataAccess.Client;

    ...

    public static string connectionString = @"User Id = NATA; Password = < my_password >; »

    using (OracleConnection connection = new OracleConnection (connectionString))

    {

    Try

    {

    connection. Open(); There is a mistake here

    } ...

    I don't know how to identify the database of tha.

    Maybe Data Source? See http://docs.oracle.com/cd/E11882_01/win.112/e23174/featConnecting.htm#ODPNT163

  • SQLDEVELOER = &gt; ORA-12505 / SQLPLUS = &gt; ORA-12560: TNS:protocol adapter error

    Hi guys, I recently installed Oracle11g on my computer laptop windows 7. I get ORA-12560 error. I have installed and uninstalled times couple Oracle, I guess he can be disheveled windows services or some other parameters.

    Universal Oracle install created following listener.ora and tnsnames.ora.
    The tnsnames.ora seems incomplete for me.

    Any help to solve this problem is appreciated.

    ************listener.ora****************************************

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\orains\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\orains\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = abc - xyz - PC.gateway.2wire .net) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = C:\orains

    tnsnames.ora* *.

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )

    **************************************************************************

    C:\Users\abc-XYZ > LSNRCTL STATUS

    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on May 25, 2013 02:21
    : 34

    Copyright (c) 1991, 2010, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Prod
    ction
    Start date may 23, 2013 23:43:57
    Operating time 1 day 2 h 37 min 39 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Listener parameter File C:\orains\product\11.2.0\dbhome_1\network\admin\listen
    ER.ora
    C:\orains\diag\tnslsnr\abc-XYZ-PC\listener\alert\ log listener
    log. XML
    Summary of endpoints listening...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=abc-xyz-PC) (PORT = 1521)))
    Summary of services...
    Service 'CLRExtProc' has 1 instance (s).
    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
    The command completed successfully

    user1048437 wrote:
    Looks like you don't have a database.
    Sqlplus error means that you do not have a default set ORACLE_SID. The means of error sqldeveloper connection identifier you use Xe? ORCL? is not running.

    Go to control panel services and are looking for what is called OracleServicexxxx. If it is not there you don't have a database.
    If it's there, xxxx is that you must specify in your connection sqldeveloper.

    Jeff,

    I don't have anything with OracleServiceXXXX in my windows services.
    Why is it missing? Is this something I've done or (not) during installation?

    I guess that you have selected the option to create a database.

    I could use the database Configuration Wizard to create a database.

    This is the best option at this point.

    I have the suite starting with Oracle

    OracleOraDb11g_home1TNSListener
    OracleOraDb11g_home2TNSListener
    OracleOraDb11g_home3TNSListener
    OracleOraDb11g_home3ClrAgent
    OracleRemExecService
    OracleMTSRecoveryService
    Oracle_app_abc ~ product_112 ~ 1.0_dbhome_1ConfigurationManager

    I guess that OracleOraDb11g_home3TNSListener came with the most recent installation. How can I get rid of all previous headphones? I believe that I don't need them.

    Are still there the previous installations? You must run the net configuration assistant in each installation and remove the listener. If you can't that set them off. You can also check the SC utility that can be used to remove services.

  • ORA 12560 error

    Hello Experts,

    I had installed Oracle XE on windows 2003 32-bit, it succeeded. I had created the UDL file and checked that the connection is successful, as well.
    Start > all programs > Oracle Database 11g Express Edition > run SQL command line opens the command prompt and I am able to connect as well.

    Then I installed 11g Client.
    I checked the UDL that was connected and got an error then annex the TNSnames.ora of the OracleXE folder to the client's file. Checked the UDL file and he succeeded.

    Start > all programs > Oracle - OracClient11g_home1 > application development > SQL Plus opens the command prompt and when I try to connect it gives error
    ORA 12560: TNS protocol adapter error.


    Why the customer gives an error and not the server?

    Thank you
    Charles Babu J

    Ockoueret wrote:
    Thank you

    I am able to connect to the sqlplus
    XE in the %ORACLE_HOME%\bin file and the connection is successful,
    But I wonder why the SQL more in the customer gives an error, I should ignore the connection from the client SQL plu attempt?

    Thank you
    Charles Babu J

    Client installation has become its own & different ORACLE_HOME tree.
    each executable depends on the correct adjustment of the ORACLE_HOME & similar details.
    I suspect that when you call sqlplus 'client' that ORACLE_HOME was always pointing tree XE.

  • Error ORA-12560 on Ora11g after reboot

    Now having a major problem...

    I've recently set up a database under the following:
    -Oracle version: 11 GR 2 64 bit (standard)
    -OS: Windows Server 2008, running on VMWare
    -File system: ASM (thanks to grid infrastructure)
    The infrastructure of grid and Oracle itself have been installed under the same account. (It was a special local account that has been set up and account administrator privileges required).

    Everything is rising and running, was able to connect and everything. I made a few changes (setting mode archive log).

    I then did a restart of the computer.

    Now, whenever I try to connect as sysadmin (sqlplus "/ as sysdba") or any other user, I get the following error:
    ORA-12560: TNS protocol adapter error
    I have the problem that I try to access it locally or remotely. Manager of the company seems also not working do not.

    Any idea what the problem might be? I can do a TNSPing for the database, and the listener seems to be started.

    There were 2 small problems that I'm nut sure are related:
    -Although I installed everything under the same local administrator account (I called dbadmin), when I go in lsnrctl I can't use "reload" (gives me a "tns01190": user is not authorized to perform the requested listener command. ") but I can use if I login as "Administrator".
    -When I looked at the registry, the 'ORACLE_mydb_AUTOSTART' is set to false. There are other parts which must be autostarting, but aren't?

    user588235 wrote:
    Now having a major problem...

    I've recently set up a database under the following:
    -Oracle version: 11 GR 2 64 bit (standard)
    -OS: Windows Server 2008, running on VMWare
    -File system: ASM (thanks to grid infrastructure)
    The infrastructure of grid and Oracle itself have been installed under the same account. (It was a special local account that has been set up and account administrator privileges required).

    Everything is rising and running, was able to connect and everything. I made a few changes (setting mode archive log).

    I then did a restart of the computer.

    Now, whenever I try to connect as sysadmin (sqlplus "/ as sysdba") or any other user, I get the following error:
    ORA-12560: TNS protocol adapter error
    I have the problem that I try to access it locally or remotely. Manager of the company seems also not working do not.

    Any idea what the problem might be? I can do a TNSPing for the database, and the listener seems to be started.

    There were 2 small problems that I'm nut sure are related:
    -Although I installed everything under the same local administrator account (I called dbadmin), when I go in lsnrctl I can't use "reload" (gives me a "tns01190": user is not authorized to perform the requested listener command. ") but I can use if I login as "Administrator".
    -When I looked at the registry, the 'ORACLE_mydb_AUTOSTART' is set to false. There are other parts which must be autostarting, but aren't?

    Under Windows, if your db service is not started, you will get the error reported.
    You can also get this error with the database service started, the database upward and operation, but your have not set ORACLE_SID in the right (or any!) value.

Maybe you are looking for