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>

Similar Messages

  • ORA-12560  TNS protocol adapter error--URGENT HELP!

    To Experts:
    I tried to log in the SQL by using the username: system, manager for password. however, it gave me the message:
    ORA-12560 TNS protocol adapter error.
    I am using Oracle 9i and Developer 6 in Wins XP environment.
    Thank you much!

    Yes,Thank you very much.I am ok to invoke these commands.
    the listener started already.The listener name is just LISTENER.But i still can't login sql plus.Help me on.
    hi,Mr sb92075
    Do you use what kind of messenger?If we can communicate on messenger,it will facilitate solving my problem I think.I don't mean to disrespect you but I just want to overcome the problem very quickly.
    with best regards,
    Ian Su
    Can I know very clearly?
    what are the things(eg dbname,username,protocol I don't know exactly just guessing)needed to connect to the database?
    I already installed oracle developer suite 10 and oracle 10g xe database server.
    I can't login to sqlplus and what are the things i need to check to get connected to the database from sqlplus?
    I appreciate your help and need somebody help.
    Edited by: Ian Su on Jun 18, 2011 11:21 PM
    Edited by: Ian Su on Jun 18, 2011 11:29 PM

  • 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

  • Help: Error message "ORA-12560 TNS:Protocol Adapter Error "

    I tried to install Oracle 8i EE version 8.1.7 on Windows 2000. Everything is OK until the installation proceeded to installing "Oracle Database Configuration Assistant". At that point, I got an error message "ORA-12560 TNS:Protocol Adapter Error (network not loaded)". I looked up the error message. The cause of the error said: "This error occurs when the SQL*Net driver cannot find the JSB driver because you may have either forgotten to load the JSB driver (for instance MFTP) or used an incorrect TCP_VENDOR key (for example, TCP_VENDOR=NOVLWP).". And the suggested action said: "Load the JSB driver or use the correct TCP_VENDOR key.". I am using a standalone PC with Windows 2000 at home, and the PC does not connect to any network(except that I can dialup to internet via modem). What should I do? I can't understand the error message. Any expert to help me overcome the error?
    null

    database tnsnames.ora
    =========
    # TNSNAMES.ORA Network Configuration File: D:\Oracle\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mohsin-pc)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mohsin-pc)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    developer 10g tnsnames.ora
    ==============
    # tnsnames.ora Network Configuration File: D:\Forms\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = Dedicated)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mohsin-pc)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    Please tell me what changes I needed
    database serivice name is "ORCL'
    and my pc name is "mohsin-pc"

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

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

    Hi,
    I tried to create a Oracle Database using Oracle installer.
    I got the error ORA-12560
    This is part of the logfile:
    INFO: Configuration assistant "Oracle Net Configuration Assistant" succeeded
    INFO: Command = oracle.assistants.server.DbcaCfgPlugIn C:\Windows\system32\cmd /c call E:\app\Administrator\product\11.1.0\db_1/bin/dbca.bat -progress_only -createDatabase -templateName General_Purpose.dbc -sid labor -gdbName labor.world -emConfiguration LOCAL -datafileJarLocation E:\app\Administrator\product\11.1.0\db_1\assistants\dbca\templates -datafileDestination E:\app\Administrator\oradata -responseFile NO_VALUE -characterset WE8MSWIN1252 -obfuscatedPasswords false -sampleSchema true -recoveryAreaDestination NO_VALUE -totalMemory 818 -automaticMemoryManagement true -maskPasswords false -sysPassword ${S_SYSPASS} -systemPassword ${S_SYSTEMPASS} -dbsnmpPassword ${S_DBSNMPPASS} -sysmanPassword ${S_SYSMANPASS} ${S_SYSASMPASS} ${S_HOSTUSERPASS}
    Command = oracle.assistants.server.DbcaCfgPlugIn has failed
    INFO: Configuration assistant "Oracle Database Configuration Assistant" failed
    *** Starting OUICA ***
    Oracle Home set to E:\app\Administrator\product\11.1.0\db_1
    Configuration directory is set to E:\app\Administrator\product\11.1.0\db_1\cfgtoollogs. All xml files under the directory will be processed
    INFO: The "E:\app\Administrator\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
    INFO:
    The Runconfig command constructed is E:\app\Administrator\product\11.1.0\db_1\oui\bin\runConfig.bat ORACLE_HOME=E:\app\Administrator\product\11.1.0\db_1 MODE=perform ACTION=configure RERUN=false $*
    INFO: Since there is an Internal Plugin Invocation or a Java Plugin Invocation tool in the Oracle Home E:\app\Administrator\product\11.1.0\db_1 we use the runConfig Command instead of the plugin's command
    INFO: Created a new file E:\app\Administrator\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands
    INFO: Since the option is to overwrite the existing E:\app\Administrator\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands file, backing it up
    INFO: The backed up file name is E:\app\Administrator\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands.bak
    SEVERE: OUI-25031:Some of the configuration assistants failed/cancelled. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
    1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
    2. Fix the errors causing these failures.
    3. Select the failed assistants and click the 'Retry' button to retry them.
    INFO: User Selected: Yes/OK
    Can anybody help me
    Operating system Windows Server 2008
    A TNSNAMES.ORA was not created even if Oracle Net Config was successful (see above)
    Regards
    siegwiin

    Hi,
    Make sure that you point to the right path in ORACLE_HOME directory system variable.
    If you already have one ORACLE COMPONENET RUNNING (SAY 10g SOA etc). Then we need to remove the path in the variable ORACLE_HOME and point to new oracle home path.
    I had the similar issue it worked me. I hope it will work for you too as well.
    -- Khaleel

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

    Hello All,
    I have Oracle 11g installed on my machine and when i tried to log in to sql plus i got the error below:
    ORA-12560 TNS protocol Adapter error
    By setting the ORACLE_SID = orcl by browsing to the bin directory of Oracle Installation the above error disappaears and i am able to log in from sql plus.
    My intention is to create a db backup for which i am trying to use the exp command...this time the same error appears.
    Also the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
    Can anybody please help me out find a good solution for this?
    Any help would be appreciated friends.....
    Thanks in Advance!!!!!
    Regards.
    Alicia

    Also the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
    Can anybody please help me out find a good solution for this?The solution depends on your (not specified) operating system...
    Anyway, if you have more than one database it's normal that you have to set ORACLE_SID, if not how can Oracle know which database you want to access to ?
    You can create batch files, one per database, or you can use connection strings, e.g. sqlplus username/password@<DB>.

  • ORA-12560 Error

    I installed 9i Developer Suite. I did not install the net configuration manger. The installation said it was not required. I am using forms builder and can compile the form. I connect to the database. However, when running the form I receive a ORA-12560 error. Also, the logon appears and I am prompted to connect to the database. Any help would be greatly appreciated.

    The URL looks quite strange to me:
    http://lap_top:8888/forms90/f90servlet?form=E:\cis355@userid=scott\tiger@buffer_records=no@debug_message
    Looks like the "@" is used to separate the parameters which is new to me. Normally it's either "&" or "+". You can set the separator somewhere, cannot thou remember where? Registry? Also the userid isn't complete. The database name is missing, and even if it was there. How could the server know what's what? I mean, connect is done by user/pass@db, and if "@" is used as a separator...
    Try this URL:
    http://lap_top:8888/forms90/f90servlet?form=E:\cis355.fmx&userid=scott/tiger@orcl
    Regards,
    Martin Malmstrom

  • ORA-12560: TNS:protocol adapter error in Oracle Forms...

    Hi, I installed Oracle developer suite to use for Oracle forms but am getting "ORA-12560: TNS:protocol adapter error" when trying to run a form. The database is running locally on my PC.
    I've run the command line to see if hostname matches up with the "HOST= " in the ".../network/admin/listener.ora " file match, they do. What can I try next? I did have Oracle 10gXE installed, which I have now removed. I'm including my tnsnames and listener file content:
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    Thanks in advance for any help!

    Of course you found another one. Each .and every Oracle database client home (such as developer, app server) has one.
    Don't just change the port - the tnsnames.ora in the dev home does not point to a database service. It only points to an extproc [external procedure called by a database]. You need to put a database service entry into that file similar to the one in the database home. (Easiest solution - copy the tnsnames.ora from db home ... after you've made a backup)
    And please don't tell me you are using Developer 6i - a simple Google search would verify that the networking is incompatible.

  • ORA-12560: TNS:protocol adapter error

    Hi!
    Our environment:
    Application server:
    Windows Server 2003, Oracle 9i Client
    Database server:
    Windows Server 2003, Oracle 9i Database
    On our application server we have a batch file that should run a job in the background. The problem is with the connection
    from the app. server to the db server. This error appears when trying to connect via client (regardless which user) to the db server.
    When pinging the db server: tnsping <service> there is no problem. Also no problems with the ports or network. There is no listener
    configured on the app. server.
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora81\network\admin\tnsnames.ora
    P_OMES_W.XXX.XXXXXXXXX.NET =
    (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = db.XXX.XXXXXX.NET)(PORT = 1521))
        (CONNECT_DATA =
          (SID = OMES)
    # SQLNET.ORA Network Configuration File: C:\oracle\ora81\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = xxx.xxxxxxxxxx.net
    #SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    sqlnet.expire_time= 10
    trace_level_client=16
    trace_file_client=cli
    trace_directory_client=c:\temp # Or a known directory
    trace_unique_client=true # Add '_pid' to trace f/n
    trace_timestamp_client=ON # OnlyStrangely enough other batch jobs work.
    Any help greatly appreciated.
    Edited by: user545194 on Sep 12, 2011 1:59 AM

    Hi;
    Please check below note first:
    ORA-12560: Troubleshooting [ID 117976.1]
    Also see our previous topic which is mention same error:
    ORA-12560
    Re: 11.5.10.2/9iR2 to R12/11gR2
    Regard
    Helios

  • ORA-12560 on win server 2008 R2

    I have an oracle DB 11.2 running on win server 2008..
    I can connect to a DB, but when I need to make some changes locally, it's not possible.
    so:
    - the DB and listener are running as a local system account
    - I'm loggin into as a local admin (Administrator/pwd)..
    - ORACLE_SID has been set in Control Panel --> system (for all users)
    - tnsping locally is running OK
    - lsnrctl status LISTENER returns no error
    - sqlnet.ora has been set:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    - there are no remote_listeners
    pls, help :)

    846417 wrote:
    C:\Users\Administrator>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 8 16:21:49 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter errorLet's stick to the 12560.
    Is the OracleService<sid> windows service started?
    If started, make sure ORACLE_SID (that sqlplus looks up via its registry settings, if not overridden by env) is correct:
    C:\Users\Test>set ora
    Environment variable ora not defined
    C:\Users\Test>set oracle_sid=xe1
    C:\Users\Test>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Beta on Fr Apr 8 13:09:52 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    C:\Users\Test>set oracle_sid=xe
    C:\Users\Test>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Beta on Fr Apr 8 13:10:01 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - BetaEdited by: orafad on Apr 8, 2011 1:11 PM
    Edited by: orafad on Apr 8, 2011 5:27 PM

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

Maybe you are looking for