ORA - 12514:TNS:listener does not work

Hi all


My Version of DB: 10.2.0

Operating system: Solaris


I just stop the database and when try to restart Pb it gives me error like:

ORA - 12514:TNS:listener does not work

When I check the entry from the file tnsnames.ora DB is in the list

but when I do

lsnrctl status

It will not display no services of db which is orcl

can someone help me

Vikas Kohli wrote:

DB is now

one more thing to ask

Please do not put more than one topic or 'thing' in each thread that is start a new separate discussion thread / topic / problem etc.

When you try to raise the hot backup rman I get below error:

RMAN topics, please use the dedicated forum: {forum: id = 74}.

Tags: Database

Similar Questions

  • ORA-12514 TNS: Listener does not currently of service required

    Hi all


    I created a thread here only three days ago on the question above:

    ORA-12514 TNS: Listener does not currently of service required

    and I ended install oracle again this time around just after 2 days I'm getting the same problem again. I have not yet published that any same file not open it not even anywhere near her. Can anyone tell me the reason?

    Thank you and best regards,

    Lucky aka Lastw0nd3r

    Published by: lastw0nd3r on August 5, 2010 07:24

    SQL NET should now work for you.*
    If so, please mark as ANSWER

    but where was I wrong?

    the database is not started so the listener did not know the DB Service

  • 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

  • Listener (and the database instance) does not start automatically: ORA-12514: TNS:listener does not currently of service requested in connect descriptor

    Hi all... I am a newbie with oracle database.,.

    I have the problem of monitoring:

    I installed Oracle Database 11 g R2 XE on my CentOS 6.5 guest operating system.

    I changed the host name in my CentOS so (where installed oracle 11g R2 XE) after the installation was completed successfully.

    Installation-) before and during the hostname is localhost.

    (-) After the installation, I changed the host name in VMCentOS

    From the moment where I changed the host name, nothing starts automatically. In particular, the listener and the database instance does not start automatically.

    When I start the listener manually and I try to connect to the instance of database with SQLPLUS I get this error:

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

    I think that the problem is due host name changed because I have to test and debug the object, re-installed a machine virtual operating system CentOS, re-installed oracle database 11 g and I do not have this problem. The database instance and the listener starts automatically!

    Can someone tell me if, maybe, the problem is with the host has changed? ... and why?

    P.S.: After changing the hostname I also modified the listener.ora and the tnsnames.ora by changing the HOST with the correct host name.

    Hello

    It seems that you don't install Oracle Database Express Edition (XE). If you post this question in the wrong forum.

    When you install EA or there is no script that starts the database at startup.

    If you wish, you can create by yourself. For example search for instructions to Google how to create script.

    Kind regards

    Jari

  • ORA-12514: TNS: Listener does not currently of service co

    I get the following error message when I connect to the database box I avoid the error without the downtime of the database in the standard edition

    909258 wrote:
    I have a small doubt listener.log and listener.ora both are the same or different

    They are different files for different purposes.

    Listener.ora is NOT necessary

    oracle@bcm-laptop:~$ lsnrctl status
    
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-FEB-2012 20:07:05
    
    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                04-FEB-2012 20:06:17
    Uptime                    0 days 0 hr. 0 min. 48 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/bcm-laptop/listener/alert/log.xml
    
  • ORA-12514: TNS:listener is not currently in service

    I installed Oracle Database 11 g and I can access jet database SQL Plus and everything ok, but when I install developer Oracle 11 g and when I try to connect from the form of database, I can't.

    and when I go to the Network Configuration Wizard and add the connection I find this error "" ORA-12514: TNS:listener does not currently of service requested in connect descriptor "and when I check the service all the Oracle service works very well."

    I need help to solve this problem.

    Thank you
    EYAD

    Hello

    I think that your installation of forms is not configured properly again to connect to the database.

    Try to connect to sqlplus in forms_home with the name of the service, if you can connect to the database from there, you will be able to connect using forms also.

    You have netconfiguration manager in you installation of forms, you can use it to add an entry of tns for your database

    You can post your tnsnames.ora content of $ORACLE_INSTANCE/config

    Please see the thread {: identifier of the thread = 1091615}

    Concerning
    SANAE

  • ORA-12514: TNS:listener is not currently of service required in the cunt

    Hi Experts,

    I have installed Oracle RAC in the slot environment. But unable to connect ASM instance using the string tns

    This is production DB up and running.

    RAC 2 nodes
    Oracle RAC 11.2.0.1.0
    ASM

    Enterprise Linux Server version 5.5 (Carthage)
    X 64 processor type
    64-bit operating system

    Getting error below when connecting with the instance asm directly:
    [oracle@ admin]$ sqlplus sys@asm as sysasm
    
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 5 11:16:11 2012
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    
    
    Enter user-name:
    Entries of listening port on node 1
    [oracle@ admin]$ cat listener.ora
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2))))                # line added by Agent
    LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3))))                # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))                # line added by Agent
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))            # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON              # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON                # line added by Agent
    
    SID_LIST_LISTENER =
        (SID_LIST =
          (SID_DESC =
             (SID_NAME = +ASM1)
             (GLOBAL_DBNAME=ASM)
             (ORACLE_HOME = /u01/app/11.2.0/grid)
          )
          (SID_DESC =
             (SID_NAME = PLSExtProc)
             (ORACLE_HOME = /u01/app/11.2.0/grid)
             (PROGRAM = extproc)
          )
       )
    [oracle@ admin]$
    $ lsnrctl services
    
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 12-AUG-2012 00:31:04
    
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "ASM" has 1 instance(s).
      Instance "+ASM1", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
     
    Tnsnames.ora entries are as below:
    [oracle@ admin]$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: 
    
    /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    
    XXX =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = xxx-scan)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = xxx)
        )
      )
    
    ASM =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = xxxdata-scan)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ASM)
          (SID_NAME = +ASM1)
        )
      )
    Any help?

    Kind regards

    Published by: LazyDBA11g on August 11, 2012 21:58

    Published by: LazyDBA11g on August 12, 2012 03:27

    LazyDBA11g wrote:
    Hi Experts,

    ASM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = ucbdata-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ASM)
    (SID_NAME = + ASM1)
    )
    )

    Any help?

    Hello

    First check that your asm is listening on listening port scan. If it is installed by default, so I suggest you change "(HÔTE = ucbdata-scan) ' to the local host where the asm instance"

    second thing is there is typo in your tnsnames file. change this part "(SERVICE_NAME = ASM)" to "(SERVICE_NAME = + ASM).

    It may be useful

    See you soon
    Fiedi

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

  • ERROR: ORA-12514: TNS:listener is not currently of service required

    My database in GNU / Linux, I by default SID like ORCL, and I created 3 other occurrences of DB (TST1, FS2 and TST3). As long as my system has not been retired, I'm Basel connect to instances. Once straightened out my system I'm unable to connect to the new DB instances... Adivice pl... Thank you...

    In sqlplus: name of username/password @ ORCL - works fine...

    name of user/password @TST1 or of other services... .i am getting... error... ERROR: ORA-12514: TNS:listener is not currently of service required

    I created all the DB instances using below command:

    DBCA-silent - createDatabase-templateName - General_Purpose.dbc - gdbname TST1-sid TST1 responsefile - NO_VALUE - characterSet AL32UTF8 - memoryPercentage 40 - emConfiguration LOCAL

    Published by: user10980939 on July 20, 2011 14:16

    Salvation;

    Post your TNSNAMES.ora entery please

    Respect of
    HELIOS

  • ORA-12505 TNS Listener does not currently in SID

    Hello
    When I try to connect to Oracle Sql developer, error "ORA-12505 TNS Listener does not currently of SID given in connect descriptor". ""
    I use 11 GR 1 material on Windows XPSP2 platform. But several sql works very well.
    Thank you

    Published by: user12222356 on April 11, 2010 07:20

    user12222356 wrote:
    This time the Sql developer is connected successfully. But there is not a question of being happy because what happens frequently. Sometimes is connected while sometimes the connection refused... All, it seems, is that SQL Developer connection to the Oracle server depends on luck.
    Is there any solution to get rid of this problem?

    It's a matter of timing.

    First thing that should be launched is the listener. Who should be started on boot. For a laptop or another machine which uses the DHCP protocol, the listener must be configured to talk to the loopback adapter.

    Then the database should be started to talk to listening on the port of sight to the listener - it is applied either with the "LOCAL_LISTENER" database being left to null (for the default listener on 1521). This can be checked by "Lsnrctl status" showing the instance of database such as saved and available.

    Then the SQLDeveloper can start up, pointing to the same host, port, and service/instance, as shown in "lsnrctl status".

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

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

    I know, I know there are tons of info about this error on the net. BUT. I tried to figure out all day, please help :(

    We are on Oracle 10.2.0.4, Solaris 5.10

    1 Tnsnames.ora on the Solaris box where Oracle is installed is as follows:
    flexprd1 =
      (DESCRIPTION =
        (SDU = 4096)
        (TDU = 4096)
        (ADDRESS = (PROTOCOL = TCP)(Host = PRODX)(Port = 1523))
        (CONNECT_DATA =
          (SID = flexprd1)
        )
      )
    2 Listener.ora is as follows:
    LISTFLEX =
      (ADDRESS_LIST =
            (ADDRESS= (PROTOCOL= TCP)(Host=PRODX)(Port= 1523)(QUEUESIZE=200))
      )
    
    SID_LIST_LISTFLEX =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME= FLEXPRD)
          (ORACLE_HOME= /app/oracle/OraHome1)
          (SDU = 4096)
          (TDU = 4096)
          (SID_NAME = flexprd1)
        )
      )
    3 Tnsnames.ora on the application (Win 2000) Server uses DNS names and is as follows:
    flexprd1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = PRODY)(PORT = 1523))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = flexprd1)
        )
      )
    5. I can't telnet from the application server to the zone of solaris on port 1523 (so it isn't a problem of port)

    6. I can't flexprd1 tnsping from servers of application and solars as follows:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (SDU = 4096) (TDU = 4096) (ADDRESS = (PROTOCOL = TCP)(Host = PRODX)(Port = 1523)) (CONNECT_DATA = (SID = flexprd1)))
    OK (40 msec)
    7. services and the status of the listener seem ok:
     lsnrctl status listflex
    
    LSNRCTL for Solaris: Version 10.2.0.4.0 - Production on 24-MAY-2010 16:05:23
    
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=PRODX)(Port=1523)(QUEUESIZE=200))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTFLEX
    Version                   TNSLSNR for Solaris: Version 10.2.0.4.0 - Production
    Start Date                21-MAY-2010 15:34:20
    Uptime                    3 days 0 hr. 31 min. 3 sec
    Trace Level               dev
    Security                  ON: Password or Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /app/oracle/OraHome1/network/admin/listener.ora
    Listener Log File         /app/oracle/OraHome1/network/log/listflex.log
    Listener Trace File       /app/oracle/OraHome1/network/trace/listflex.trc
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRODX)(PORT=1523)))
    Services Summary...
    Service "FLEXPRD" has 1 instance(s).
      Instance "flexprd1", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    SERVICES
    LSNRCTL for Solaris: Version 10.2.0.4.0 - Production on 24-MAY-2010 16:05:51
    
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=PRODX)(Port=1523)(QUEUESIZE=200))
    Services Summary...
    Service "FLEXPRD" has 1 instance(s).
      Instance "flexprd1", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    The command completed successfully
    8 NETSTAT:
     netstat -a | grep 1523
          *.1523               *.*                0      0 49152      0 LISTEN
    dbfarmprd2.es.gwu.edu.45492 PRODX.1523 49354      0 49152      0 TIME_WAIT
    9 SQLNET. ORA on the application server which I'm getting ORA-12505 is as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    10. when I try to use SQL * more from the application server, I get ORA-12505. I'm sure it's something very stupid, but I can't. Any input would be much appreciated! Thank you!

    post the last lines of 40-60 of /app/oracle/OraHome1/network/log/listflex.log

Maybe you are looking for