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

Hello

I get this error:
TNS-12518: TNS:listener could not hand off client connection
AMT-12547: TNS: lost contact
AMT-12560: TNS:protocol adapter error
AMT-00517: lost contact
Solaris error: 32: Broken pipe

My processes are 150 limit and current are 39 so no problem with the process
is that enough I have 4 GB of free memory
dispachers I 5 I think are good enough

so, where we the problem?

Thank you very much

Can you please confirm if your DB is currently running? If Yes, then try alter system set local_listener ='(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=klndw01) (PORT = 1523)))
' and try to connect again.

Kind regards
Julien

Tags: Database

Similar Questions

  • 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

  • ORA-12518: TNS:listener could not hand off client connection (DBD ERROR: OCIServerAttach)

    Hi again,

    I'm on my business management console and the database Instance and the headset shows the green arrow, but the connection of the Agent of the Forum shows a red arrow down and the error:

    Status: failed

    Details: ORA-12518: TNS:listener could not hand off client connection (DBD ERROR: OCIServerAttach)

    My OraClrAgnt service is up and running (using winxp pro, oracle 11 g 2), I'm on my pc at home, all my ports are open (name of my machine's "abigail" and it's dmzhost)

    Any suggestions to solve this error?

    My Tnsnames ora file:

    ABIGAIL =

    (DESCRIPTION =

    (ADDRESS_LIST =

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

    )

    (CONNECT_DATA =

    (SERVICE_NAME = orcl.0.0.10)

    )

    )

    LISTENER_ORCL =

    (DESCRIPTION =

    (ADDRESS_LIST =

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

    )

    (CONNECT_DATA =

    (SID = ORCL)

    )

    )

    RMAN =

    (DESCRIPTION =

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

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = rman.abigail)

    )

    )

    My listener.ora

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = E:\app\abigail\product\11.2.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\abigail\product\11.2.0\dbhome_1\bin\oraclr11.dll")

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

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

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

    )

    )

    ADR_BASE_LISTENER = E:\app\abigail

    My SQLNET. ORA

    SQLNET. AUTHENTICATION_SERVICES = (NTS)

    NAMES. DIRECTORY_PATH = (EZCONNECT, TNSNAMES, LOCALHOST)

    NAMES. TRACE_LEVEL = ADMIN

    My alert file

    < time msg = "2013-10 - T 10, 20: 47:02.687 - 04:00 ' org_id = 'oracle' id_comp = 'tnslsnr'"

    type = 'UNKNOWN' level = '16' = host_id "ABIGAIL."

    host_addr =': 1' >

    < txt > 10 October 2013 20:47:01 * (CONNECT_DATA = (CID = (PROGRAM =)(HOST=__jdbc__) (USER = SYSTEM)) (SERVICE_NAME = orcl.0.0.10)) * (ADDRESS = (PROTOCOL = tcp (PORT = 38289))(HOST=127.0.0.1)) * establish * orcl.0.0.10 * 12518

    < / txt >

    < / msg >

    < time msg = "2013-10 - T 10, 20: 47:02.687 - 04:00 ' org_id = 'oracle' id_comp = 'tnslsnr'"

    type = 'UNKNOWN' level = '16' = host_id "ABIGAIL."

    host_addr =': 1' >

    < txt > TNS-12518: TNS:listener could not hand off client connection

    AMT-12560: TNS:protocol adapter error

    < / txt >

    < / msg >

    My listener status and services

    LSNRCTL > status

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

    STATUS of the LISTENER

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

    Alias LISTENER

    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Prod

    ction

    Start date October 10, 2013 22:47:58

    Uptime 0 days 0 h 2 min 1 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener parameter File E:\app\abigail\product\11.2.0\dbhome_1\network\admin\l

    istener.ora

    E:\app\abigail\diag\tnslsnr\ABIGAIL\listener\ale log listener

    rt\log. XML

    Summary of endpoints listening...

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

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=ABIGAIL) (PORT = 1521)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

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

    Service 'orcl.0.0.10' has 1 instance (s).

    Instance "orcl", State LOAN, has 8 managers of this service...

    The command completed successfully

    LSNRCTL > services

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

    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 'orcl.0.0.10' has 1 instance (s).

    Instance "orcl", State LOAN, has 8 managers of this service...

    Managers:

    "D006" put in place: 0 denied: current: 0 0 max: 800 status: loan

    DISPATCHER < machine: ABIGAIL, pid: 1312 >

    (ADDRESS = (PROTOCOL =)(HOST=ABIGAIL) (PORT = 1060) CST)

    "D005" put in place: 0 denied: 12 current: 0 max: 800 status: ready

    DISPATCHER < machine: ABIGAIL, pid: 1288 >

    (ADDRESS = (PROTOCOL =)(HOST=ABIGAIL) (PORT = 1061) CST)

    "D004" put in place: 0 denied: 1 current: 1 max: 16383 State: loan

    DISPATCHER < machine: ABIGAIL, pid: 1260 >

    (ADDRESS = (PROTOCOL = tcp)(HOST=ABIGAIL) (PORT = 1063))

    "D003" put in place: 0 denied: 1 current: 1 max: 16383 State: loan

    DISPATCHER < machine: ABIGAIL, pid: 1140 >

    (ADDRESS = (PROTOCOL = tcp (PORT = 1062))(HOST=ABIGAIL))

    "D002" put in place: 0 denied: 1 current: 1 max: 16383 State: loan

    DISPATCHER < machine: ABIGAIL, pid: 140 >

    (ADDRESS = (PROTOCOL = tcp (PORT = 1059))(HOST=ABIGAIL))

    "D001" put in place: 0 denied: 1 current: 1 max: 16383 State: loan

    DISPATCHER < machine: ABIGAIL, pid: 1072 >

    (ADDRESS = (PROTOCOL = tcp (PORT = 1057))(HOST=ABIGAIL))

    "D000" put in place: 0 denied: 1 current: 1 max: 16383 State: loan

    DISPATCHER < machine: ABIGAIL, pid: 748 >

    (ADDRESS = (PROTOCOL = tcp (PORT = 1058))(HOST=ABIGAIL))

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    The command completed successfully

    I added this on my listener.ora

    DIRECT_HANDOFF_TTC_LISTENER = OFF

    Now it works!

    Moral of the story, google is your friend lol. Thanks for replying tho!

  • ORA-12505: TNS: listener could not resolve SID in connection descript

    Hello!

    I have a teacher of XP SP2 on my computer. I installed Oracle XE, ODP as a customer. I clould connect to my db. Then I put the proxy data. Next day, when I started my computer, I clould not connet to db. I got an error: ORA-12505: TNS: listener could not resolve SID in connection descript.
    I change all *.ora files, but I checked and I found nothing. I started the lsnrctl and there was no xe services. I couldn't connect to the db with the Oracle SQLDeveloper. I have disabled the connection to the local network (without rebooting), then I clould connect to the db. Then I enabled the LAN connection and everything was OK. So, when I restart my computer I have to turn off the connection to the local network, and then connect to the db and activate the connection to the local network.

    What clould be the problem?

    Thank you.

    Hi Pavan

    Orace XE use CLRExtProc in the default listener.

    for example:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP) (HOST = APPLIED - NB.datacom.co.nz)(PORT = 1521))
    )
    )

    DEFAULT_SERVICE_LISTENER = (XE)

    See you soon,.

    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • ORA-12514: TNS:listener could not resolve service_name

    trying to duplicate db on a remote server, the message, I was wondering how I can make work PMCO is on the remote server, if I add this in listener.ora it says no db name race

    Oracle: tulpcorpadb03$ rman TARGET sys/***@wcmp AUXILIARY.

    Release of Recovery Manager: 9.2.0.8.0 - 64 bit Production

    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04005: target database error:
    ORA-12514: TNS:listener could not resolve service_name in connect descriptor
    Oracle: tulpcorpadb03$ tnsping PMCO

    AMT Ping Utility for IBM/AIX RISC System/6000: Version 9.2.0.8.0 - Production on November 5, 2009 11:21:44

    Copyright (c) 1997, 2006, Oracle Corporation. All rights reserved.

    Use settings files:


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = PWR_DB01-HA)(PORT = 1522)
    () (CONNECT_DATA = (SERVICE_NAME = PMCO)))
    OK (10 ms)
    Oracle: tulpcorpadb03$ sqlplus "sys/***@wcmp as sysdba;
    >
    Oracle: tulpcorpadb03$ sqlplus "sys/***@wcmp as sysdba;

    SQL * more: version 9.2.0.8.0 - Production game 5 11:23:06 Nov 2009

    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

    ERROR:
    ORA-12514: TNS:listener could not resolve service_name in connect
    descriptor of

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=tulpcorpadb03) (PORT = 1521)))
    Summary of services...
    Service "PMCO" has 1 instance (s).
    Instance "PMCO", LOCKED status, has 1 operation for this service...

    BLOCKED is a problem & needs to be solved.

    local & remote control are meaningless from my point of view terms

    using specific host names avoids confusion

    Why 1 system uses use of 1522 & one other port 1521?

  • ORA-12523: TNS:listener could not find instance

    Hello
    The instance is up. but the client user cannot connect to the db. Keep receving:

    ERROR:
    ORA-12523: TNS:listener not found appropriate for the customer Forum
    connection

    Date of arrival:
    the instance is up.

    then,

    $lsnrctl services

    Service 'instancenamexxx' has 1 instance (s).
    "Instancenamexxx", the BLOCKED status, has 1 operation for this service...
    Managers:
    "DEDICATED" set up: 0 denied: 0 status: ready
    LOCAL SERVER


    so found blocked,

    any idea to fix?

    Kind regards

    jerrygreat wrote:
    If I take the listener, this will impact other databases.

    The existing connections in the database will not cut. Only it will not be created new connections.

    Try tnsping alias

    to test the connection.

    SS

  • ORA-12516 TNS:listener could not find Manager available with matching proto

    Hi all

    I'm using Oracle Database 11 g Release 11.1.0.6.0 in windows 7. An application is run in another system in the Apache tomcat 6.0 application server connection to the database.
    After using the application for a period of time, the application cannot access the lance database error ORA-12516.
    After checking in previous messages in Oracle forms, discovered that we need to increase the number of process... so I ran the stmt alter 'alter system definition process = 150 scope = spfile;'.

    After restarting the database, I have observed in the session of $ v there is a 1234 permanently running process and increasing. After reaching no process 150, again do the same error ORA-12516.

    Any reason, why the username the process 1234 SYSMAN process is constantly increased in Oracle 11 g installed in windows 7.
    However I have no problem in Oracle 11 g installed in Windows XP.

    >
    I'm using Oracle Database 11 g Release 11.1.0.6.0 in windows 7.
    >
    Where do you have a download for 11g for windows 7?

    It's the official page of the Oracle
    http://www.Oracle.com/technetwork/database/Enterprise-Edition/downloads/index.html

    Are you sure that the version is supported? None of the installation guides mentions Windows 7 as being supported.

    The 32-bit installation guide lists this OS support
    http://docs.Oracle.com/CD/B28359_01/install.111/b32301/TOC.htm#BGBEEBAD
    >
    Oracle for Windows 32-bit database is supported on the following operating systems:

    Windows 2000 with Service Pack 1 or later. All editions, including the Services Terminal Server and Microsoft Windows 2000 Multilingual Edition (MLE), are supported.

    Windows Server 2003 - all editions

    Windows Server 2003 R2 - all editions

    Windows XP Professional

    Windows Vista - Business, Enterprise, and Ultimate editions

    Windows NT is not supported.

    Windows Multilingual User Interface Pack is supported on Windows Server 2003, Windows Server 2003 R2, Windows XP Professional and Windows Vista.
    >
    And the 64-bit installation guide lists these
    http://docs.Oracle.com/CD/B28359_01/install.111/B32305/TOC.htm#BGBEEBAD
    >
    Database Oracle for Windows x 64 is supported on the following operating systems:

    Windows Server 2003 - x 64 all editions

    Windows Server 2003 R2 - x 64 all editions

    Windows XP Professional x 64

    Windows Vista x 64-Business, Enterprise, and Ultimate editions

    Windows Multilingual User Interface Pack is supported on Windows Server 2003, Windows Server 2003 R2, Windows XP Professional and Windows Vista.

  • 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-12505, TNS:listener is not currently of SID given in connect the

    Hi, I have a problem connecting to the repository working ODI...

    The master repository and repository of work are installed in the Oracle 11g company Manager...

    From my PC, I can connect to the master repository and I can see the repository to work, but when I try to connect I get this message:

    oracle.odi.core.config.WorkRepositoryResourceFailureException: ODI-10182: categorizar sin Excepcion durante el acceso al repositorio.
    Could not make JDBC connection; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:195)
    at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:504)
    to oracle.odi.core.OdiInstance. < init > (OdiInstance.java:581)
    at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:521)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.testConnection(SnpsDialogLoginDetail.java:755)
    to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access$ 4 (SnpsDialogLoginDetail.java:743)
    to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail$ 2.performAction(SnpsDialogLoginDetail.java:287)
    at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    in java.awt.Dialog$ 1.run(Dialog.java:1044)
    in java.awt.Dialog$ 3.run(Dialog.java:1096)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show(Dialog.java:1094)
    at java.awt.Component.show(Component.java:1591)
    at java.awt.Component.setVisible(Component.java:1543)
    at java.awt.Window.setVisible(Window.java:843)
    at java.awt.Dialog.setVisible(Dialog.java:984)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
    at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
    at oracle.odi.ui.LoginFactory.modifyLogin(LoginFactory.java:334)
    to com.sunopsis.graphical.dialog.SnpsDialogLogin$ 3.performAction(SnpsDialogLogin.java:185)
    at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    in java.awt.Dialog$ 1.run(Dialog.java:1044)
    in java.awt.Dialog$ 3.run(Dialog.java:1096)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show(Dialog.java:1094)
    at java.awt.Component.show(Component.java:1591)
    at java.awt.Component.setVisible(Component.java:1543)
    at java.awt.Window.setVisible(Window.java:843)
    at java.awt.Dialog.setVisible(Dialog.java:984)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
    at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
    at oracle.odi.ui.OdiConnectController.handleEvent(OdiConnectController.java:113)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
    at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
    at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
    in javax.swing.plaf.basic.BasicMenuItemUI$ Handler.mouseReleased (BasicMenuItemUI.java:850)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: could not make connection JDBC; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
    to oracle.odi.core.repository.support.RepositoryUtils$ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java:182)
    at oracle.odi.core.repository.support.RepositoryUtils.loadWorkRepositoryInfo(RepositoryUtils.java:382)
    at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:174)
    ... more than 144
    Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
    ... more than 154
    Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:488)
    at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.java:163)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:943)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:873)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:863)
    at sun.reflect.GeneratedMethodAccessor95.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    to oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator$ DataSourceInvocationHandler.invoke (RuntimeClassLoaderDataSourceCreator.java:48)
    to $Proxy0.getConnection (Unknown Source)
    to oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java:217)
    to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:439)
    to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(DriverConnectionFactoryAdapter.java:122)
    to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java:1610)
    to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.access$ 600 (UniversalConnectionPoolImpl.java:1446)
    at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:514)
    at oracle.ucp.jdbc.oracle.OracleJDBCConnectionPool.createOnePooledConnection(OracleJDBCConnectionPool.java:129)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:297)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
    at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPool.java:157)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:931)
    ... 14 more

    Please, if someone could give me a tip. Thank you!!!

    Looks like a problem with the tnsnames file / wrong sid. try using tnsping > that you will be in your tnsnames.ora.

  • in error place vCloud Director TNS:listener is not currently of service requested in connect

    I thought I would start my own thread on this...

    I have trashed my original oracle installation - and did it again. But have the same problem...

    I installed oracle just accept all the default values. So, things like the name of the oracle is orcl and so on...

    I also followed to the letter the instructions in the installation and here - guide http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1025768 which are substantially the same.

    Here's what I entered the configuration of configuration vCloud Director:

    Enter the host (or IP address) to the database: orcl10g.corp.com

    Enter the port of database :

    Using the default "1521" for the port.

    Enter the name of the service of database :

    Using the default "orcl" database service name.

    Enter the database user name: vclouduser

    Enter the database password:

    Connection to the database: jdbc:oracle:thin:@orcl10g.corp.com:1521/orcl

    And that's what pays my log file...

    VMware Cloud Director 1.0.0.285979 Greenwich Mean Time

    2010-09-21 21:08:53, 891 | DEBUG | main                      | ConfigAgent | VCLOUD_HOME is/opt/vmware/cloud-director |

    2010-09-21 21:08:53, 893 | DEBUG | main                      | ConfigAgent | SQL files will be read from/opt/vmware/cloud-director/db |

    2010-09-21 21:08:53, 893 | DEBUG | main                      | ConfigAgent | Using the default properties file. |

    2010-09-21 21:08:53, 893 | DEBUG | main                      | ConfigAgent | Properties file is /opt/vmware/cloud-director/etc/global.properties.

    2010-09-21 21:08:53, 893 | INFO | main                      | ConfigAgent | Reading the replies of the file: /opt/vmware/cloud-director/etc/responses.properties.

    2010-09-21 21:08:53, 894 | INFO | main                      | ConfigAgent | Playback of the file configuration: /opt/vmware/cloud-director/etc/global.properties |

    2010-09-21 21:08:53, 895 | INFO | main                      | ConfigAgent | Version of the system = 2 |

    2010-09-21 21:08:54, 880 | DEBUG | main                      | EncryptionManager | EncryptionManager configured with the system key. |

    2010-09-21 21:08:54, 882. DEBUG | main                      | EncryptionManager | EncryptionManager has been loaded successfully. |

    2010-09-21 21:10:25, 203 | DEBUG | main                      | PooledConnection | Unable to connect to the database. |

    java.sql.SQLException: listener refused the connection with the following error:

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

    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:412)

    to oracle.jdbc.driver.PhysicalConnection. (Oracle.java:41)

    at com.vmware.vcloud.configure.Db.getInstance(Db.java:167)

    at com.vmware.vcloud.configure.ConfigAgent.getDb(ConfigAgent.java:1771)

    at com.vmware.vcloud.configure.ConfigAgent.configureDatabaseCredentials(ConfigAgent.java:1723)

    at com.vmware.vcloud.configure.ConfigAgent.configureDatabase(ConfigAgent.java:1663)

    at com.vmware.vcloud.configure.ConfigAgent.start(ConfigAgent.java:425)

    at com.vmware.vcloud.configure.ConfigAgent.main(ConfigAgent.java:320)

    Caused by: oracle.net.ns.NetException: listener refused the connection with the following error:

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

    at oracle.net.ns.NSProtocol.connect(NSProtocol.java:385)

    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)

    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)

    ... more than 20

    2010-09-21 21:10:25, 205 | DEBUG | main                      | ConnectionPool. Cannot create a new JDBC connection. |

    java.sql.SQLException: listener refused the connection with the following error:

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

    I would be very grateful if someone could help me with that. I tried to install the product for 3 days and do not get very far...



    Concerning

    Mike Landry

    RTFM education

    http://www.RTFM-ed.co.UK

    Author of the book of MRS: http://www.RTFM-ed.co.UK/2010/03/22/new-administrating-VMware-site-recovery-Manager-4-0/

    Free PDF or printed at price

    http://communities.vmware.com/servlet/JiveServlet/download/1200101-20223/vExpert_logo_100x57.jpg

    Thanks Mike, happy that I was able to help.

  • ORA-12514, TNS:listener is not currently of service request

    Forgive my potential stupid question... I'm trying to connect to oracle via sqldeveloper on oel5u6
    When I use SID connection works, but when I use the name of the Service (the windows of useon an i) it gives the error below why?
    Status: Failed - Test has failed: listener refused the connection with the following error: ORA-12514. TNS:listener is not currently of service requested in connect descriptor.

    We use SIDS on the boxes of linux and name service on windows boxes? enjoy the lights. TQ

    SqlDeveloper 3.0.04 OEL5u6
    Oracle 11 g 2 OEL5u6
    jdkpath=/usr/java/JDK1.6.0_30

    has given the details below:

    user: System
    password: system_password

    Host: hostname: oel5u6.localdomain (tried all other combos too either localhost, ip etc. address.)
    Port: 1521
    service name: orcl

    provided all the details... do some research forums too... still no luck

    * $ORACLE_HOME *.
    [oracle@oel5u6 bin]$ echo $ORACLE_HOME
    /home/oracle/app/oracle/product/11.2.0/dbhome_2
    * $ORACLE_SID *.
    [oracle@oel5u6 bin]$ echo $ORACLE_SID
    orcl
    Oracle instance started
    SQL> startup
    ORACLE instance started.
    
    Total System Global Area 1707446272 bytes
    Fixed Size                  1336988 bytes
    Variable Size             989858148 bytes
    Database Buffers          704643072 bytes
    Redo Buffers               11608064 bytes
    Database mounted.
    Database opened.
    tnsnames.ora
    # tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521))
    
    
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
        )
      )
    Listener.ora
    # listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521))
        )
      )
    
    ADR_BASE_LISTENER = /home/oracle/app/oracle
    tnsping orcl
    [oracle@oel5u6 bin]$ $ORACLE_HOME/bin/tnsping orcl
    
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 24-DEC-2011 02:09:13
    
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    
    Used parameter files:
    /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (0 msec)
    lsnrctl status
    [oracle@oel5u6 bin]$ $ORACLE_HOME/bin/lsnrctl status
    
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 24-DEC-2011 02:09:17
    
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                24-DEC-2011 01:51:45
    Uptime                    0 days 0 hr. 17 min. 31 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
    Listener Log File         /home/oracle/app/oracle/diag/tnslsnr/oel5u6/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oel5u6.localdomain)(PORT=1521)))
    Services Summary...
    Service "orcl.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Journal of SQL Developer through the terminal starting
    Oracle SQL Developer
     Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 
    
    Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk
    /usr/java/jdk1.6.0_30
    Edited by: Oracler December 24, 2011 12:04 AM

    Edited by: Oracler December 24, 2011 12:43 AM

    What happens if you do sqlplus u/p@orcl on the Linux machine?

    It seems that the name of your service is actually orcl.localdomain. It is perhaps that the remote connection has no need of the domain name, but a local connection only.

    This isn't really a problem SQL Developer. You can get the best answers in the database - general forum.

  • ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA

    Hello

    I installed Oracle 11 g on Ubuntu 10.04 LTS(64bit) version. but I am not able to connect from the client computer to the oracle server. I got following error in my Ruby on Rails App

    rake db: migrate
    rake abandoned!
    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA

    (See full trace by running task with the option - trace)

    ==========================================================================
    It's my lister.ora file

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl.mysite.net)
    (SID_NAME = orcl)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    )
    )

    LOGGING_LISTENER = OFF

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1.mysite.net) (PORT = 1521))
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    )

    ADR_BASE_LISTENER = / u01/app/oracle

    TRACE_LEVEL_LISTENER = OFF
    ======================================================

    and my tnsnames.ora file

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server.mysite.net) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )
    )

    =======================================================================

    I was depending on status for orcl
    bin/lsnrctl status orcl

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 22 January 2011 17:19:44

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = server.mysite)(PORT=1521) .net) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Beginning of January 22, 2011 14:24:04
    Uptime 0 days 2 h 55 min 39 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = server.mysite .net)(PORT=1521)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
    Summary of services...
    Service 'orcl.mysite.net' has 2 occurrences.
    Instance "orcl", status UNKNOWN, has 1 operation for this service...
    Instance "orcl", State LOAN, has 1 operation for this service...
    Service 'orclXDB.mysite.net' has 1 instance (s).
    Instance "orcl", State LOAN, has 1 operation for this service...
    The command completed successfully



    How to fix

    Thank you
    AVIN as

    Hello

    Please change ORACLE_HOME in listener.ora as /u01/app/oracle/product/11.2.0/dbhome_1--

  • ORA - 12514: TNS:listener is not currently of service requested...

    Hello Experts,

    I could not able to connect a TOAD (Version 10.1.1.8). But I am able to connect to the SQL command prompt by using the same user name, password and SID. I was able to connect yesterday. Sometimes I reboot the system or restart the Oracle (Oracle listener and service) services.

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

    Advice me please.

    Thank you.

    you have a database installed in your pc?
    (1) if so then a toad specify the database, for example orcl.
    (2) then in sys as sysdba username.
    (3) give the password.
    4) connect as SYSDBA.

    so useful then please note the SNA.

    concerning

  • The TNS alias could not be located.

    Hi all
    I am running ebs r12 12.1.1 on OUL5x64 on db 10.2.0.4 RAC (2nodes APPS and 2 RAC nodes)
    one of the CM all S/B running at startup node # 2 on the #1 with error node in the
    $APPLCSF/log/TEST_1124.mgr logfile.


    Deal monitor session started: November 24, 2009 14:40:12
    Could not contact the Manager of Service FNDSM_EBS-AP2_PH2. The TNS alias could not be located, the listening on EBS - AP2 process could not be contacted or the listener cannot generate the process from the Service Manager.

    Since both nodes I can connect to the DBTIer without problem.
    Can you please suggest a solution for this error.

    Thanks in advance.

    Hello

    Is the listener of the running application? If so, please run AutoConfig and make sure that it ends successfully.

    You will find all details about the error in the log file of CM? Did you run the cmclean.sql script?

    Please see if these documents are applicable.

    Note: 754698.1 - internal Log Manager file is to have Messages like "Could not initialize the Service Manager of FNDSM__" for simultaneous treatment no nodes
    Note: 460578.1 - R12 output Post processor Service does not come
    Note: 470100.1 - simultaneous managers fail to start, no services manager process resulted

    Kind regards
    Hussein

  • ERROR - ORA-12514: TNS:listener does not know now of immediate service

    Hi all
    Is the problem that I do face when I access oracle 10g database.it was wrking fine a few days back then I installed the developer 10g suite.after I am facing the problem (ERROR - ORA-12514: TNS:listener does not know currently of service requested in connect descriptor) every time I try and access my database.any 10 g help will be very appreciated.
    Thanks in advance
    Mourad

    Hello

    Make sure that you use right tnsnames.ora as you have it installled oracle developer suite after installation of the database so it could change your ORACLE_HOME as a result of developer. You have 2 choices

    1. replace oracle_home installation of oracle database in the variables env control panel system
    or
    1 copy the tnsnames.ora, listener.ora under Developer suite... location/networ/admin.

    If you are using on your local computer, you do not have this and you should be able to connect but if you use it is not bad either.

    Output from the following command post

    lsnrctl status
    

    Concerning

Maybe you are looking for