ORA-12505: TNS:listener could not resolve SID given in connect descriptor

Dear experts,
I restarted server since when i am getting this error while connecting with server.
ORA-12505: TNS:listener could not resolve SID given in connect descriptor
what is that?
and how can i resolve it?

You are not the first person to ask this question.
http://forums.oracle.com/forums/search.jspa?objID=f61&q=ORA-12505
Highly likely you will find your answer in one of the posts.

Similar Messages

  • Listener could not resolve SID given in connect descriptor

    Hello,
    I have three servers : two with oracle 9.2.0.1 databases and one with application. I have a load balancer, with a virtual IP, that manage the connections to the databases. The two databases are the same. My application connects to the database via the virtual IP of the load balancer. When my application connects, I have the following error in the listener.log :
    13-JUL-2006 11:53:48 * (CONNECT_DATA=(SID=SSOSESS)(CID=(PROGRAM=NSora20.so)(HOST=ssops1)(USER=smuser))) * (ADDRESS=(PROTOCOL=tcp)(HOST=<my_ip>)(PORT=8409)) * establish * SSOSESS * 12505
    TNS-12505: TNS:listener could not resolve SID given in connect descriptor
    But, when I do an sqlplus request from the server of the application to the virtual IP of the databases, it works fine :
    13-JUL-2006 11:54:57 * (CONNECT_DATA=(SERVICE_NAME=SSOSESS)(CID=(PROGRAM=)(HOST=ssops1)(USER=smuser))) * (ADDRESS=(PROTOCOL=tcp)(HOST=<my_ip>)(PORT=8411)) * establish * SSOSESS * 0
    I have you got an idea of the cause of the error ?
    Thanks...
    Delphine

    The tnsnames.ora that my application uses iscorrect,
    I think :
    (SERVICE_NAME = SSOSESS)This does not say "SID=..." which was used in the
    failed connect attempt (per listener.log)?
    >
    Do you have several tnsnames.ora files, maybe?
    (search the drive/file systems)
    Maybe some app specific config?I don't have several tnsnames.ora. In my application, I have to setup the host name, the user, the password, the port and the sid.
    >
    Hm, I was sure sid/service_name from tnsnames.ora and
    listener services had to match but now I'm not...
    Dont have a setup to test in right now.
    What does lsnrctl serv output?I dit the lsnrctl command on my database server, and I had the following result :
    oracle@ssosess1$ lsnrctl services
    LSNRCTL for Solaris: Version 9.2.0.1.0 - Production on 13-JUL-2006 17:05:14
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ssosess1-frontend)(PORT=1521)))
    Services Summary...
    Service "SSOSESS" has 1 instance(s).
    Instance "SSOSESS1", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:32922 refused:0
    LOCAL SERVER
    Service "SSOSESS1" has 1 instance(s).
    Instance "SSOSESS1", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    >
    Message was edited by:
    orafadThanks again...

  • ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect

    Hi Friends,
    I have created 10g database for catalog.
    I kept the tns entry in some other server. Tnsping is working fine.. I can see the result.
    mexn01:$ tnsping rman09na
    TNS Ping Utility for HPUX: Version 9.2.0.5.0 - Production on 28-APR-2008 19:29:07
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    /apps/app/oracle/local/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))
    OK (0 msec)
    When I am trying to connect to the database I am getting following error..
    mexn01:$ sqlplus ismdba/xxxxx@rman09na
    SQL*Plus: Release 9.2.0.5.0 - Production on Mon Apr 28 19:29:22 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect
    descriptor
    Please help me..
    Thanks in advance.

    Try on the server where it doesn't work:
    sqlplus ismdba/xxxxx@"(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))"
    or
    tnsping "(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))"
    (note the double quotes)
    If that works then your tnsnames.ora is incorrect on that server.

  • ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect des

    Hello all,
    I installed a 10g client on a windows PC, which already had 8i installed.
    SQLPlus login works for databases in both environments, but now a 8i database cannot be connected from Visual Studio.
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    I immediately checked both tnsnames.ora, but I don't see anything wrong.
    sqlnet.ora has:
    SQLNET.AUTHENTIFICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    Has anybody encountered this issue?
    I'm thinking of de-installing 10g now...
    Thanks in advance.

    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
    Action:
    - Wait a moment and try to connect a second time.
    - Check which services are currently known by the listener by executing: lsnrctl services <listener name>
    - Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
    - If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
    - Check for an event in the listener.log file.
    Pay special attention to these possible reasons:
    - Check which services .......
    - Check that the SERVICE_NAME parameter ...........
    There's a mismatch between service_name is tnsnames.ora and service_name known by the actual listener.
    Werner

  • ORA-12514 TNS:Listener could not resolve SERVICE_NAME given in connect desc

    Hi
    It's my first post and the first time I use an Oracle product. I begin with Oracle 10g. When I want to connect to an oracle database through vs2003 or vs2005, three things should be provided. 1.Server name(I don't know it?!) 2.Username(I don't know it?) 3.Password(I don't know it?)
    I set password for SYSTEM, SYS and their passwords are the same. I don't know whether SYSTEM is my user name or not?
    I enter localhost for server name and the above error occures.
    Thank you
    Seyyed Reza Qomi Behbehani

    do not connect oracle with system,sys or whatever username with sysdba or sysoper role.create new normal user to connect oracle machine.server name is oracle service name(SID).don't connect with localhost server except you set your service name to localhost..servername may be orcl or ora10g

  • TNS Could not resolve SID given in Connect Descriptor

    Hi All
    Having a problem with a dataexport command in a calc script.
    Am using the command as follows:
         DataExport "DSN" "ProdServer" "Table Name" "username" "password";
    The similar command works fine in UAT.
    When I run the script I get this error:
    OK/INFO - 1021013 - ODBC Layer Error: [08001] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]TNS-12505: TNS:listener could not resolve SID given in connect descriptor].
    OK/INFO - 1021014 - ODBC Layer Error: Native Error code [4294967295] .
    ERROR - 1021001 - Failed to Establish Connection With SQL Database Server. See log for more information.
    The ODBC connection is setup the same as in UAT with the correct port number.
    This is also shown:
    ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver]Cannot open TNS Names file.]
    Could it require the restart of the TNS listener?
    Simon
    Edited by: Simon Watts on 18-May-2011 09:38

    Simon Watts wrote:
    This is also shown:
    ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver]Cannot open TNS Names file.]Have you tested the ODBC connection in the ODBC manager, are you sure the information in the tnsnames.ora file is correct?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • ORA-12514: TNS:listener could not resolve SERVICE_NAME given

    Hi
    I have 3 server having oracle 9i database same version
    -one at head office
    -one at ours sister company and
    -one at port
    when i create string from Gui (SQL*NET configuration head office database)
    to connect sister co's database it works well and then i create db
    link by using this string its working fi9.
    but when i create string from head office to port database
    its giving me error when i test string during wizard
    Connecting..
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given
    in connect descriptor
    Although from port databse i can connect to head office database succesfully.
    I am giving correct machine name and sid during creating string from database SQL*NET configuration wizard.
    Why its giving ORA-12514 from Head office to connect port database
    but not from Port to Head office database nor from Head office to
    sister co's Data base?
    Khurram Siddiqui
    [email protected]

    Hi Pal Here is wot u required
    D:\oracle\ora92>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 04-JAN-2006 16:27:
    25
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
    Services Summary...
    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
    Service "icsyard.com" has 2 instance(s).
    Instance "icsyard", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Instance "icsyard", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:17 refused:0 state:ready
    LOCAL SERVER
    Service "icsyardXDB.com" has 1 instance(s).
    Instance "icsyard", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: ICSYARD, pid: 360>
    (ADDRESS=(PROTOCOL=tcp)(HOST=icsyard.icsdomain.com)(PORT=1141))
    The command completed successfully
    D:\oracle\ora92>
    Tnsname.Ora For Head Office
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    HATAF.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hataf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = hataf)
    OEMREP.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hataf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = OEMREP.gacpak.com)
    EXTPROC_CONNECTION_DATA.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    INST1_HTTP.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hataf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    KHURRAM.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = YAWAR)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = YAWAR.WORLD)
    Thanks for urs quick response
    Khurram Siddiqui
    [email protected]

  • ORA-12514: TNS:listener could not resolve SERVICE_NAME given in conne

    I am running Oracle 8.1.7.1.4 on Windows 2000. After I created a database TEST using a script created by my previous colleague, I got the following error:
    sqlplus SYSTEM/PASSWORD@TEST
    ERROR:
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    Enter user-name:
    But if I enter system as username and the password, I could connect to sqlplus without any problem.
    I checked the OracleServiceTest is running as a Service, and here is what in my tnsnames.ora.
    TEST.UNHQ.UN.ORG =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TEST)
    Here is what in my listener.ora file.
    (SID_DESC =
    (GLOBAL_DBNAME = TEST)
    (ORACLE_HOME = d:\oracle\ora817)
    (SID_NAME = TEST)
    The following is what in my sqlnet.ora file.
    NAMES.DEFAULT_DOMAIN = unhq.un.org
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    Here are a few important lines in my init.ora file.
    db_name=TEST
    instance_name = TEST
    service_names = TEST
    I tried to use sqlplus system/[email protected], but got the same error.
    Any help would be greatly appreciated.
    Thanks,
    Jane

    Hi Werner:
    Thank you very much for your suggestions. Yeah, I have
    a db_domain = UNHQ.UN.ORG in my init.ora file. I tried
    to append it manually into the service_names in my
    init.ora file and made corresponding changes to
    tnsnames.ora file. Now I could access to TEST database
    without any problem.
    I have another question. How can I prevent the
    db_domain from appending to SERVICE_NAMES by default?
    By set it to db_domain="" or just don't have it in my
    init.ora file? I don't want to have the domain name
    appearing in my SERVICE_NAMES.
    Thanks,
    Jane

  • ORA 12541:TNS: listener could not solves SERVICE_NAME given in connect

    when i tried to start the service
    OracleOraDb10g_home1TNSListenercompiere using services.msc
    it has given the following message
    Could not start the OracleOraDb10g_home1TNSListenercompiere on local computer .the service could not return an error. This could be an internal window error or service error.
    When i tried to connect from client i got the following error.
    TNS: listener could not solves SERVICE_NAME given in connect
    pls help
    harinder

    Thanks!
    There was os problem of trusted domain.
    I have changed sqlnet.ora (NTS to NONE)
    Thanks and Regards
    Harinder

  • Native Error: 12505 - listener could not resolve SID given in connection description

    Hi - I am having great difficulties with this - 2 products, and
    Aspect ACD telephony switch, and Crystal Decisions Seagate
    software - the common link? Well, neither make the Oracle
    Client, and will NOT help me resolve the error message I am
    getting - when I go through Net8 Configureation, the tests etc
    are successful, but when I attempt it from the ODBC test, I get
    the message above.
    This is my first posting here, so I apologise if there is a more
    appropriate place for it.
    With kindest regards, Mark Tait CGEY

    you should properly configure the SQL*NET files - sqlnet.ora and
    tns<ORACLESID>.ora file.
    thx,
    dan

  • Hi...Please help...Getting ORA 12154 TNS Listener could not resolve...

    Hi,
    I have just loaded Oracle 10g Rel 2 in Win 2003 Enterprise Edition.
    But when I try to connect to sqlplus, I am getting ORA -12154 : TNS: Listener could not resolve the connect identified specified.
    I have registered the database, the listener and tnsnames have been set correctly.
    I have also set the Oracle Home environment variable.
    Still getting the error.
    Any help will be highly appreciated.
    Thanks,

    I agree
    ORA-12145: (does not exist in the standard manuals)
    ORA-12154: TNS:could not resolve the connect identifier specified
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    ORA-12541: TNS:no listener
    It is pretty easy to fat-finger these 4 message numbers. As a result, when a person has the actual and complete error message and an error number for a different message, it is usually not a bad idea to use the actual message. (Based on transposing only 3 digits compared to typing over 50 characters correctly.)
    In this case the OP has really bollixed things: Subject implies a true 12154, text in the thread is an actual 12514 but mentions 12154.
    As a result, there are several potentially correct answers, depending on the interpretation of the question.
    - sb92075 gave the correct answer based on the number
    - I gave the correct answer based on the message in the thread
    - Anurag and Ed gave the correct answer based on 'the question is not formed correctly'
    Edited by: Hans Forbrich on Jan 24, 2010 7:13 AM
    (BTW - ORA-12415 and ORA-12451 are the other permutations ... described http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e12400.htm#sthref3357)

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

    ORA-12514: TNS:listener could not resolve SERVICE_NAME
    how to resolve this problem ?

    ORA-12514: TNS:listener could not resolve SERVICE_NAME
    $ oerr ora 12514
    12514, 00000, "TNS:listener does not currently know of service requested in connect descriptor"
    // *Cause:  The listener received a request to establish a connection to a
    // database or other service. The connect descriptor received by the listener
    // specified a service name for a service (usually a database service)
    // that either has not yet dynamically registered with the listener or has
    // not been statically configured for the listener.  This may be a temporary
    // condition such as after the listener has started, but before the database
    // instance has registered with the listener.
    // *Action:
    //  - Wait a moment and try to connect a second time.
    //  - Check which services are currently known by the listener by executing:
    //    lsnrctl services <listener name>
    //  - Check that the SERVICE_NAME parameter in the connect descriptor of the
    //    net service name used specifies a service known by the listener.
    //  - If an easy connect naming connect identifier was used, check that
    //    the service name specified is a service known by the listener.
    //  - Check for an event in the listener.log file.
    $

  • Error ORA-12505, TNS:listener does not currently know of SID given in co

    Hi ,
    When I am running the jdeveoper for my adf application , I am getting the follwoing error:
    starting weblogic with Java version:
    java version "1.6.0_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    =================================================
    I am using scott as the dabase name i.e. SID is scott and jdev version is 11.1.1.2, I am able to connect to scott database using sqlplus. e.g. hr/hr@scott is working fine in sqlplus.
    Any suggestions
    Thanks in advance

    Thanks for the response Frank,
    I got this issue resolved, I did find out that there were 2 db connections were there , One Connection I name was Scott and other as FOD. Scott had correct SID, and FOD had incorrect SID as XE. So I deleted the FOD Connection. and renamed the Scott Connection to FOD( SID is still Scott).

  • ORA-12505: TNS:listener does not currently know of SID given in connect

    hi Dears,
    i had insatlled new 11g on my Linux centios 5 system for testing purpose. when i started oem i can see agent is down but when i checked the agent status its saying below messages. i'm new to oracle . please guide me.
    oracle11@test bin]$ ./emctl status agent
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.4.2
    OMS Version : 10.2.0.4.2
    Protocol Version : 10.2.0.4.2
    Agent Home : /sd01/oracle11/app/product/11.2.0/dbhome_1/test_training11
    Agent binaries : /sd01/oracle11/app/product/11.2.0/dbhome_1
    Agent Process ID : 4206
    Parent Process ID : 4181
    Agent URL : https://test:1830/emd/main
    Repository URL : https://test:5500/em/upload/
    Started at : 2011-11-21 14:30:21
    Started by user : oracle11
    Last Reload : 2011-11-21 14:36:23
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 762
    Size of XML files pending upload(MB) : 16.39
    Available disk space on upload filesystem : 77.21%
    Data channel upload directory : /sd01/oracle11/app/product/11.2.0/dbhome_1/test_training11/sysman/recv
    Last attempted heartbeat to OMS : 2011-11-21 15:11:09
    Last successful heartbeat to OMS : unknown
    Agent is Running and Ready
    from OEM
    * Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    i had restarted the listener
    oracle11@test admin]$ lsnrctl start LISTENER_1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-NOV-2011 15:05:16
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /sd01/oracle11/app/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1523)))
    STATUS of the LISTENER
    Alias LISTENER_1
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 21-NOV-2011 15:05:16
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    The listener supports no services
    The command completed successfully
    in this server i have 10g home but in the different filesystem : /home/oracle/oracle/product/10.2.0/db_2
    11g home : /sd01/oracle11/app/product/11.2.0/dbhome_1
    as per the agent messages i thought to add SID LIST in listner but got error message when i start the listener.ora below listener.ora details
    # listener.ora Network Configuration File: /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER_1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.25.151)(PORT = 1523))
    SID_LIST_LISTENER_1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = training11)
    (ORACLE_HOME = /sd01/oracle11/app/product/11.2.0/dbhome_1)
    (SID_NAME = training11)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl11)
    (ORACLE_HOME = /sd01/oracle11/app/product/11.2.0/dbhome_1)
    (SID_NAME = orcl11)
    ADR_BASE_LISTENER_1 = /sd01/oracle11/app
    when i ran lsnrctl start LISTENER_1 i got below messages could any one please help me to solve this problem. my aim is when i start oem everything should work rightnow agent is down
    [oracle11@test bin]$ lsnrctl start LISTENER_1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-NOV-2011 15:27:38
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /sd01/oracle11/app/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER_1 parameter in LISTENER.ORA
    NL-00303: syntax error in NV string
    NL-08014: Failed to initialize Diagnosability framework, falling back to old network tracing/logging
    NL-08002: Diagnosability context creation failed
    thanks ,
    john

    Johnvd wrote:
    hi Dears,
    i had insatlled new 11g on my Linux centios 5 system for testing purpose. when i started oem i can see agent is down but when i checked the agent status its saying below messages. i'm new to oracle . please guide me.
    oracle11@test bin]$ ./emctl status agent
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.4.2
    OMS Version : 10.2.0.4.2
    Protocol Version : 10.2.0.4.2
    Agent Home : /sd01/oracle11/app/product/11.2.0/dbhome_1/test_training11
    Agent binaries : /sd01/oracle11/app/product/11.2.0/dbhome_1
    Agent Process ID : 4206
    Parent Process ID : 4181
    Agent URL : https://test:1830/emd/main
    Repository URL : https://test:5500/em/upload/
    Started at : 2011-11-21 14:30:21
    Started by user : oracle11
    Last Reload : 2011-11-21 14:36:23
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 762
    Size of XML files pending upload(MB) : 16.39
    Available disk space on upload filesystem : 77.21%
    Data channel upload directory : /sd01/oracle11/app/product/11.2.0/dbhome_1/test_training11/sysman/recv
    Last attempted heartbeat to OMS : 2011-11-21 15:11:09
    Last successful heartbeat to OMS : unknown
    Agent is Running and Ready
    from OEM
    * Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    i had restarted the listener
    oracle11@test admin]$ lsnrctl start LISTENER_1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-NOV-2011 15:05:16
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /sd01/oracle11/app/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1523)))
    STATUS of the LISTENER
    Alias LISTENER_1
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 21-NOV-2011 15:05:16
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    The listener supports no services
    The command completed successfully
    in this server i have 10g home but in the different filesystem : /home/oracle/oracle/product/10.2.0/db_2
    11g home : /sd01/oracle11/app/product/11.2.0/dbhome_1
    as per the agent messages i thought to add SID LIST in listner but got error message when i start the listener.ora below listener.ora details
    # listener.ora Network Configuration File: /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER_1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.25.151)(PORT = 1523))
    SID_LIST_LISTENER_1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = training11)
    (ORACLE_HOME = /sd01/oracle11/app/product/11.2.0/dbhome_1)
    (SID_NAME = training11)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl11)
    (ORACLE_HOME = /sd01/oracle11/app/product/11.2.0/dbhome_1)
    (SID_NAME = orcl11)
    ADR_BASE_LISTENER_1 = /sd01/oracle11/app
    when i ran lsnrctl start LISTENER_1 i got below messages could any one please help me to solve this problem. my aim is when i start oem everything should work rightnow agent is down
    [oracle11@test bin]$ lsnrctl start LISTENER_1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-NOV-2011 15:27:38
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /sd01/oracle11/app/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER_1 parameter in LISTENER.ORA
    NL-00303: syntax error in NV string
    NL-08014: Failed to initialize Diagnosability framework, falling back to old network tracing/logging
    NL-08002: Diagnosability context creation failed
    thanks ,
    johnhttp://edstevensdba.wordpress.com/2011/03/19/ora-12514/

  • OEM 10g - ORA-12505: TNS:listener does not currently know of SID...

    Hello,
    In OEM (version 10.1.0.5 on Red Hat linux 4), on the page Database Instance: dbexemple.domain.be
    It says:
    - Database Instance > up
    - Listener > up
    - Agent connection to database > Status: Failed
    Details: Failed to connect to database instance: ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach).
    And my OEM database is always in Blackout state.
    I can connect on the database and if I select from global_name it gives me the good name.
    If I do lsnrctl status
    Service "dbexemple.domain.be" has 1 instance(s).
    Instance "emrep", status READY, has 1 handler(s) for this service...
    If I do lsnrctl services
    Service "dbexemple.domain.be" has 1 instance(s).
    Instance "dbexemple", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:44 refused:0 state:ready
    LOCAL SERVER
    So all looks normal. But my DB is still in blackout state.
    I did stop and start the agent > no change
    I did shutdown and start the database > no change
    I did stop the agent delete the $oracle_home/sysmen/emd/... files and start the agent and emctl upload... > no change
    In the targets.xml file from the agent I have:
    <Target TYPE="oracle_database" NAME="dbexemple.domain.be">
    <Property NAME="OracleHome" VALUE="/oracle/product/db10g"/>
    <Property NAME="UserName" VALUE="###" ENCRYPTED="TRUE"/>
    <Property NAME="MachineName" VALUE="machine.domain.be"/>
    <Property NAME="Port" VALUE="1521"/>
    <Property NAME="SID" VALUE="dbexemple"/>
    <Property NAME="ServiceName" VALUE="dbexemple.domain.be"/>
    <Property NAME="password" VALUE="###" ENCRYPTED="TRUE"/>
    </Target>
    Seems good also
    My tnsnames.ora
    DBEXEMPLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = machine.domain.be)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dbexemple.domain.be)
    tnsping dbexemple is also good:
    Used LDAP adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=machine)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=dbexemple.domain.be)))
    OK (10 msec)
    The DB is not in the listener.ora but anyway at the startup of the database the database register in the listener (can take some seconds).
    In OEM if I look at blackout, it says no blackout exists
    So after all these verifications my OEM database is still in blackout status and remain in blackout.
    I would like to find the reason why it stays like this and the agent finally stop giving me an error.
    thank you for your help,
    Loïc

    The fact is that I did not set any blackout for the emrep database. (no blackout are set at the moment in fact)
    So, we did change the HDD of the computer were was OEM to another HDD.
    The update to 10.1.0.5 was made before all this (2 weeks) and no problem appears after that.
    There's no blackout in OEM Blackouts:
    No Blackouts found.
    and no blackout with emctl:
    [oracle@computeroem bin]$ ./emctl status blackout
    Oracle Enterprise Manager 10g Release 10.2.0.1.0.
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    No Blackout registered.
    [oracle@computeroem bin]$ ./emctl status blackout emrep
    Oracle Enterprise Manager 10g Release 10.2.0.1.0.
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    No Blackout registered.
    At the link:
    http://computeroem.domain.be:4889/em/console/health/healthSystemError
    I get these:
    Loader
    https://computeroem.domain.be:3872/emd/main/
    14-Jan-2007 10:32:32 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target up received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts = 2007-01-14 22:32:27) (violation_level =CLEAR) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 959 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 277, File name:Severity
    Loader
    https://computeroem.domain.be:3872/emd/main/
    14-Jan-2007 10:32:32 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000003.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000003.xml
    Blackouts
    n/a
    14-Jan-2007 6:19:26 PM
    Error
    Duplicate start blackout record for 39EDA0C7E44C422698958F9463393C52 for target E9A00D9D6447DF4BE1CF43F7A94BF402
    Loader
    https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 3:07:22 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target up received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts = 2007-01-12 15:07:05) (violation_level =CLEAR) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 959 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 14, File name:Severity
    Loader
    https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 3:07:22 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000002.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000002.xml
    Loader
    https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 3:04:44 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target down received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts= 2007-01-12 14:56:52) (violation_level =CRITICAL) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 818 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 14, File name:Severity
    Loader
    https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 3:04:44 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000001.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000001.xml
    Blackouts
    n/a
    12-Jan-2007 10:10:23 AM
    Error
    end_blackout: unexpected current state 10
    Blackouts
    n/a
    12-Jan-2007
    10:05:28 AM
    Error
    Duplicate start blackout record for FD1380AAEB69BAE53339F58EA0C83ADC for target E9A00D9D6447DF4BE1CF43F7A94BF402
    Loader
    https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 9:57:16 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000001.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000001.xml
    Loader https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 9:57:15 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target up received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts = 2007-01-12 09:56:53) (violation_level =CLEAR) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 959 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 270, File name:Severity
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 9:07:17 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target up received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts = 2007-01-08 09:07:02) (violation_level =CLEAR) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 959 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 25, File name:Severity
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 9:07:17 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000003.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000003.xml
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 9:04:10 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000002.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000002.xml
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 9:04:09 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target up received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts = 2007-01-08 09:01:54) (violation_level =CLEAR) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 959 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 151, File name:Severity
    Blackouts
    n/a
    8-Jan-2007 8:57:47 AM
    Error
    Duplicate start blackout record for 39EDA0C7E44C422698958F9463393C52 for target E9A00D9D6447DF4BE1CF43F7A94BF402
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 8:56:00 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000001.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000001.xml
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 8:56:00 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target down received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts= 2007-01-06 01:25:35) (violation_level =CRITICAL) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 818 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 14, File name:Severity
    For the note, mostly I cannot do anything because I have no blackout name for the script. Still reading the note to see if some sql can help.
    Message was edited by:
    Loic

