ORA-12537: TNS:connection closed

Hello

Please help me solve this problem: when I try to access my testdb, I get the following error:

[oracle@RedHatU5 admin] $ sqlplus adi/adi@testdb

SQL * more: version 11.1.0.6.0 - Production on Mon Mar 21 13:40:28 2011

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

ERROR:
ORA-12537: TNS:connection closed

Please find below some symptoms:

I created the following files manually in $ORACLe_HOME/network/admin, as below:

#sqlnet.ora #.

NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
+ #SQLNET.expire_time = 0 +.
+ #TCP.validnode_checking = YES +.
TCP.invited_nodes = (x.x.x.x)

#tnsnames.ora #.

brmtest =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (Host = RedHatU5)(Port = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = testdb)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
(CONNECT_DATA =
(SID = TestDB)))


Default listener works correctly:

[oracle@RedHatU5 admin] $ lsnrctl status

LSNRCTL for Linux: Version 11.1.0.6.0 - Production on March 21, 2011 13:26:40

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

Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Beginning of March 21, 2011 12:59:07
Uptime 0 days 0 h 27 min 33 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
The listener log file /Orabrm/app/Oracle/diag/tnslsnr/RedHatU5/listener/alert/log.XML
Summary of endpoints listening...
+ (Description = (Address = (Protocol = TCP)(Host=RedHatU5) (port = 1521))) +.
+ (Description = (Address = (Protocol = IPC) (Key = EXTPROC))) +.
Summary of services...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
"Testdb" service has 2 occurrences.
Instance "testdb", status UNKNOWN, has 1 operation for this service...
Instance "testdb", State LOAN, has 1 operation for this service...
Service 'testdbXDB' has 1 instance (s).
Instance "testdb", State LOAN, has 1 operation for this service...
Service 'testdb_XPT' has 1 instance (s).
Instance "testdb", State LOAN, has 1 operation for this service...
The command completed successfully

[oracle@RedHatU5 admin] $ tnsping testdb

AMT Ping utility for Linux: Version 11.1.0.6.0 - Production on March 21, 2011 13:34:09

Copyright (c) 1997, 2007, Oracle.  All rights reserved.

Use settings files:
+/orabrm/app/Oracle/product/11.1.0/Db_1/network/admin/SQLNET.ora+


TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = RedHatU5)(Port = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = testdb)))
OK (0 msec)

[oracle@RedHatU5 admin] $ sqlplus adi/adi@//RedHatU5:1521/testdb

SQL * more: version 11.1.0.6.0 - Production on Mon Mar 21 13:35:49 2011

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

ERROR:
ORA-12537: TNS:connection closed

SQL > connect adi@testdb
Enter the password:
ERROR:
ORA-12537: TNS:connection closed



WARNING: You are more connected to ORACLE.

Please help me understand what's wrong in my setup

Thank you
Adrian

Published by: user12908554 on March 21, 2011 04:56

Refer to this note

http://forums.Oracle.com/forums/thread.jspa?threadID=1002617

Tags: Database

