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

Tags: Database

Similar Questions

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

  • 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

  • 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

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

  • 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

  • Stop the connection timeouts occur - want the page wait

    I run several tab that monitor various tools. These pages will refresh. Pages must wait each other finish before you can start.

    In version 28 it was beautiful. The page just wait indefinitely and kicked in a previous page after doing its thing.

    Now in version 29 he comes back with a message "connection timed out" after a few minutes.

    I adjusted

    Network.http.connection - timeout
    Network.http.pipelining.Read - timeout

    for values but the problem still occurs. Any thoughts on how I can find the FF28 behavior?

    Try setting the http.response.timeout parameter. In the version 28, it had not been established. Version 29, it is located at 300 (5 minutes). Should help to move on to something much larger.

    See this blog entry:

    http://morgb.blogspot.com/2014/05/Firefox-29-and-HTTP-response-timeout.html

  • ORA-12170 and TNS-12535

    Hello world

    My servers are in a separate location and we have access to our databases of my office.

    The developers say that they could not access a particular db of their machine.

    The errors they receive when they try to connect using a tool is:
    TNS-12535 TNS:operation timed out
    When I ask them to TNSPing or when accessing from Sql Plus(instant client), this is the mistake they receive:
    ORA-12170: TNS:Connect timeout occurred
    One of the developers using Oracle XE and it is too face the same scenario.

    So, where should I trace this problem.

    We have all been able to ping to the machine where the Oracle.

    Please advice.

    Thanks in advance.

    user645399 wrote:
    Virginia,

    Thanks for your reply.

    Is there a way to check via Oracle if the firewall blocks?

    Check the file sqlnet.log for more information.

    What is your OS?, if windows check in the control panel---> windows firewall

    If unix post the product.

  • timeout occurred

    I received a complaint from a user saying that they are getting a 'connection timeout occurred. I Googled, all responses are addresses when the problem is in your machine. Unfortunately, I don't have any other information about the error.
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    "CORE     10.2.0.5.0     Production"
    TNS for HPUX: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production

    For connection timeout errors, check your network first, also check the entries of Oracle network configuration that requires the time-out.

    Published by: Mahesh Menon on August 23, 2011 18:25

  • ORA - 12170 - Connection Timeout

    Hello

    Problem - I am using TOAD on my computer to connect to my database, but gives the error "Ora-12170, Connection Timeout".

    Explanation - I installed Oracle InstantClient 10.2 on the local computer and using this default home home to connect to the target instance.
    Here, the thing is, I can't able to PING to the UNIX machine but cannot able to establish the database connection.
    Made the WAY system LNS_LANG variables...
    Created TNSNAME. ORA in instantClient with appropriate entries.



    Any help is like the wind of heaven... stuck here for a long time...
    Thank you and best regards,
    Madhav

    Published by: user13155845 on May 31, 2010 02:48

    oracle client is not installed on your local computer?

    Try this

    Telnet ip_address 1521

    for example

    Telnet 10.200.19.18 1521

  • ORA 12170: Connection timeout error: need help

    Hello

    The scenario is this: I have Oracle 11 g R2 installed on a server to Windows Server 2008 (32-bit). The database SID is "PGM". I am access (or want to access remotely to) the Oracle database in Visual Studio 2008 (customer environment) development environment running on a Windows XP (SP3) platform. I have already installed the package of the ODAC (ver. 11.2.0.2.1) for the Visual Studio environment.

    I created a sample Windows Forms application that uses the Oracle data access components. The example of HR schema in the Oracle database is already unlocked. This is the pattern that I use in the application.

    The issue that I am facing is that when I add the data connection in the Visual Studio environment. Feature "Test connection" returns the following error: ORA-12170 ... Connection has expired.

    I checked the TNSNAMES file. File of the ORA and everything is as listed in the Oracle documentation. It's as follows:

    PGM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.0.161)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = EGP)
    )
    )

    Please ask the community to help me overcome the error and making a link successfully. We have a system administrator, but not a database administrator. Oracle installation was made by me.

    Thank you
    Renj
    ----------

    Try adding a PGE in the SID_LIST_LISTENER of the listener.ora file and that you can do using the Net Manager and its operation is explained here

    http://download.Oracle.com/docs/CD/B10500_01/network.920/a96580/admintoo.htm

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

    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 17001] Oracle error code: 12154, message: ORA-12154: TNS: could not resolve the connect identifier specified in the call to the OIC OCIServerAttach. [nQSError: 17014] Cannot connect to the Oracle database. (HY000)


    (1) I have TNS entries under MW_HOME/OracleBI/network/admin
    (2) TNSPING works fine.
    (3) source updated JDBC in place on the side WLS...


    What should I do?

    Show complete exception stack trace. This does not seem to relate to WebLogic. The WebLogic console
    view running data source? In fact you use WebLogic DataSource?

  • 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

Maybe you are looking for

  • How long FF3.6 is going to be safe?

    I tried FF4 but he hated and do not use it. TOO many problems. I'LL move on to something else, if you finish for FF3.6. BLAH, what I've read that I'm not the only one.

  • Data transfer from Mac to Mac

    Hello, I just bought a new Mac desk top and I'm trying to move the contents of my old Macbook using the Migration Wizard and the use of the capsule.  He says that 55 remaining hours ago! So my question is, connecting two computers via Thunderbolt wou

  • Where can I get it on my other device?

    I have the verification code. Where can I get it on my other device?.

  • Unable to use printer

    Hello I just got a printer PIXMA3220 from a friend, without any installation (power and USB cables) CD. Since my computer doesn't have Bluetooth, I plugged in by USB but my computer was able to identify her. Then I went on this website to download th

  • I have a legitimate copy of XP Professional I get the error message: 0 x 80240036 via MS Updates

    I had to replace my motherboard and the company who did the job placed a copy pirated XP Professional on my computer.  I did a clean install and my XP install Explorer 6.  I can not install McAfee with Explorer 6 so I went to MS Updates to update my