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

Similar Messages

  • 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

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

  • 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

  • New Install Win 2000 Server ORA-12560 : TNS : Protocol Adapter Error

    I am trying to learn Oracle.
    I get the following when logging into SQL*Plus.
    ORA-12560 : TNS : Protocol Adapter Error
    I have just installed New Install Win 2000 Server and then Oracle 8i for Win2k
    null

    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.

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

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

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

  • ORA-12560: TNS Protocol adapter error 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

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

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

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

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

    Hi,
    database :- 10.2.0.1 (upgraded from 8.1.7.4 through DBUA)
    OS :- Windows2000 Server
    In Sql editor (10.2.0.1) when i give command "conn / as sysdba" i get the below error :
    SQL> conn / as sysdba
    ERROR:
    ORA-12560: TNS:protocol adapter error
    I can connect with SYS user using TOAD but can't through sql editor
    and when i open sql editor (8.1.7.0), SYS user gets connected.
    any solution ?
    With regards

    hello,
    if having multiple database on same host, try specifying @<SID> while connecting through command line
    restart the service and try again......
    start-->setting-->control panel-->administrative tools--> servieces-->oracle_homeLinstener<SID>--> restart
    if possible paste your TNSnames.ora file here...with details
    this might help
    thanks and regards
    VD
    Edited by: vikrant dixit on Jul 13, 2009 4:26 AM

  • Unable to login- ORA-12560: TNS:protocol adapter error

    I have upgraded the oracle db to 11.1.0.7 from 11.1.0.0 . before upgrade i have stop the db and listener process.
    after the upgrade, i have started the listener(mentioned the listener status below) and tried to login as a sysdba, but unable to login itself to the db. Kindly help me to login and to start the database.
    Error msg :
    bash-3.00$ cd $ORACLE_HOME
    bash-3.00$ cd bin
    bash-3.00$ sqlplus /nolog
    SQLPlus: Release 11.1.0.7.0 - Production on Thu Apr 26 19:28:19 2012*
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    SQL> connect sys as sysdba
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    bash-3.00$ lsnrctl status
    LSNRCTL for Solaris: Version 11.1.0.7.0 - Production on 27-APR-2012 16:30:01
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1525)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 11.1.0.7.0 - Production
    Start Date 27-APR-2012 10:50:31
    Uptime 0 days 5 hr. 39 min. 30 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u02/AIUJAPAN/oracle11g/product/11.1.0/db_1/network/ad
    min/listener.ora
    Listener Log File /u02/AIUJAPAN/oracle11g/diag/tnslsnr/AIGUK/listener/al
    ert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1525)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.95.24.10)(PORT=1525)))
    The listener supports no services
    The command completed successfully
    bash-3.00$

    id
    uid=100(oracle) gid=102(oinstall)
    env | sort
    CLASSPATH=:/oracle/AIG_IBM/AIG/classes12.zip:
    COBDIR=/u01/opt/microfocus/cobol
    HOME=/export/home/oracle
    HZ=100
    LD_LIBRARY_PATH=/u02/AIUJAPAN/oracle11g/product/11.1.0/db_1/lib
    LOGNAME=oracle
    MAIL=/var/mail/oracle
    ORACLE_BASE=/u02/AIUJAPAN/oracle11g
    ORACLE_HOME=/u02/AIUJAPAN/oracle11g/product/11.1.0/db_1
    ORACLE_SID=AIUJAPAN
    PATH=/usr/bin::/usr/local/bin:/usr/ccs/bin:/u02/AIUJAPAN/oracle11g/product/11.1.
    0/db_1/bin
    PWD=/export/home/oracle
    SHELL=/bin/sh
    SHLVL=1
    TERM=ansi
    TZ=Asia/Calcutta
    _=/usr/bin/env
    hostname
    AIGUK.aig.com
    cat /etc/hosts
    # Internet host table
    127.0.0.1 localhost
    #10.95.24.73 AIGUK.aig.com
    10.95.24.10 AIGUK.aig.com
    10.95.24.10 AIGUK
    #10.95.24.73 AIGUK
    10.95.24.71 AIUNHLM
    192.18.108.101 supportfiles.sun.com
    #10.90.140.40 mailhost
    10.90.140.55 mailhost
    uname -a
    SunOS AIGUK.aig.com 5.10 Generic_118833-20 sun4u sparc SUNW,Sun-Fire-V490
    ifconfig
    - This command is not working - saying "Command not found"
    lsnrctl start
    LSNRCTL for Solaris: Version 11.1.0.7.0 - Production on 04-MAY-2012 20:39:52
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    lsnrctl status
    LSNRCTL for Solaris: Version 11.1.0.7.0 - Production on 04-MAY-2012 20:40:17
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1525)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 11.1.0.7.0 - Production
    Start Date 27-APR-2012 10:50:31
    Uptime 7 days 9 hr. 49 min. 45 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u02/AIUJAPAN/oracle11g/product/11.1.0/db_1/network/ad
    min/listener.ora
    Listener Log File /u02/AIUJAPAN/oracle11g/diag/tnslsnr/AIGUK/listener/al
    ert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1525)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.95.24.10)(PORT=1525)))
    The listener supports no services
    The command completed successfully
    lsnrctl service
    LSNRCTL for Solaris: Version 11.1.0.7.0 - Production on 04-MAY-2012 20:40:46
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1525)))
    The listener supports no services
    The command completed successfully

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

Maybe you are looking for