Error: ORA-12560 TNS : Protocol Error help need urgently

HI
i m working on win 2k adv server
i installed orcale 8i
and then i started sql plus
and entered us id and pass : scott / tiger
and also tried :system / manager
but i m having this error
plz tellme how can i solve it
Error: ORA-12560 TNS : Protocol Error
plz do it soon
Nurali
03002199037

You're attempting to go across SQL*Net. I'm a unix guy so I can't help very much except to point this out.
On Unix I'd either undefine the TWO_TASK environmental variable. Probably a reg entry on 2k.
Or configure Sql*Net.
Ken

Similar Messages

  • Error ORA-12560 TNS protocol error

    I tried ti install Oracle 8.1.6 for Netware and when starting the database returns the following message:
    ORA-12560: TNS:protocol adapter error.
    I'm new to Oracle and any advice will be appreciated.
    Thanks in advance,
    Ernesto

    Now I've found that after a succesful install, ORALOAD is blank !!
    Ernesto

  • ORA-12560-TNS PROTOCOL ERROR

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

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

  • Error ORA-12560:TNS:protocol adapter error - on client

    dear frnds,
    I am try to install oracle 11g to my client iam getting error
    ORA-12560:TNS:protocol adapter error
    pls help me out
    thanx in advance

    Most likely reason for TNS Protocol adapter error is....you must have older client FIRST in your path.
    You 11g binaries are not kicking in, cuz...you must have 10g or similar/older binaries first in your PATH ( in windows )
    In windoz...in cmd window...
    set ORACLE_SID=xxxx
    set ORACLE_HOME= to your 11g home
    cd %ORACLE_HOME%\bin OR set PATH=%ORACLE_HOME%\bin;%PATH%
    Then your sqlplus etc..
    This time you should not be getting the protocol error.
    Let us know whether this solved your problem

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

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

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

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

    I am using Win XP Pro. in my PC. I just installed Oracle 9i. When I put in my
    user-name and password to run SQL+ 9.0.1 it gives me the following error
    message : ERROR:ORA-12560: TNS:protocol adapter error.
    I am new to Oracle. Please give me the steps how to fix this error to be
    able to run SQL+.
    Many thanks

    When starting server manager the following error is generated:
    ORA-12560: TNS:protocol adapter error occurred
    Cause:
    Oracle classify this as a 'generic protocol adapter error'. In my experience it indicates that Oracle client does not know what instance to connect to or what TNS alias to use.
    Possible Remedies:
    * If running on the server (or workstation) that is running the database (i.e. if the database is local to the machine) then try explicitly setting 'ORACLE_SID'. e.g.
    set ORACLE_SID=<sid>
    and then try again. If this works then consider whether to make the change permanent by specifying it as a system variable.
    FOR RUN THIS SID PLEASE REFER IT
    Go to command prompt
    C:\Document and settings\ORANGE> cd\
    C:\> set oracle_sid=<DB name>
    e.g C:\> set oracle_sid=<rajesh> {press enter}
    C:\> sqlplus /nolog {press enter}
    sql:\>connect sys/sys as sysdba {press enter} it cant ask for password directly connected
    or
    sql:\>connect sys as sysdba {press enter}
    password : sys {press enter}
    sql:\> connected
    or
    sql:\> connect scott {press enter}
    Enter password :tiger {press enter}
    sql:\> connected
    or
    sql:\> connect system {press enter}
    Enter password :manager {press enter}
    sql:\> connected

  • Oracle 9i Database gives the error "ORA-12560: TNS: Protocol Adaptor Error"

    Hi
    I am working on Oracle9i Database, but from few days there is a problem, I can not enter in the database using SQL*PLUS or any other tool. When I give the user name and password it give the error message, that is given below:
    "ORA-12560: TNS: Protocol Adaptor Error"
    Please help me regarding this error.
    Gul Bahar Oad

    A bit generic .... In SqlPlus are you connecting from the server or from a Client ?
    Did you check if the listener is running ?
    Did you try tnsping ?
    What is your OS ?

  • Facing a error ORA-12560: TNS:protocol adapter error

    Hi All,
    Recently I have installed oracle 11gr2 on 64 bit solaris machine .During Installation i didnt get any error but when ever I am trying to create create a database Using DBCA I am getting a error as ORA-12560: TNS:protocol adapter error .The same error I am getting when ever trying to create the DB manually.
    As I am new to this 11gr2 in solaris machine ,any help in this matter will be very helpfull for me.
    With Regards,
    Sujit

    I started the listener then also i am getting the same error.
    below is listener status after starting that
    LSNRCTL> start
    Starting /export/home/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
    Log messages written to /export/home/app/oracle/diag/tnslsnr/Blrbalidev3/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Blrbalidev3)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
    Start Date 10-FEB-2010 13:41:07
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File /export/home/app/oracle/diag/tnslsnr/Blrbalidev3/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Blrbalidev3)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    Regards,
    Sujit

  • Re: SQL Plus Error ORA - 12560 TNS:Protocol Adapter error

    I am using Oracle 9i
    On Windows XP Home
    I am trying to learn and become familiar with Oracle 9i
    I get the above error whenever I try to log on to SQL Plus
    I use the following Id scott
    and the following Password Tiger
    and the above error comes up
    now I can't log on to Oracle9i SQL
    I tried going into Start, Control Panel, Administrative Tools, Services
    I see the Oracle SID which says Automatic, Started
    But I am unable to still logon
    Anyone has a solution
    Assistance would be appreciated
    The solution can be printed here as well as please forward a copy to [email protected]
    Thanks

    Here is the following output of your instructions
    sc query oracleserviceoracle
    SERVICE_NAME: ORACLESERVICEORACLE
    TYPE: 10 WIN32_OWN_PROCESS
    STATE: 4 RUNNING
    (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
    WIN32_EXIT_CODE: 0 (0X0)
    SERVICE_EXIT_CODE: 0 (0X0)
    CHECKPOINT: 0X0
    WAIT_HINT: 0X0
    set | find "ORACLE"
    comes back empty
    set | find "oracle"
    JSERV=J:\oracle\ora92/Apache/Jserv/conf;C:\oracle\ora92/Apache/Jserv/conf
    Path=J:\oracle\ora92\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MSSQL7\BINN;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier";C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Executive Software\DiskeeperLite\;C:\Program Files\CA\PPRT\bin;C:\Program Files\SSH Communications Security\SSH Secure Shell;;J:\Acucobol\BIN
    WV_GATEWAY_CFG=J:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app
    ebrian
    Yes I realize that the JSERV is pointing in the incorrect are
    the J drive is a flashdrive
    In the Registry I have just deleted the 2nd Orahome directory which was on the J drive
    so all I have now left is the Orahome directory on the C drive
    how do I make corrections so that from now on the JSERV, Path, and WV_Gateway._CFG point to the C drive

  • Error ORA-12560 TNS Protocol adeptor error

    have install oracle on p4 server with win2000 OS. i getting above error.then i search for it's causes and in service my oracleSID service is become manual..
    i have make it auto and start it by force.why this happen?

    http://forums.oracle.com/forums/ann.jspa?annID=599

  • Help: ORA-12560: TNS:protocol adapter error

    I created a new database and afterwards my established TNS connection to my starter database was lost. Now I cant get it to work. I tired deleting the new database I created, but my old connection with my starter db still does not work. When I test the connection using the NET 8 assistant I get the following error: ORA-12560: TNS:protocol adapter error.
    Im fairly new to Oracle8i and Ive posted numerous threads elsewhere concerning my problem but so far I havent gotten a solution. Any ideas?
    Thanks, Andrew
    null

    Edwin,
    1. I can ping my server.
    2. I reinstalled Oracle8i entirely on the server I still could not connect.
    3. I installed Oracle8i client on a totally new client I still could not connect.
    On thing though, when I de-installed all Oracle products and then reinstalled Oracle, some of my settings from the previous install still existed. Ex: When I opened Net 8 Assistant some of my Net Service Names remained from the previous install.
    Three things I think I can rule out as causes:
    a) It seems really significant that from the server I can successfully connect through the TNS connection. And this is using the exact same TNANAMES.ORA file that is on my client machine. This leads me to believe that my TNSNAMES.ORA file is not the cause of the problem.
    b) Also the fact that the new client install (3) didnt work makes me think for sure that it is not the client.
    c) When I open SQL Plus on the server I type ORACLE4 for the host string and I get right in. This leads me to believe that the instance and database can be ruled out as possible causes.
    In the Oracle Client Net8 Profile section I set tracing to on. I am posting the results. Also FYI: I am the only person that has been working with Oracle on the server. Any ideas??? Andrew
    --- TRACE CONFIGURATION INFORMATION FOLLOWS ---
    New trace stream is "C:\Oracle\Ora81\NETWORK\trace\sqlnet79.trc"
    New trace level is 4
    --- TRACE CONFIGURATION INFORMATION ENDS ---
    nigini: Count in NI global area now: 1
    nigini: Count in NI global area now: 1
    nrigbni: Unable to get data from navigation file tnsnav.ora
    niotns: niotns: setting up interrupt handler...
    niotns: Not trying to enable dead connection detection.
    niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRA M=C:\PROGRAM FILES\ORACLE\JRE\1.1.7\BIN\JREW.EXE)(HOST=ANDY)(USER=andrew))))
    nscall: connecting...
    nsopen: opening transport...
    nserror: nsres: id=0, op=65, ns=12547, ns2=12560; nt[0]=517, nt[1]=0, nt[2]=0
    nsopen: unable to open transport
    nioqper: error from nscall
    nioqper: nr err code: 0
    nioqper: ns main err code: 12547
    nioqper: ns (2) err code: 12560
    nioqper: nt main err code: 517
    nioqper: nt (2) err code: 0
    nioqper: nt OS err code: 0
    niqme: reporting ns (2) error: (12547) as rdbms err (12547)
    niotns: Couldn't connect, returning 12547
    nigtrm: Count in the NI global area is now 0
    nigtrm: Count in the NL global area is now 0
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ekessels (Edwin Kessels):
    Try to install the Net8 Server and Client again. Also make sure you can ping the IP-adres of servername using the PING-command.
    Edwin Kessels
    OCP-DBA
    <HR></BLOCKQUOTE>
    null

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

  • 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 after full database restore.

    Good afternoon,
    Following the steps given in page 9-32 of the 2 Day DBA document, after doing a full database restore, the home page shows:
    NOTE: all of the output shown in this post is obtained directly from the host not a client. AND all using ENTERPRISE MANAGER.
    1. The database instance is down
    2. The listener is up
    3. Agent Connection to Instance has status of Failed, followed by ORA12505: TNS: listener does not currently know of SID in connect descriptor (DBD ERROR: OCIServerAttach)
    When I try to connect as sysdba using SQL Plus, I get the output shown below:
    0 18:14 [Oracle] [13G] [2,031M] E:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN>
    tnsping dbca
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 30-AUG-2
    010 18:14:36
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    E:\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = orahost.john.local)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dbca.
    john.local)))
    OK (50 msec)
    0 18:14 [Oracle] [13G] [2,050M] E:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN>
    sqlplus /nolog
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Aug 30 18:17:53 2010
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> connect
    Enter user-name: sys as sysdba
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL>All I did was perform a full database restore in the same database, the simplest case. Any ideas as to why I can no longer connect ?
    Thank you very much for your help,
    John.
    Edited by: 440bx - 11gR2 on Aug 30, 2010 6:58 PM - added Using Enterprise Manager.

    I don't know what else I could have done given the behavior of the service.You can avoid problems like this in the future by avoiding Windows & using any approved *NIX Operating System.
    No such "service" or daemon exist on any *NIX OS.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Crystal Report not working when posting the report to the Crystal Server.

    Hi All,   I created a report using Crystal Reports 2008 with two ODBC connections (User DSN's). When I run the report in Crystal Reports (where I originally created it) it runs fine with no problems.    I am now trying to load it on Crystal Server 20

  • Exception Type:  EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000

    Im new to using premier and i stared editing a video, half way done software lost media files and crash!! Now i cant even open premier with out having an error screen come up or not finding the media file. I dont know what to how to solve this coding

  • SAPMEINT

    Hi, I'm currently trying to install the SAPMEINT component according to the documentation {bold}Installation Guide SAP Manufacturing Execution 5.2{bold} When I'm trying to open a link under SAP ME ERP Integration -> Administration, I'm getting the fo

  • Add New functionality in VKM1

    Hi !!   I need to add a custom button in list result of transaction VKM1, but i'm looking for an exit program and I'can't find it, can you help me??. Thanks a lot!. Soraya Cervantes

  • Encountering a problem when creating a new project

    Hello I installed JDK 1.5.0_11 and then Java Studio Enterprise 8.1. For my programming class we have to create an application, however the "General" catagory -> "Java Application" project is not there. The options I have under categories is " samples