Similar Questions

  • AMT-12537: TNS:connection closed

    Dear all,

    I need your suggestion on error below. I installed Oracle DB on OEL 6.3. While creating (using netca) and from listener, I am getting error, below

    *[Oracle@test bin] $. / netca *.
    Oracle Net Services Configuration:
    Listening port configuration: OTM63DB
    Configuring the complete listener.
    Starting Oracle Net Listener:
    Listener control running:
    /Data/app/Oracle/product/11.2.0/dbhome_1/bin/lsnrctl start OTM63DB
    Listener complete control.
    Receiver starts has failed.
    Configuring Oracle Net Services successfully. The exit code is 0

    *[Oracle@test bin] $ lsnrctl start OTM63DB *.
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27 April 2013 19:18:06
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    From /data/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: Please wait...
    AMT-12537: TNS:connection closed
    AMT-12560: TNS:protocol adapter error
    AMT-00507: closed connection
    Linux error: 29: illegal seek

    Please help me solve the error below.

    Thank you

    Check your file/etc/hosts and include

    + 127.0.0.1 localhost.localdomain localhost +.

    If missing.

    As much as I KNOW Oracle 11.2.0.1.0 is not certified for OEL 6.3

    Kind regards
    Valerie

  • ORA-12170: TNS: Connect timeout occurred Description: an unhandled exception occurred during the execution of the current web request. P

    Hello

    I deployed a simple asp.net application in a sharepoint wfe Server

    Client 32-bit installed oracle 12

    32-bit Oracle Data Access Components (ODAC)
    with Oracle Developer Tools for Visual Studio

    bit alias 32 and 54 sql set up in all the sharepoit servers to connect to sql server

    SharePoint farm works very well

    ASP.net application to connect to sql server and oracle dbs to get and display the data

    in iis, asp.net application compatible 32-bit and executed under asp.net version 4.0

    When I connect to sql server and a data base of data it displays error below

    ORA-12170: TNS: Connect timeout occurred

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and its origin in the code.

    Exception details: System.Data.OleDb.OleDbException: ORA-12170: TNS: Connect timeout occurred

    Source error:

    Line 4142: Dim da2 as new OleDbDataAdapter (sqlStr2, conStr2)
    Line 4143: Dim ds2 As New DataSet
    Line 4144: da2. Fill (DS2)
    Line 4145:
    4146 line: DropDownList38.DataSource = ds2

    Source file: C:\inetpub\wwwroot\wss\VirtualDirectories\lxxxx\xxx.ascx.vb line: 4144

    Stack trace:

    a common cause of Timeout is a firewall on or between customer & dbserver

    What was the last time it worked without error?

    What has changed since then?

  • ORA-12170: TNS: Connect timeout occurred on the same host as DB

    Hello

    I just installed Oracle on mu Ubuntu 12.4 following the instructions here:

    http://www.Makina-corpus.org/blog/HOWTO-install-Oracle-11g-Ubuntu-Linux-1204-precise-pangolin-64bits

    and here:

    Install Oracle 11 GR 2 on Ubuntu 12.04 of the databases

    However, when I try to log on to the database, I created during installation using sqlplus, it hangs for a minute or two until it-error:

    ORA-12170: TNS: Connect timeout occurred.

    My tnsnames.ora:

    MYSIS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = my_host) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mysids)
    )
    )

    I checked that the listener is running and listening to the post 1521:

    s$ sudo netstat - tulpn | grep 1521

    tcp6 0 0: 1521: * LISTEN 16732/tnslsnr

    $ ps - ef | grep 16732

    Oracle 16732 1 0 06:58?        00:00:00 /opt/oracle/product/11.2.0/dbhome_1/bin/tnslsnr EARPHONE-inherit

    Thoughts?

    Finally managed to do run. The problem was that I have not read rights to tnsnames.ora.

  • ORA-12170 TNS: Connect timeout occurred

    Hi Experts,

    While trying to connect via TOAD, sqldevloper to my database, I get the following error: -.

    ORA-12170 TNS: Connect timeout occurred

    The listener.ora file content: -.

    [oracle@gdlogidb1 admin] $ cat listener.ora

    listener.ora # Network Configuration file: /mnt/PRDdata/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    LOGDEV =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1525))

    (ADDRESS = (PROTOCOL = TCP (PORT = 1525))(HOST = gdlogidb1.tireco.com))

    )

    LOGDEV =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1525))

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.18)(PORT = 1525))

    )

    ADR_BASE_LOGDEV = / mnt/PRDdata/oracle

    The listener status: -.

    [oracle@gdlogidb1 admin] $ lsnrctl status LOGDEV

    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on August 29, 2013 03:13:15

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1525)))

    STATUS of the LISTENER

    ------------------------

    Alias LOGDEV

    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production

    Start date August 29, 2013 03:05:32

    Uptime 0 days 0 h 7 min 43 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /mnt/PRDdata/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /mnt/PRDdata/Oracle/diag/tnslsnr/gdlogidb1/logdev/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1525)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp (PORT = 1525))(HOST=192.168.2.18)))

    Summary of services...

    Service 'logdev.tireco.com' has 1 instance (s).

    "Logdev" instance, State LOAN, has 1 operation for this service...

    Service 'logdevXDB.tireco.com' has 1 instance (s).

    "Logdev" instance, State LOAN, has 1 operation for this service...

    The command completed successfully

    TNSping works fine too.

    [oracle@gdlogidb1 admin] $ tnsping LOGDEV

    AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on August 29, 2013 03:35:14

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

    Use settings files:

    /MNT/PRDdata/Oracle/product/11.2.0/dbhome_1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = gdlogidb1.tireco.com) (PORT = 1525)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = logdev.tireco.com)))

    OK (0 msec)

    I can connect it is, but the problem occurs when I try to connect using TOAD or Sqldevloper.

    [oracle@gdlogidb1 admin] $ sqlplus system@LOGDEV

    SQL * more: Production of liberation 11.2.0.2.0 Thu Aug 29 03:32:15 2013

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

    Enter the password:

    Connected to:

    Oracle Database 11 g Release 11.2.0.2.0 - 64 bit Production

    SQL > user sho

    The USER is 'SYSTEM '.

    Content of the sqlnet.ora: -.

    [oracle@gdlogidb1 admin] $ cat sqlnet.ora

    sqlnet.ora # Network Configuration file: /mnt/PRDdata/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora

    # Generated by Oracle configuration tools.

    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    ADR_BASE = / mnt/PRDdata/oracle

    My Version of operating system is:- 11.2.0.2.0

    Platform: -.

    Gdlogidb1.tireco.com 2.6.39 - 400.109.4.el6uek.x86_64 #1 SMP Linux kill Jul 22 11:44:00 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux

    Hello

    The error was taken neat but thanks for the reply. The quick fix is to disable the firewall.

    First login as a superuser.

    # service iptables save
    # service iptables stop
    # chkconfig iptables off
    e

    Thank you

    Ankur

  • RMAN-04004: recovery catalog database error: ORA-12170: TNS: connect the ti

    Hello:

    Last night ' RMAN backup error: ' RMAN-04004: recovery catalog database error: ORA-12170: TNS: Connect timeout.

    I can sqlplus to the target database and the catalog database. The listener is in place. What is the problem? What should I check?

    Thanks in advance for your help.

    in the oratest/orapass@rmandb1 CATALOG,.

    rmandb1 is the name of the service. normally the name of the service and the name of db are kept same.

    check rmandb1 tnsping where you try to run ' RMAN TARGET / CATALOG oratest/orapass@rmandb1 "command.

    as optput will get the ip address of the server on which db is resident, no port, Protocol

    as

    ---------

    [Oracle@RAC3 ~] $ tnsping orcl

    AMT Ping utility for Linux: Version 10.2.0.5.0 - Production on December 23, 2011 21:12:20

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

    Use settings files:
    /opt/app/Oracle/product/DB/10.2.1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac3.rajesh.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (10 ms)
    -------------------------------

    Here the HOST = rac3.rajesh.com is the present db Server

    Published by: Rajesh.Rathod on December 23, 2011 07:43

  • managing the Oracle ERROR ORA-12170: TNS: Connect timeout occurred

    Hello all dear

    We have a server that is responsible for collecting data from some customers. In each of these devices, we have installed Oracle 11.2 g and that they are connected via DB-link. There is a stored procedure that test the connection before doing this either by running the command (+ select count (*) of dual@db_link1+). In the situations that one of the clients is not accessible, this ORA-12170 error occurred and there will be an end to MS. Now, I want to avoid this and want to sp jump this client and connect to another. I wonder if there is an exception that is raised by this fatal error and we can do it.

    Thank you

    >

    I wonder if there is an exception that is raised by this fatal error and we can do it.

    Thank you

    You know what is the exception: it is 12170. So can you not name and use it in a normal EXCEPTION clause? http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25519/errors.htm#sthref889

  • ORA-12537

    Hi friends,

    I have a 3rd party application that runs on Oracle 10 g DB (Aix 5 L). It worked properly for 1 month now.

    But suddenly today it struck this ORA-12537?

    Which of the following statements is close to this scenario? or do you have other ideas?
    What to do with ORA-12537: TNS: connection closed error
    The ORA-12537 is an information message and means that the connection has been closed. This can be caused by a number of reasons:
    1. Database is shut down (maybe for nightly backup), but connection to database was kept by client.
    2. A time-out occurred on the client-connection.
    3. When firewall closes idle connections.
    3. A configuration problem in sqlnet.ora or listener.ora.
    4. You have a path name that is too long for the Oracle TNS client on windows. (MetaLink Note:263489.1 )
    This issue is due to the connection string being large enough that the connection packet is being split into two packets and then sent to the listener. There are several workarounds for the issue.
    a. Install the exe in a shorter named directory.
    b. Modify the TNS Names entry so that it is shorter.
    c. Replace domain names with IP Addresses if that shortens and vice versa.
    d. Remove any parameters from the entry that are not needed.
    e. Patch the Database Listener to the most recent version.
    5. Oracle security is enables (for example in Oracle Apps). Solution either:
    a) Edit sqlnet.ora file and add your client-ip to tcp.invited_nodes.
    b) Remove secutity by editing sqlnet.ora and comment out parameter tcp.validnode_checking = yes by adding # at the beginning of the line.
    Courtesy of Oradev.Com


    What do you mean by #1 "kept silent"?

    All this will fail on the first day of release, but its been running for 1 month now :(


    Thank you very much

    Ms. K

    Published by: ytterp2009 on June 4, 2010 18:44

    Published by: ytterp2009 on June 4, 2010 18:50 changing 'Dear' to 'friend '.

    There are several reasons that occur this error. One of these processes to achieve (sessions), first check that. So now again once you get this error then connect as sysdba and:

    sqlplus "/as sysdba"
    
    select count(*) from v$session;
    
    show parameter processes;
    
    show parameter sessions;
    

    If reached setting process you increase this setting in the form:

    alter system set processes= scope=spfile;
    

    see below metalink doc.

    ' ERROR ORA-12537: TNS:connection closed "error when deploying an Application of EPMA [1083351.1 ID]

  • Customer Oracle TNS connect timeout problems

    Hi all.

    I tried to connect the free versions of trial and beta to Benchmark Factory by quest software on my laptop to windows 32-bit on my desk running oracle linux.

    With the help of people here, I checked my Oracle database allows incoming connections DB set up server with a routable IP #

    The application that I use on my laptop constantly gives me an error ORA-12170: TNS connect timeout...

    The following steps have been taken during the installation of the client software...

    -------------------------
    1. factory reference download and install
    2 tries to connect to the database on the server machine, but regarldess oracle which has been entered I got a windows error saying not found Oci.dll
    3. I downloaded the zip of Oracle Instant client for 32-bit windows
    4 extract the instant client download files in the bin folder of the reference plant. (this fixes the error not found oci.dll)
    5. When you are using a direct connection, I specified the following details:

    Username: linux system user name
    Password: my password of linux
    Host: 192.168.1.9
    Port: 1521
    SID: orcl
    connect as: sysdba
    connect using: Instant customer (it was the only option in a drop down)
    -------------------------------------------

    When I try to connect I get the AMT connect timeout error.

    Anyone has any ideas what I did wrong or not done?

    Any help would be appreciated

    Matt

    Published by: user9200169 on August 16, 2010 15:53

    Published by: user9200169 on August 16, 2010 16:00

    When everything has failed, read the Fine Documentation

    http://www.Oracle.com/technetwork/database/features/OCI/IC-FAQ-094177.html

    "How can I specify the connection in Instant Client mode strings?
    All methods NET naming Oracle does not require the use of ORACLE_HOME or TNS_ADMIN (to locate the configuration such as tnsnames.ora or sqlnet.ora files) work in Instant Client mode. In particular, the connection string can be specified in the following formats:

    A SQL Connect URL string in the form:

    Host: [port] [service name]

    such as:

    dBase-Server - 5:4321 / ORDERS

    As a pair of keyword / value Oracle Net. For example:

    "(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = dlsun242)
    (PORT = 5521))
    (CONNECT_DATA = (SERVICE_NAME = bjava21))) »

    Naming methods that require TNS_ADMIN locate configuration files continue to work if the value of the TNS_ADMIN environment variable.

    If the TNS_ADMIN environment variable is not defined and TNSNAMES entries for example, inst1, are used, the variable ORACLE_HOME must be set, and the configuration files are supposed to be located in the directory of $ORACLE_HOME/network/admin.

    Please note that the ORACLE_HOME variable in this case is only used to locate the Oracle Net configuration files, and any other component of Client Code Library (OCI, NLS and so forth) don't use the value of ORACLE_HOME.

    The adapter unreserved or empty connection strings are not supported. However, another way to use the empty connection string must affect on UNIX TWO_TASK environment variable, or the LOCAL Windows variable, a tnsnames.ora entry or a pair of keyword / value Oracle Net. If LOCAL or TWO_TASK is set to a tnsnames.ora entry, then the tnsnames.ora file must be loaded by setting ORACLE_HOME or TNS_ADMIN.

    "Modified: 8 April 04 Ref #: ID-4428"

  • DB Link error: ORA-12154: TNS: could not resolve the connect identifier specified

    Hi all

    We need to make an entry in the tnsname.ora file in a local database to connect to the remote database using db link?

    Here is my code: -.

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using '(DESCRIPTION =)

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )';

    After the creation of the DB connection when I'm trying to run select 1 of dual@***_DBLINK

    He throws me an error ORA-12154: TNS: could not resolve the connect identifier specified

    Am I expected to do an entry in the file tnsname.ora for "REM". I don't remember making any changes in the file tnsname.ora for the creation and access of the remote database via dblink.

    Help, please.

    Thanks in advance.

    2925917 wrote:

    Hi all

    We need to make an entry in the tnsname.ora file in a local database to connect to the remote database using db link?

    Here is my code: -.

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using '(DESCRIPTION =)

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )';

    After the creation of the DB connection when I'm trying to run select 1 of dual@***_DBLINK

    He throws me an error ORA-12154: TNS: could not resolve the connect identifier specified

    Am I expected to do an entry in the file tnsname.ora for "REM". I don't remember making any changes in the file tnsname.ora for the creation and access of the remote database via dblink.

    Help, please.

    Thanks in advance.

    I've learned to trust in your obfuscation you covered something important, or you are showing some apples and oranges.  Error to declare you come from not being able to find referenced in tnsnames.ora entry, but the way you say you created your link db, you hardcoded the entire connection, so he never users tnsnames.ora.

    I would change the definition of db_link

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using "REM."

    Then create an entry in your tnsnames.ora

    REM =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )

    )

    Also, use server name instead of the HOST = IP address

    The closer looks that you can miss brackets final closing on your original definition.

  • DB stopped working with ORA-12514: TNS:listener is not currently of service requested in connect descriptor

    Hello

    I installed Oracle 4 months before and work perfectly fine on until now. I could not able to connect to any DB or URL http://127.0.0.1:8080/apex/f? p = 4950

    The connection failed with the below error

    ORA-12514: TNS:listener is not currently of service requested in connect descriptor

    Results of the LSNRCTL STATUS as below

    C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN > LSNRCTL STATUS

    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 3 January 2016 12:43

    : 55

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    TNSLSNR for Windows 64-bit version: Version 11.2.0.2.0 - Prod

    ction

    3 January 2016 start date 12:43:51

    Uptime 0 days 0 h 0 min 4S

    Draw level off

    Security ON: OS Local 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\RAJESHK-PANTAR\lis

    tener\alert\log. XML

    Summary of endpoints listening...

    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = localhost) (IN.

    RT = 1521)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN > LSNRCTL SERVICE

    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 3 January 2016 13:0

    : 08

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    The command completed successfully

    Please help with what deliver you.

    1. control file backup to trace using the "alter database backup controlfile to trace as 'C:\control.bkp ';

    2. turn off your database

    3 startup nomount

    4. create controlfile from the backup created controlfile command. For example. See below (it is extracted from the trace my database controlfile. RESETLOGS option use as in 1st line

    CREATE CONTROLFILE REUSE DATABASE "WIN1DB" RESETLOGS  NOARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 100
        MAXINSTANCES 8
        MAXLOGHISTORY 292
    LOGFILE
      GROUP 1 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO01.LOG'  SIZE 50M BLOCKSIZE 512,
      GROUP 2 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO02.LOG'  SIZE 50M BLOCKSIZE 512,
      GROUP 3 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO03.LOG'  SIZE 50M BLOCKSIZE 512
    -- STANDBY LOGFILE
    DATAFILE
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\SYSTEM01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\SYSAUX01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\UNDOTBS01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\USERS01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\EXAMPLE01.DBF'
    CHARACTER SET WE8MSWIN1252
    ;
    

    5 mount the database 'edit the editing of the database'

    6 open the database using newspapers to reset "alter database open resetlogs.

    Thank you!

  • ORA-12518: TNS:listener could not hand off client connection

    Hello

    I'm getting "ORA-12518: TNS:listener could not hand off client connection" error trying to connect to the "PDB". Here are the details of my env and I do:

    Windows 7

    My PC to install Oracle 11 g 2 Client (that's how I got this PC). And I already 11 GR 2 installed Oracle software and a local database that is named "ORCL" (whichdesignates currently the stop).

    Yesterday, I installed Oracle 12 c (12.1.0) and created ORCL12C (CBD) and a PDBORCL (PDB). I connected to the PDBORCL as SYS and created user 'SCOTT '.

    I am able to connect to ORCL12C (PEH) without any problem (SQL * more and TOAD). I can go to PDBORCL (alter session set container = pdborcl) without problem. But I get the error above (ora-12518 am) when I try to connect to the user 'SCOTT' created in 'PDBORCL' using SQL * more or TOAD. I want to connect to the user SCOTT and create objects in schema SCOTT, etc.. I get the same error, even if I try to connect to the PDB as user SYS (alter session command works fine).

    I am new to 12 C. So it is quite possible that I'm doing something fundamentally wrong.

    C:\app\oracle\product\12.1.0\dbhome_1\BIN>sqlplus sys as sysdba
    SQL*Plus: Release 12.1.0.2.0 Production on Thu Nov 12 12:06:37 2015
    Copyright (c) 1982, 2014, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
    
    SQL> show con_name
    CON_NAME
    ------------------------------
    CDB$ROOT
    
    SQL> select con_id,dbid,NAME,OPEN_MODE from v$pdbs;
        CON_ID       DBID NAME                           OPEN_MODE
    ---------- ---------- ------------------------------ ----------
             2  250475996 PDB$SEED                       READ ONLY
             3   94279121 PDBORCL                        READ WRITE
    SQL>  select service_id,name,pdb from v$services;
    
    
    SERVICE_ID NAME                                                             PDB
    ---------- ---------------------------------------------------------------- --------------
             6 pdborcl                                                          PDBORCL
             5 orcl12cXDB                                                       CDB$ROOT
             6 orcl12c                                                          CDB$ROOT
             1 SYS$BACKGROUND                                                   CDB$ROOT
             2 SYS$USERS                                                        CDB$ROOT
    
    
    SQL>
    
    
    
    SQL> select substr(username, 0, 15) username, user_id, account_status from dba_users where username = 'SCOTT';
    
    
    USERNAME                                                        USER_ID ACCOUNT_STATUS
    ------------------------------------------------------------ ---------- --------------------------------
    SCOTT                                                               103 OPEN
    
    
    SQL>
    
    
    
    
    
    

    Hello

    I think you are the problem of configuring the following listener results:

    >

    1. (SID_DESC =
    2. (GLOBAL_DBNAME = PDBORCL)
    3. (SID_NAME = PDBORCL)
    4. (ORACLE_HOME = u01/app/oracle/product/12.1.0/dbhome_1)
    5. )
    6. )

    >

    as you can see, you have defined an entry static listener for SID PDBORCL. If I read your message correctly, you are CDB Instance SID is ORCL12C and you're PDB is PDBORCL.

    So, in my opinion, as part of the configuration is the problem. PDB is saved as a dynamic Service to the Instance that you added

    an entry static listener for a non-existent Instance. And so you're static listener overlaying the APB Service dynamic PDBORCL configuration.

    and that is why it does not work.

    Look at the output of a registerd APB to a listener success:

    lsnrctl status

    ...

    Summary of services...

    Service '+ ASM' a 1 instance (s).

    Instance '+ ASM' READY State, has 1 operation for this service...

    Service 'ORCL12C' has 2 occurrences.

    Instance of 'ORCL12C', status UNKNOWN, has 1 operation for this service...

    'ORCL12C' instance, State LOAN, has 1 operation for this service...

    Service 'PDBORCL' has 1 instance (s).

    'ORCL12C' instance, State LOAN, has 1 operation for this service...

    The command completed successfully

    ..

    Concerning

    Timo

  • sqlplus ORA-12154: TNS: could not resolve the connect identifier specified

    Hello

    I am not able to connect to the database using sqlplus, using following command:

    sqlplus activites@OCA010

    I get the error message "ORA-12154: TNS: could not resolve the connect identifier specified.

    I tried to connect by providing the full as connection string: "" sqlplus activities / [email protected]:1521 / compix "and he succeeded."

    I also tried to connect using sql developer by providing network TNS alias 'OCA010' it is also successful.

    Someone could please help out here and let me know how can I connect using sqlplus using aliases TNS network.

    content of the tnsnames.ora file is as follows

    tnsnames.ora # Network Configuration file: D:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora

    # Generated by Oracle configuration tools.

    COMPIX =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = compix)

    )

    )

    BC =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = BC)

    )

    )

    ORACLR_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (CONNECT_DATA =

    (SID = CLRExtProc)

    (PRESENTATION = RO)

    )

    )

    OCA01 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = OCA01)

    )

    )

    OCA010 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.10.3)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = compix)

    )

    )

    Thanks in advance.

    2931143 wrote:

    Hi EdStevens,

    I used option TNS with Alias network as 'OCA010' in Sql Developer.

    I checked in tnsping and tnsnames.ora directory is correct.

    Please find below the exit of tnsping:

    C:\Users\LUCKY>tnsping OCA010

    AMT Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on October 29, 2015 21:07:38

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

    Use settings files:

    D:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora

    AMT-03505: failed to resolve the name

    Have you worked from the link I provided?  (I don't think you have time to do).

    It is possible that your tnsnames.ora is corrupted by some weird characters printable somewhere.  In some versions of the oracle, he might be sensitive to spaces vs. tabs.  If in doubt, netca to add entries, rather than doing it by hand.

  • ORA-12505, TNS: Listener does not currently of SID in the connection descriptor (code: 2 011)

    I get this error when you try to create a data store for Oracle database of the Disqualification.

    ORA-12505, TNS: Listener does not currently of SID in the connection descriptor (code: 2 011)

    I am able to connect to this database by using the same credentials through SQL, but the Disqualification, I'm not. Do I need to do anything in linux server before the implementation of Oracle data warehouses?

    Thank you

    Ravi

    There are a number of ways.

    1 use a JNDI connection configured in WebLogic and select by name

    2. use the LDAP connection or TNS - see http://docs.oracle.com/middleware/1213/edq/DQEXT/config_dbase.htm#DQEXT202

    3. Add an oracle.xml file in [local disqualification home] / dbconnectors with the following content. This will allow you to select the service name in the standard Oracle data store wizard:

    Class = "com.datanomic.utils.databasespecies.species.Oracle"

    MaxNameLength = "30" invalidnamechars ="" ' >

    {JDBC:Oracle:Thin:@${service = "srv"? /': "} ${host}: ${port} {service ="srv"? '/' : ':'}${sid}

    Oracle

    {JDBC:Oracle:Thin:@${service = "srv"? /': "} ${host}: ${port} {service ="srv"? '/' : ':'}${sid}

    ${superior (schema = "? user: schema)}

    dbproductname ~ = '(?i) oracle'

    name ~ = ' $BIN\\ [A-Za-z0-9 + /] {22, 24} ==------$\\p {digit} +'

    user = ${user}

    password = ${password}

    FetchSize = 100

    BatchSize = ${export.batchsize}

    void = TRUNCATE TABLE %s

    ALTER SESSION SET CURRENT_SCHEMA = ${schema}

    1521

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

    Hello

    I installed Oracle 11 g server in Windows 2008 and also installed customer DB 64 & 32 on the same server client.

    When I try to test the Oracle DB connection using the UDL file, I get the error message below. Please could you help me solve this problem.

    -Microsoft Data Link Error.

    Test connection failed because of an error initializing provider.

    [DBNETLIB] [ConnectionOpen(connect()) (Connect()).]

    SQL Server is not, or access is denied.

    --------------------------- OK  ---------------------------

    I have connected to SQL using sysdba and tried to connect to the schema. It is not connection and throwing below error.

    "ORA-12154: TNS: could not resolve the connect identifier specified.

    I checked the TNSNAMES.ora file. Everything seems fine.

    Thank you

    Michel K

    Hello

    I see just a glance on the tnsnames file you are missing at least one sign =...

    You have

    ORCL

    (DESC...

    You should have

    ORCL =

    (DESC...

    There may be other issues too, but give that a try at first - you better run netmgr to allow oracle to create the file for you.

    See you soon,.

    Rich

Maybe you are looking for

  • Digital reading Pulse with PCIe 6509

    Hi all I'm trying to decode an infrared control using the PCIe 6509, but I've no chance that a signal from a remote control. It seems that when I use the VI of change detection, it does not generate the interrupt, but it cannot produce enough it fast

  • a solenoid valve control

    Hello everyone. I need to design a system where it is supposed to control two solenoid valves (for gas of 5 l/min flow), a thermocouple and a moisture sensor. I have a few questions with respect to the foregoing: 1. what valves would be ideal to achi

  • Is Windows 3.1, being transmitted, shared legal on (like diskettes for installation images and etc..).

    I would like to make a video tutorial on how to install a retro OS, Windows 3.1 (Workgroups edition).on Virtual PC 2007. I have the floppy images (.img) and is it legal to share these images withothers? (free of course)

  • AGEIA Technologie\v2.70

    Can this fatal mistake by AGEIA Technologies really ruin things so bad? IE not allowing access to the Internet? And it can damage or disorder with firewall settings? And what other problems may Corsica?

  • my antivirus does not

    Hi I had used avg antivirus on my pc but it blocks we look out, I try to reinstall and get an error saying I have checked my privilege to change. How do I do that? What should I do to get it working?