Maybe you are looking for

  • Issue of Stopping RPTARQPOST when Payroll is run

    My Project is handling Leave Request on Portal, I know RPTARQPOST will be scheduled to be run so that Approved Leave Request can be transferred to the Infotype. However, in my Project, when Payroll is run, there is a need to stop RPTARQPOST so that n

  • Firefox is already running but not responding,No process in task manager,Restart and uninstall not useful.Profile manager error

    So one day when I opened my mozilla firefox Ive got the "Firefox is already running but not responding.To open a new window,you must first close the existing firefox process,or restart your system." So I checked my task manager but there is no proces

  • No signal to external Display/LCD-TV

    I own a Macbook Air 13" (Late 2010) and used to connect it via Mini-Display-Port to HDMI-Cable to my LG 37" LCD TV. While on Snow Leopard everything worked fine. Now I upgraded to Lion and I am not able to get a signal to my TV. The MacBook Air lists

  • Show HTML page on initial SAP Screen

    Hi all, I know how to change the image on the initial screen by maintain table SSM_CUST and upload *.gif with tcode SMW0. In SMW0 there is another part about HTML templates. I have uploaded an HTML page but I was not able to see this on the initial s

  • Standard planning areas  Like 4BP0001 ???

    hi Friends   Can you tell me where can I find these standard planning area like 4BP0001 (Balance sheet planning) so that I can USE THEM tHANKS IN ADVANCE Nidhi Dashora