Connect target / getting ORA-12560

Hi,
Can I issue:
RMAN TARGET / in CMD where I have only Oracle software installed in my machine -indeed I saw this in a tutorial in the internet !-.
If so, why could be the problem if I'm getting ORA-12560 error.
Saad,

RMAN TARGET /
The command illustrate that RMAN connecting to a target DB. So is your DB service up which you are trying to connect.
Edited by: shrikant on Mar 14, 2011 12:03 AM

Similar Messages

  • Help!! iternmittently getting ORA-12560. Here is a snipset..

    Hello..
    i have MS com+ objects which are calling stored procedures simultaneously and rapidly and
    intermittently getting ORA-12560. TNS Protocol Adapter
    error. here is a snippset of trace log..
    please give me comments to solve this problem
    =========================================================
    (6600) nigini: entry
    (6600) nigini: Count in NI global area now: 1
    (6600) nigini: Count in NI global area now: 1
    (6600) nrigbi: entry
    (6600) nrigbni: entry
    (6600) nrigbni: Unable to get data from navigation file tnsnav.ora
    (6600) nrigbni: exit
    (6600) nrigbi: exit
    (6600) nigini: exit
    (6600) niqname: Hst is already an NVstring.
    (6600) niqname: Inserting CID.
    (6600) niotns: entry
    (6600) niotns: niotns: setting up interrupt handler...
    (6600) snsbitini_ts: entry
    (6600) snsbitini_ts: normal exit
    (6600) snsbitcl_ts: entry
    (6600) snsbitcl_ts: normal exit
    (6600) snsbitini_ts: entry
    (6600) snsbitini_ts: normal exit
    (6600) niotns: Not trying to enable dead connection detection.
    (6600) niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.99.117)(PORT=1521)))(CONNECT_DATA=(SID=ESCROW0)(SERVICE_NAME=ESCROW0)(CID=(PROGRAM=C:\WINNT\system32\dllhost.exe)(HOST=MATDEV)(USER=Administrator))))
    (6600) nscall: entry
    (6600) nsmal: entry
    (6600) nsmal: 164 bytes at 0x319fba8
    (6600) nsmal: normal exit
    (6600) nscall: connecting...
    (6600) nladini: entry
    (6600) nladini: exit
    (6600) nladget: entry
    (6600) nladget: exit
    (6600) nsc2addr: entry
    (6600) nttbnd2addr: entry
    (6600) nttgetport: entry
    (6600) nttgetport: port resolved to 1521
    (6600) nttgetport: exit
    (6600) nttbnd2addr: using host IP address: 192.168.99.117
    (6600) nttbnd2addr: exit
    (6600) nsc2addr: normal exit
    (6600) nsopen: entry
    (6600) nsmal: entry
    (6600) nsmal: 492 bytes at 0x3197008
    (6600) nsmal: normal exit
    (6600) nsopenmplx: entry
    (6600) nsmal: entry
    (6600) nsmal: 2348 bytes at 0x3194f30
    (6600) nsmal: normal exit
    (6600) snsbitini_ts: entry
    (6600) snsbitini_ts: normal exit
    (6600) snsbitts_ts: entry
    (6600) snsbitts_ts: acquired the bit
    (6600) snsbitts_ts: normal exit
    (6600) snsbitcl_ts: entry
    (6600) snsbitcl_ts: normal exit
    (6600) nsopenmplx: normal exit
    (6600) nsopen: opening transport...
    (6600) nttcon: entry
    (6600) nttcon: toc = 1
    (6600) nttcnp: entry
    (6600) ntvlin: entry
    (6600) ntvllt: entry
    (6600) ntvllt: tcp.validnode_checking not turned on
    (6600) ntvllt: exit
    (6600) ntvlin: exit
    (6600) nttcnp: Validnode Table IN use; err 0x0
    (6600) nttcnp: creating a socket.
    (6600) nttcnp: exit
    (6600) nttcni: entry
    (6600) nttcni: trying to connect to socket 10093.
    (6600) ntt2err: entry
    (6600) ntt2err: soc 10093 error - operation=1, ntresnt[0]=530, ntresnt[1]=93, ntresnt[2]=0
    (6600) ntt2err: exit
    (6600) nttcni: exit
    (6600) nttcon: exit
    (6600) nserror: entry
    (6600) nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=93, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    (6600) snsbitts_ts: entry
    (6600) snsbitts_ts: acquired the bit
    (6600) snsbitts_ts: normal exit
    (6600) snsbitcl_ts: entry
    (6600) snsbitcl_ts: normal exit
    (6600) nsopen: unable to open transport
    (6600) snsbitts_ts: entry
    (6600) snsbitts_ts: acquired the bit
    (6600) snsbitts_ts: normal exit
    (6600) snsbitcl_ts: entry
    (6600) snsbitcl_ts: normal exit
    (6600) snsbittrm_ts: entry
    (6600) snsbittrm_ts: normal exit
    (6600) snsbitts_ts: entry
    (6600) snsbitts_ts: acquired the bit
    (6600) snsbitts_ts: normal exit
    (6600) snsbitcl_ts: entry
    (6600) snsbitcl_ts: normal exit
    (6600) nsbfr: entry
    (6600) nsbfr: normal exit
    (6600) nsbfr: entry
    (6600) nsbfr: normal exit
    (6600) nsmfr: entry
    (6600) nsmfr: 2348 bytes at 0x3194f30
    (6600) nsmfr: normal exit
    (6600) nsmfr: entry
    (6600) nsmfr: 492 bytes at 0x3197008
    (6600) nsmfr: normal exit
    (6600) nsopen: error exit
    (6600) nsclose: entry
    (6600) nsclose: normal exit
    (6600) nladget: entry
    (6600) nladget: exit
    (6600) nsmfr: entry
    (6600) nsmfr: 164 bytes at 0x319fba8
    (6600) nsmfr: normal exit
    (6600) nladtrm: entry
    (6600) nladtrm: exit
    (6600) nscall: error exit
    (6600) nioqper: error from nscall
    (6600) nioqper: nr err code: 0
    (6600) nioqper: ns main err code: 12560
    (6600) nioqper: ns (2) err code: 0
    (6600) nioqper: nt main err code: 530
    (6600) nioqper: nt (2) err code: 93
    (6600) nioqper: nt OS err code: 0
    (6600) niomapnserror: entry
    (6600) niqme: entry
    (6600) niqme: reporting NS-12560 error as ORA-12560
    (6600) niqme: exit
    (6600) niomapnserror: returning error 12560
    (6600) niomapnserror: exit
    (6600) niotns: Couldn't connect, returning 12560
    (6600) niotns: exit
    (6600) snsbittrm_ts: entry
    (6600) snsbittrm_ts: normal exit
    (6600) snsbittrm_ts: entry
    (6600) snsbittrm_ts: normal exit
    (6600) nsbfrfl: entry
    (6600) nsbfrfl: normal exit
    (6600) nigtrm: Count in the NI global area is now 0
    (6600) nrigbd: entry
    (6600) nrigbd: exit
    (6600) nigtrm: Count in the NL global area is now 0

    which version of oracle are you using?
    If you are using, 8.1.6 , then you would be hitting bug.892253.
    For more info. read metalink Note:21490.1.

  • Getting ORA-12560: TNS:protocol adapter on server

    Hi,
    We have a server on Windows, Oracle version 10.2.0.4.
    It was working fine, but all of a sudden we have started getting "ORA-12560: TNS:protocol adapter" when trying to connect as SYS.
    What could be the possible reason. Nothing new has been done on the server.
    Thanks.

    A-K wrote:
    Hi,
    We have a server on Windows, Oracle version 10.2.0.4.
    It was working fine, but all of a sudden we have started getting "ORA-12560: TNS:protocol adapter" when trying to connect as SYS.
    What could be the possible reason. Nothing new has been done on the server.Is the database service started when you get this error? I presume you are setting ORACLE_SID prior to this operation.

  • Oracle Installation -getting ora-12560

    I am installting Oracle 11g with startup database, while copying datafile getting ora-12560- TNS PROTOCOL error, unbale to continue the installtion,.
    OS : Windows 2008 R2 SP1 , standard Edition 64bit
    Oralce 11g
    Firwarell Already Switched off
    Experts, pl give your help
    -svmg
    Edited by: SVMG on Oct 11, 2011 10:08 PM

    SVMG wrote:
    I am installting Oracle 11g with startup database, while copying datafile getting ora-12560, unbale to continue the installtion,.
    OS : Windows 2008 R2 SP1 , standard Edition 64bit
    Oralce 11g
    Firwarell Already Switched off
    Experts, pl give your helpOperating System/Networking mis-configuration.
    post URL to specific page in Installation Guide where error occurred. (at which step)
    what clues exist within Install Log File?

  • I getting ORA-12560 error, how to rectify this

    hai everybody,
    I just try to shutdown my DB using shu it took time to stop and then i wait sometime but it will not shutdown so end that session.....
    after that i am getting this error..
    ORA-12560: TNS:protocol adapter error
    plz anyone help me..

    If you're running on windows you need to startup the database <b>"service"</b> before being able to connect to startup. It's advisable you use oradim to perform the startup and shutdown. Using oradim you can start the service and then the instance.

  • Get ORA-12560 error while accessing 11g database

    Database version: 11.2.0.1.0
    This is a development database running on CentOS. We had setup this database recently and everything has been fine. Today I noticed that when I connect to the database from remote, I get the following error -
    ORA-12560: TNS:protocol adapter error
    I'm able to get in to the database after logging in directly into the database server via putty. I have stopped & restarted the database, but with no help. I have checked the environment variables (ORACLE_HOME, ORACLE_SID) and they seem to be fine.
    Can you please help on what might be the problem here? Is this something to do with some change in the OS firewall setting?
    Edited by: museshad on Dec 20, 2012 12:44 PM

    lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-DEC-2012 13:27:55
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                27-AUG-2012 16:50:42
    Uptime                    114 days 20 hr. 37 min. 13 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/xxxx/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxxx)(PORT=1521)))
    Services Summary...
    Service "orcl.ENTERPRISENET.ORG" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.ENTERPRISENET.ORG" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    listener.ora
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    tnsnames.ora
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.ENTERPRISENET.ORG)
      )

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

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

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

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

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

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

  • ORA-12560 on Windows 2000 sp4, Pentium 4 CPU running vmware and Pent

    Hello all,
    I am getting ORA-12560 error running svrmgrl,sqlplus or dbca after installing 8.1.7 release 3 and patched to 8.1.7.4. My oracle_sid is set, oracle_home is pointing to the right file system. listener and database services are up and running and tnsping comes back ok. I have exhausted all metalink doc referring to ora-12560 and windows 2000. Has anyone experienced this problem before? Any help is appreciated.

    C:\Documents and Settings\oracle>set ORACLE_SID=test
    C:\Documents and Settings\oracle>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 8.1.7.4.0 - Production on 29-AUG-2006 13:17:
    13
    (c) Copyright 1998 Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ATLBCO3DV)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 8.1.7.4.0 - Produc
    tion
    Start Date 29-AUG-2006 11:03:28
    Uptime 0 days 2 hr. 13 min. 45 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File E:\oracle\apps\oracle\product\817\network\admin\listen
    er.ora
    Listener Log File E:\oracle\apps\oracle\product\817\network\log\listener
    .log
    Services Summary...
    PLSExtProc has 1 service handler(s)
    orcl has 1 service handler(s)
    test has 1 service handler(s)
    The command completed successfully
    TNSNAMES entry:
    TEST.CORP.CEFS.INT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = XXX.XXX.XX.XX)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = test)
    (SRVR = DEDICATED)
    )

  • Unable to create database due to ORA-12560, TNS protocol adapter error

    Hello,
    I'm trying to create an 8.1.7.0 database on a W2k server, but it is failing because as soon as svrmgrl is launched, I get an ORA-12560, TNS: protocol adapter error:
    D:\oracle\db_creation_scripts>D:\oracle\ora81\bin\svrmgrl @D:\oracle\db_creation_scripts\mterm62run.sql
    Oracle Server Manager Release 3.1.7.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
    ORA-12560: TNS:protocol adapter errorEcho ON
    SVRMGR> connect INTERNAL/manager
    ORA-12560: TNS:protocol adapter error
    SVRMGR> startup nomount pfile="D:\oracle\admin\mterm62\pfile\initmterm62.ora"
    LCC-00161: Message 161 not found; product=RDBMS; facility=MGR
    My ORACLE_HOME, ORACLE_SID, and TNS_ADMIN environmental variables are correctly set, and I'm able to tnsping the listener.
    I've enabled tracing, and my client trace file is:
    --- TRACE CONFIGURATION INFORMATION FOLLOWS ---
    New trace stream is d:\trace\client_trace.log_2084_9.trc
    New trace level is 6
    --- TRACE CONFIGURATION INFORMATION ENDS ---
    --- PARAMETER SOURCE INFORMATION FOLLOWS ---
    Attempted load of system pfile source d:\oracle\ora81\network\admin\sqlnet.ora
    Parameter source loaded successfully
    Attempted load of local pfile source D:\oracle\db_creation_scripts\sqlnet.ora
    Parameter source was not loaded
    -> PARAMETER TABLE LOAD RESULTS FOLLOW <-
    Successful parameter table load
    -> PARAMETER TABLE HAS THE FOLLOWING CONTENTS <-
    TRACE_DIRECTORY_SERVER = d:\trace
    TRACE_DIRECTORY_CLIENT = d:\trace
    NAMES.DIRECTORY_PATH = (TNSNAMES, HOSTNAME)
    SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
    TRACE_FILE_CLIENT = client_trace.log
    TRACE_FILE_SERVER = server_trace.log
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    TRACE_UNIQUE_CLIENT = on
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_LEVEL_SERVER = ADMIN
    --- PARAMETER SOURCE INFORMATION ENDS ---
    --- LOG CONFIGURATION INFORMATION FOLLOWS ---
    Log stream will be "D:\oracle\db_creation_scripts\sqlnet.log"
    Log stream validation not requested
    --- LOG CONFIGURATION INFORMATION ENDS ---
    nigini: entry
    nigini: Count in NI global area now: 1
    nigini: Count in NI global area now: 1
    nrigbi: entry
    nrigbni: entry
    nrigbni: Unable to get data from navigation file tnsnav.ora
    nrigbni: exit
    nrigbi: exit
    nigini: exit
    niqname: Hst is already an NVstring.
    niqname: Inserting CID.
    niotns: entry
    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=oracleMTERM62)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=MTERM62)(CID=(PROGRAM=D:\oracle\ora81\bin\SVRMGRL.EXE)(HOST=SERV0354)(USER=tarisa))))
    nsmal: 140 bytes at 0x12493f0
    nscall: connecting...
    nladini: entry
    nladini: exit
    nladget: entry
    nladget: exit
    nlpcaini: entry
    nlpcaini: prg =
    nlpcaini: arg[0] =
    nlpcaini: arg[1] =
    nlpcaini: exit
    nsmal: 420 bytes at 0x12542f0
    nsmal: 1712 bytes at 0x12572f0
    nsopen: opening transport...
    ntpcon: entry
    ntpcon: toc = 1
    sntpcall: entry
    snlpcss: entry
    ntpcon: exit
    nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=2, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    nsopen: unable to open transport
    nsmfr: 1712 bytes at 0x12572f0
    nsmfr: 420 bytes at 0x12542f0
    nladget: entry
    nladget: exit
    nsmfr: 140 bytes at 0x12493f0
    nladtrm: entry
    nladtrm: exit
    nioqper: error from nscall
    nioqper: nr err code: 0
    nioqper: ns main err code: 12560
    nioqper: ns (2) err code: 0
    nioqper: nt main err code: 530
    nioqper: nt (2) err code: 2
    nioqper: nt OS err code: 0
    niomapnserror: entry
    niqme: entry
    niqme: reporting NS-12560 error as ORA-12560
    niqme: exit
    niomapnserror: returning error 12560
    niomapnserror: exit
    niotns: Couldn't connect, returning 12560
    niotns: exit
    nigtrm: Count in the NI global area is now 0
    nnfgdei: entry
    nrigbd: entry
    nrigbd: exit
    nigtrm: Count in the NL global area is now 0
    My tnsnames, listener and sqlnet.ora files are very simple:
    ## BEGIN TNSNAMES.ORA
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    MTERM62 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = mterm62)
    (INSTANCE_NAME = mterm62)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = mterm62)
    (PRESENTATION = http://admin)
    # LISTENER.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = serv0354)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_DESC =
    (ORACLE_HOME = D:\oracle\ora81)
    (SID_NAME = mterm62)
    TRACE_LEVEL_LISTENER = ADMIN
    # SQLNET.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    TRACE_DIRECTORY_CLIENT = d:\trace
    TRACE_UNIQUE_CLIENT = on
    TRACE_DIRECTORY_SERVER = d:\trace
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    TRACE_FILE_CLIENT = client_trace.log
    TRACE_FILE_SERVER = server_trace.log
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_LEVEL_SERVER = ADMIN
    NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
    SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
    Does anyone have any ideas what else I can check. I'm a Unix person, not a Windows person, which is making it even more complicated. If I was on Unix, I'd just blow everything away and start again from scratch, but since I'm not sure how to remove all traces from the registry, etc., I don't want to try that on this machine. There was already one other database created, but it's not goign to be used.
    Any help would be greatly appreciated.
    regards,
    Tarisa.

    hi,
    thanks for the info. the problem, as it turns out, was that I was connected to the db server via a terminal service (Microsoft Management Console), which for some reason caused probelms with TNS. After I connected directly to the machine using VNC, I was able to create the database with no problems. strange but true.
    regards,
    Tarisa.

  • ORA-12560: TNS:protocol adapter error on Fedora Core 5

    Hi ,
    After installing the 10201_database_linux_x86_64 on Fedora Core5. The database is started fine on the server. The status of is Listener is also up. But when try to connect from client PC. I am getting ORA-12560: TNS:protocol adapter error error please help. me.
    Thanks,

    Here are my config files.
    On SERVER
    listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME =/u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = db10g)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc1)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx)(PORT = 1521))
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, HOSTNAME)
    tnsnames.ora
    # Generated by Oracle configuration tools.
    DB10G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DB10G.WORLD)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    now when I issue lsnrctl start db10g i am getting following error.
    TNS-01151: Missing listener name, db10g, in LISTENER.ORA
    Please help me.

  • ORA-12560 HELP!

    Hello,
    I found my step-son playing around with keys on my laptop and later on in the day, as usual, opened SQL developer and SQL plus to practice what I am learning on CBT nuggets tutorial for fundamentals exam. All of a sudden when i type in Username (hr) and Password i get ORA-12560: TNS:protocol adapter error .
    I am currently using Oracle 11g Express edition and when i try running the shortcut 'Get started with Oracle Database 11g Express Edition' it opens a browser window and say Could not connect to 127.0.0.1:8080
    After searching on the Oracle forums and other websites, i still cannot find a solution. I was wondering if maybe my step son accidentally blocked something to do with Oracle 11g when prompted by my anti-virus (Kaspersky) but as I was not there I do not know exactly what he did.
    SQL developer gives me the follow error "Listener refused the connection with the following error: ORA-12505, TNS: Listener does not currently know of SID (shows Document icon) given in connect descriptor"
    Upon running lsnrctl status listener in Windows Command Prompt I get the following:
    C:\Windows\system32>lsnrctl status listener
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 17-JAN-2013 23:07
    :04
    Copyright © 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 17-JAN-2013 22:46:23
    Uptime 0 days 0 hr. 20 min. 46 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\Rami-PC\listener\a
    lert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Rami-PC)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Any ideas on what it could be? Please i am going nuts here trying to sort it out but I am not sure how to solve this problem and not being able to access my DB means i cannot really study for my ORA Fundamentals exam in March.
    Thanks in advance

    Here are the results from entering what you asked in windows command prompt:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\Rami>sqlplus / as sysdba shutdown abort startup
    SQL*Plus: Release 11.2.0.2.0 Production
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
    Usage 1: sqlplus -H | -V
    -H Displays the SQL*Plus version and the
    usage help.
    -V Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [{logon | /nolog}] [<start>] ]
    <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
    -C <version> Sets the compatibility of affected commands to the
    version specified by <version>. The version has
    the form "x.y[.z]". For example, -C 10.2.0
    -L Attempts to log on just once, instead of
    reprompting on error.
    -M "<options>" Sets automatic HTML markup of output. The options
    have the form:
    HTML ON [HEAD text] [BODY text] [TABLE text]
    [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] ON]
    -R <level> Sets restricted mode to disable SQL*Plus commands
    that interact with the file system. The level can
    be 1, 2 or 3. The most restrictive is -R 3 which
    disables all user commands interacting with the
    file system.
    -S Sets silent mode which suppresses the display of
    the SQL*Plus banner, prompts, and echoing of
    commands.
    <logon> is: {<username>[<password>][@<connect_identifier>] | / }
    [AS {SYSDBA | SYSOPER | SYSASM}] [EDITION=value]
    Specifies the database account username, password and connect
    identifier for the database connection. Without a connect
    identifier, SQL*Plus connects to the default database.
    The AS SYSDBA, AS SYSOPER and AS SYSASM options are database
    administration privileges.
    <connect_identifier> can be in the form of Net Service Name
    or Easy Connect.
    @[<net_service_name> | [/]Host[:Port]/<service_name>]
    <net_service_name> is a simple name for a service that resolves
    to a connect descriptor.
    Example: Connect to database using Net Service Name and the
    database net service name is ORCL.
    sqlplus myusername/mypassword@ORCL
    Host specifies the host name or IP address of the database
    server computer.
    Port specifies the listening port on the database server.
    <service_name> specifies the service name of the database you
    want to access.
    Example: Connect to database using Easy Connect and the
    Service name is ORCL.
    sqlplus myusername/mypassword@Host/ORCL
    The /NOLOG option starts SQL*Plus without connecting to a
    database.
    The EDITION specifies the value for Session Edition.
    <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
    Runs the specified SQL*Plus script from a web server (URL) or the
    local file system (filename.ext) with specified parameters that
    will be assigned to substitution variables in the script.
    When SQL*Plus starts, and after CONNECT commands, the site profile
    (e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
    (e.g. login.sql in the working directory) are run. The files may
    contain SQL*Plus commands.
    Refer to the SQL*Plus User's Guide and Reference for more information.
    C:\Users\Rami>

  • ORA-12560: TNS:protocol adapter error rman

    hello all,
    i am on xp, and 10.2 oracle version....i created a dummy database with name comp using dbca...used FRA and took a backup though rman....i have teh backup now in FRA....
    I droped the database to do a test restore...but i cant even login to rman or sqlplus ??? i was able to login to rman before to take a backup....but now i cant.... could not figure out 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:
    hello all,
    i am on xp, and 10.2 oracle version....i created a dummy database with name comp using dbca...used FRA and took a backup though rman....i have teh backup now in FRA....
    I droped the database to do a test restore...but i cant even login to rman or sqlplus ??? i was able to login to rman before to take a backup....but now i cant.... could not figure out why...any help would be appericiated....
    If you have backup and you dropped database then you can create it again.
    1) Create directories for background,user,audit dumpdest and control,online log,datafiles.
    2) Create OracleServiceComp if that is not exists using ORADIM utility(oradim -new -sid COMP -intpwd <syspass> -pfile <pfile location>)
    3) After starting oracle service
    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;

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

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

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

  • ORA-12560 error in VS2010

    I'm getting "ORA-12560 TNS:protocol adapter error" when trying to Add Connection in VS2010 (Server Explorer > Add Connection > Username: hr, Password: hr, Data source name: Local Database). This is sample HR database in Oracle XE 10g.
    I'm guessing this could be something related to installation? My installation was like this: Oracle XE 10g which I've been using for couple of weeks. I then installed VS2010 Ultimate x86 followed by ODT with ODAC 11.2. This is on Windows 7 Ultimate x64. I've noticed that ODT is installed in D:\app, while XE is in D:\oraclexe.
    I can access my database through APEX interface. Running 'sqlplus' in command line issues same ORA-12560 error. Running 'Run SQL Command Line' from Start > Oracle XE 10g works. This obviously points to wrong configuration / installation, but how to fix it?
    Thanks in advance.

    913905 wrote:
    I can access my database through APEX interface. Running 'sqlplus' in command line issues same ORA-12560 error. Running 'Run SQL Command Line' from Start > Oracle XE 10g works. This obviously points to wrong configuration / installation, but how to fix it? That depends on the type of client connection initiated - local IPC connection (also called a bequeath connection) or a network (TCP) connection.
    For a local IPC connection to work, the client driver needs to know the ORACLE_HOME and ORACLE_SID of the local database instance - this is usually set via the environment.
    For a TCP connection to work, you need an Oracle Listener running on the Oracle server, the local Oracle database instance to have registered itself with the Listener, and for the client being able to connect to the Listener via TCP.
    Oracle Listener is a service on Windows - but the command line program is called lsnrctl and via it one can start/stop the listener and determine its status and registered services. With the Listener running, the local database should automatically register itself with the Listener, unless one manually changed database or Listener parameters.
    For TCP connectivity, the usual applies - firewalls must not block TCP access, the client needs to resolve the server hostname into an IP (if hostnames are used), that server IP must be reachable, etc.

Maybe you are looking for

  • Help with Creating a Jeopardy Game for Classroom Teacher

    Hi, I am a middle school teacher and would like to create a Flash Jeopardy game for the teachers at our school to use on our school website.  I would like a game similar to the game on http://www.superteachertools.com/jeopardy/. I have been able to s

  • IE7 and Multiple Embedded SWF Videos Not Working

    We have a page that contains 2 videos that are streamed from our media hosting company.  The code is fairly straightforward, <object type="application/x-shockwave-flash" data="http://xxx.xxx.xxx/your.swf" width="400" height="300"> <param name="movie"

  • SAP defined process maps on SCM

    I need SAP business  and process maps on following areas for discrete and process industry. 1. Order Management process ( Procurement) 2. Warehouse management 3. Transportaion management 4. Demand planning 5. Inventory planning. Please inform me the

  • Multi Threaded Insert in Berkeley DB

    Hi, This is my requirement. Have to read 9 million records from Oracle DB. Have to identify KEY and have to instantiate VO object as VALUE Have to insert 9million records (key and value VO's) into Berkeley DB. What is the best way to do this? Perform

  • Photoshop 2014 UI smaller than my other Adobe apps on Surface Pro...

    I recently purchased a MS Surface Pro 3. For some reason the user interface is smaller in Photoshop than any other Adobe program. The experimental 200% UI preference makes Photoshop FAR to large. I don't know what Adobe is thinking. All of the other