Get error ORA-12500 : TNS Listener

I keep getting this ORA-12500 ODBC error, TNS listener could not be resolved.
What does it mean?
What is causing it?
The error comes and goes by itself within a few seconds.
Any help is appreciated.
Thanks.

I'm using Oracle 8i (8.1.6)

Similar Messages

  • ERROR:ORA-12500: TNS:listener failed to start a dedicated server process

    I'm getting this error when connecting to an 8i database. The setup was like this: I had an Oracle 8i database on this server and i installed Grid Control on this server which also created a listener.
    From Metalink, I saw the following note: A version 10 listener is required for an Oracle Database 10g database. Previous versions of the listener are not supported for use with an Oracle Database 10g database. However, it is possible to use a version 10 listener with previous versions of the Oracle database.
    So I deleted the 8i listener and set up the 10g listener to service the 8i database as well. However, every time I connect to this 8i database, I see the listener refusing the connection. Anything I can do here?
    Thanks.

    I probably have posted this earlier,
    please configure the listener static.
    In other words, ensure that 8i registers with 8i listener and 10g registers with 10g listener.
    c:\blah\blah\8i\.\lsnrctl start listener8i
    c:\blah\blah\10g\.\lsnrctl start listener10g
    Read about how to Configure static listener?

  • Listener refused the connection with the following error: ORA-12500, TNS:li

    I got this error when I use EM, or sqlplus:
    Listener refused the connection with the following error: ORA-12500, TNS:listener failed to start a dedicated server process
    when I do
    $lsnrctl status:
    here is the result
    Service "abc.def.com" has 3 instance(s).
    Instance "dbtest", status UNKNOWN, has 1 handler(s) for this service...
    Instance "dbtest", status BLOCKED, has 1 handler(s) for this service...
    Instance "dbtest", status READY, has 1 handler(s) for this service...
    please help. Thanks.

    Ora12500 means your OS has run out of resources, so you cannot start a process on the Server Side. Post the complete error stack, the last lines show further information to troubleshoot this error.

  • Oracle 10G : ORA-12500: TNS:listener failed to start a dedicated server pro

    When connecting to Oracle I am getting this error. I have restarted the database, restarted the listener, but the problem does not go away. I have increased the processes to 400.
    Error :
    ORA-12500: TNS:listener failed to start a dedicated server process
    listener.log :
    27-APR-2004 11:15:38 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=BUILD.OCS.COM)(CID=(PROGRAM=C:\oracle\product\10.1.0\db_1\bin\sqlplus.exe)(HOST=MA-BUILDENV1)(USER=nkancharla))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.180.112)(PORT=2265)) * establish * BUILD.OCS.COM * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    Listener.trc :
    [27-APR-2004 11:14:38:382] snttcallback: op = 5, bytes = 170, err = 0
    [27-APR-2004 11:14:38:382] ntt2err: soc 324 error - operation=5, ntresnt[0]=524, ntresnt[1]=997, ntresnt[2]=0
    [27-APR-2004 11:14:38:382] nsdo: 160 bytes from NS buffer
    [27-APR-2004 11:14:38:382] nsglgrDoRegister: inst loads: ld1:12 mld1:100 ld2:12 mld2:445
    [27-APR-2004 11:14:38:382] nsdo: 68 bytes to NS buffer
    [27-APR-2004 11:15:38:951] nsopen: opening transport...
    [27-APR-2004 11:15:38:951] nttcnp: Validnode Table IN use; err 0x0
    [27-APR-2004 11:15:38:951] nttcnp: getting sockname
    [27-APR-2004 11:15:38:951] nttcnr: waiting to accept a connection.
    [27-APR-2004 11:15:38:951] nttcnr: getting sockname
    [27-APR-2004 11:15:38:951] nttcnr: connected on ipaddr 192.168.180.112
    [27-APR-2004 11:15:38:951] nttvlser: valid node check on incoming node 192.168.180.112
    [27-APR-2004 11:15:38:951] nttvlser: Accepted Entry: 192.168.180.112
    [27-APR-2004 11:15:38:951] nttcon: set TCP_NODELAY on 288
    [27-APR-2004 11:15:38:951] nsopen: transport is open
    [27-APR-2004 11:15:38:951] nsnainit: inf->nsinfflg[0]: 0xd inf->nsinfflg[1]: 0xd
    [27-APR-2004 11:15:38:951] nsopen: global context check-in (to slot 7) complete
    [27-APR-2004 11:15:38:951] nsanswer: deferring connect attempt; at stage 5
    [27-APR-2004 11:15:38:951] nscon: doing connect handshake...
    [27-APR-2004 11:15:38:951] nscon: got NSPTCN packet
    [27-APR-2004 11:15:38:951] nsevdrcvreq: recving connect data
    [27-APR-2004 11:15:38:951] nsdo: 248 bytes from NS buffer
    [27-APR-2004 11:15:38:951] nsevdansw: exit
    [27-APR-2004 11:15:38:951] nsglbgetRSPidx: returning ecode=0
    [27-APR-2004 11:15:38:951] nsc2addr: (ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oraclebuild)(ARGS='(LOCAL=NO)'))
    [27-APR-2004 11:15:38:951] nsbeqaddr: connecting...
    [27-APR-2004 11:15:38:951] snlpcss: Unable to spawn Oracle oracle (LOCAL=NO) build, error 258.
    [27-APR-2004 11:15:38:951] nserror: nsres: id=7, op=72, ns=12560, ns2=0; nt[0]=530, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [27-APR-2004 11:15:38:951] nscon: sending NSPTRF packet
    [27-APR-2004 11:15:38:951] nstimarmed: no timer allocated
    [27-APR-2004 11:15:38:951] nsclose: closing transport
    [27-APR-2004 11:15:38:951] nsclose: global context check-out (from slot 7) complete
    [27-APR-2004 11:15:38:951] nsgldissolve: Deallocating cxd 0xd89e18.

    Listener.ora:
    lsncrtl status:
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 27-APR-2004 11:27:56
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
    Start Date 27-APR-2004 11:27:23
    Uptime 0 days 0 hr. 0 min. 33 sec
    Trace Level admin
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    Listener Log File C:\oracle\product\10.1.0\db_1\network\log\listener.log
    Listener Trace File C:\oracle\product\10.1.0\db_1\network\trace\listener.trc
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ma-buildenv1.ocs.open-channels.com)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ma-buildenv1.ocs.open-channels.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ma-buildenv1.ocs.open-channels.com)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "BUILD" has 1 instance(s).
    Instance "BUILD", status UNKNOWN, has 1 handler(s) for this service...
    Service "BUILD.OCS.COM" has 1 instance(s).
    Instance "build", status READY, has 2 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    sqlnet.log:
    Fatal NI connect error 12500, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ma-buildenv1.ocs.open-channels.com)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=BUILD.OCS.COM)(CID=(PROGRAM=C:\oracle\product\10.1.0\db_1\bin\sqlplus.exe)(HOST=MA-BUILDENV1)(USER=nkancharla))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.1.0.2.0 - Production
    Time: 27-APR-2004 11:28:42
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    listener.log:
    27-APR-2004 11:28:42 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=BUILD.OCS.COM)(CID=(PROGRAM=C:\oracle\product\10.1.0\db_1\bin\sqlplus.exe)(HOST=MA-BUILDENV1)(USER=nkancharla))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.180.112)(PORT=2527)) * establish * BUILD.OCS.COM * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    listener.trc with ADMIN on:
    [27-APR-2004 11:28:42:011] nsevwait: 1 newly-posted event(s)
    [27-APR-2004 11:28:42:011] nsevfnt: cxd: 0xd3eed0 stage 0: NT events set:
         CONNECTION REQUEST
    [27-APR-2004 11:28:42:011] nsevfnt: cxd: 0xd3eed0 stage 0: NS events set:
         INCOMING CALL
    [27-APR-2004 11:28:42:011] nsevwait: event is 0x1, on 2
    [27-APR-2004 11:28:42:011] nsevwait: 1 posted event(s)
    [27-APR-2004 11:28:42:011] nsglhe: entry
    [27-APR-2004 11:28:42:011] nsmal: 536 bytes at 0xd7c1f0
    [27-APR-2004 11:28:42:011] nsmal: 1632 bytes at 0xd7e638
    [27-APR-2004 11:28:42:011] nsopen: opening transport...
    [27-APR-2004 11:28:42:011] nttcon: entry
    [27-APR-2004 11:28:42:011] nttcon: toc = 3
    [27-APR-2004 11:28:42:011] nttcnp: entry
    [27-APR-2004 11:28:42:011] ntvlin: entry
    [27-APR-2004 11:28:42:011] ntvlin: exit
    [27-APR-2004 11:28:42:011] nttcnp: Validnode Table IN use; err 0x0
    [27-APR-2004 11:28:42:011] nttcnp: getting sockname
    [27-APR-2004 11:28:42:011] nttcnp: exit
    [27-APR-2004 11:28:42:011] nttcnr: entry
    [27-APR-2004 11:28:42:011] nttcnr: waiting to accept a connection.
    [27-APR-2004 11:28:42:011] nttcnr: getting sockname
    [27-APR-2004 11:28:42:011] nttcnr: connected on ipaddr 192.168.180.112
    [27-APR-2004 11:28:42:011] nttvlser: entry
    [27-APR-2004 11:28:42:011] nttvlser: valid node check on incoming node 192.168.180.112
    [27-APR-2004 11:28:42:011] nttvlser: Accepted Entry: 192.168.180.112
    [27-APR-2004 11:28:42:011] nttcnr: exit
    [27-APR-2004 11:28:42:011] nttcon: set TCP_NODELAY on 248
    [27-APR-2004 11:28:42:011] nttcon: exit
    [27-APR-2004 11:28:42:011] nsopen: transport is open
    [27-APR-2004 11:28:42:011] nsnainit: answer
    [27-APR-2004 11:28:42:011] nsnasvnainfo: NA disabled for this connection
    [27-APR-2004 11:28:42:011] nainit: entry
    [27-APR-2004 11:28:42:011] nagblini: entry
    [27-APR-2004 11:28:42:011] nau_gin: entry
    [27-APR-2004 11:28:42:011] nau_gparams: entry
    [27-APR-2004 11:28:42:011] nam_gbp: Reading parameter "sqlnet.authentication_required" from parameter file
    [27-APR-2004 11:28:42:011] nam_gbp: Parameter not found
    [27-APR-2004 11:28:42:011] nau_gparams: Using default value "FALSE"
    [27-APR-2004 11:28:42:011] nau_gslf: entry
    [27-APR-2004 11:28:42:011] nam_gic: entry
    [27-APR-2004 11:28:42:011] nam_gic: Counting # of items in "sqlnet.authentication_services" parameter
    [27-APR-2004 11:28:42:011] nam_gic: Parameter not found
    [27-APR-2004 11:28:42:011] nam_gic: Found 0 items
    [27-APR-2004 11:28:42:011] nam_gic: exit
    [27-APR-2004 11:28:42:011] nau_gslf: Using default value "all available adapters"
    [27-APR-2004 11:28:42:011] nauss_set_state: entry
    [27-APR-2004 11:28:42:011] nauss_set_state: exit
    [27-APR-2004 11:28:42:011] nau_gslf: exit
    [27-APR-2004 11:28:42:011] nau_gparams: exit
    [27-APR-2004 11:28:42:011] nau_gin: exit
    [27-APR-2004 11:28:42:011] nagblini: exit
    [27-APR-2004 11:28:42:011] na_saveprot: entry
    [27-APR-2004 11:28:42:011] na_saveprot: exit
    [27-APR-2004 11:28:42:011] nacomin: entry
    [27-APR-2004 11:28:42:011] nas_init: entry
    [27-APR-2004 11:28:42:011] nas_init: exit
    [27-APR-2004 11:28:42:011] nau_ini: entry
    [27-APR-2004 11:28:42:011] naugcp_get_connect_parameters: entry
    [27-APR-2004 11:28:42:011] nauss_set_state: entry
    [27-APR-2004 11:28:42:011] nauss_set_state: exit
    [27-APR-2004 11:28:42:011] naugcp_get_connect_parameters: exit
    [27-APR-2004 11:28:42:011] nau_gettab: entry
    [27-APR-2004 11:28:42:011] nau_gettab: exit
    [27-APR-2004 11:28:42:011] nau_sini: entry
    [27-APR-2004 11:28:42:011] nau_sini: exit
    [27-APR-2004 11:28:42:011] nau_ini: exit
    [27-APR-2004 11:28:42:011] naeeinit: entry
    [27-APR-2004 11:28:42:011] nam_gbp: Reading parameter "SQLNET.FIPS_140" from parameter file
    [27-APR-2004 11:28:42:011] nam_gbp: Parameter not found
    [27-APR-2004 11:28:42:011] nam_gnsp: Reading parameter "SQLNET.ENCRYPTION_SERVER" from parameter file
    [27-APR-2004 11:28:42:011] nam_gnsp: Parameter not found
    [27-APR-2004 11:28:42:011] naequad: Using default value "ACCEPTED"
    [27-APR-2004 11:28:42:011] nam_gic: entry
    [27-APR-2004 11:28:42:011] nam_gic: Counting # of items in "SQLNET.ENCRYPTION_TYPES_SERVER" parameter
    [27-APR-2004 11:28:42:011] nam_gic: Parameter not found
    [27-APR-2004 11:28:42:011] nam_gic: exit
    [27-APR-2004 11:28:42:011] naesno: Using default value "all available algorithms"
    [27-APR-2004 11:28:42:011] naeshow: entry
    [27-APR-2004 11:28:42:011] naeshow: exit
    [27-APR-2004 11:28:42:011] naeeinit: exit
    [27-APR-2004 11:28:42:011] naecinit: entry
    [27-APR-2004 11:28:42:011] nam_gnsp: Reading parameter "SQLNET.CRYPTO_CHECKSUM_SERVER" from parameter file
    [27-APR-2004 11:28:42:011] nam_gnsp: Parameter not found
    [27-APR-2004 11:28:42:011] naequad: Using default value "ACCEPTED"
    [27-APR-2004 11:28:42:011] nam_gic: entry
    [27-APR-2004 11:28:42:011] nam_gic: Counting # of items in "SQLNET.CRYPTO_CHECKSUM_TYPES_SERVER" parameter
    [27-APR-2004 11:28:42:011] nam_gic: Parameter not found
    [27-APR-2004 11:28:42:011] nam_gic: exit
    [27-APR-2004 11:28:42:011] naesno: Using default value "all available algorithms"
    [27-APR-2004 11:28:42:011] naeshow: entry
    [27-APR-2004 11:28:42:011] naeshow: exit
    [27-APR-2004 11:28:42:011] naecinit: exit
    [27-APR-2004 11:28:42:011] nadisc: entry
    [27-APR-2004 11:28:42:011] nacomtm: entry
    [27-APR-2004 11:28:42:011] nacompd: entry
    [27-APR-2004 11:28:42:011] nacompd: exit
    [27-APR-2004 11:28:42:011] nacompd: entry
    [27-APR-2004 11:28:42:011] nacompd: exit
    [27-APR-2004 11:28:42:011] nacomtm: exit
    [27-APR-2004 11:28:42:011] nas_dis: entry
    [27-APR-2004 11:28:42:011] nas_dis: exit
    [27-APR-2004 11:28:42:011] nau_dis: entry
    [27-APR-2004 11:28:42:011] nau_dis: exit
    [27-APR-2004 11:28:42:011] naeetrm: entry
    [27-APR-2004 11:28:42:011] naeetrm: exit
    [27-APR-2004 11:28:42:011] naectrm: entry
    [27-APR-2004 11:28:42:011] naectrm: exit
    [27-APR-2004 11:28:42:011] nagbltrm: entry
    [27-APR-2004 11:28:42:011] nau_gtm: entry
    [27-APR-2004 11:28:42:011] nau_gtm: exit
    [27-APR-2004 11:28:42:011] nagbltrm: exit
    [27-APR-2004 11:28:42:011] nadisc: exit
    [27-APR-2004 11:28:42:011] nainit: exit
    [27-APR-2004 11:28:42:011] nsnainit: NS Connection version: 313
    [27-APR-2004 11:28:42:011] nsnainit: inf->nsinfflg[0]: 0xd inf->nsinfflg[1]: 0xd
    [27-APR-2004 11:28:42:011] nsnainit: "or" info flags: 0xd     Translations follow:
         native service(s) is (are) wanted
         NA disabled remotely for this connection
         NA services unavailable on both processes - negotiation not needed
    [27-APR-2004 11:28:42:011] nsnainit: "or" info flags: 0xd     Translations follow:
         native service(s) is (are) wanted
         NA disabled remotely for this connection
         NA services unavailable on both processes - negotiation not needed
    "and" info flags: 0xd     Translations follow:
         native service(s) is (are) wanted
         NA disabled remotely for this connection
         NA services unavailable on both processes - negotiation not needed
    [27-APR-2004 11:28:42:011] nsopen: global context check-in (to slot 7) complete
    [27-APR-2004 11:28:42:011] nsopen: lcl[0]=0x34ffefff, lcl[1]=0x12003, gbl[0]=0x7abf, gbl[1]=0x2001, tdu=32767, sdu=8192
    [27-APR-2004 11:28:42:011] nsdo: cid=7, opcode=65, bl=0, what=0, uflgs=0x0, cflgs=0x2
    [27-APR-2004 11:28:42:011] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsdo: nsctx: state=7, flg=0x4000, mvd=0
    [27-APR-2004 11:28:42:011] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsanswer: deferring connect attempt; at stage 5
    [27-APR-2004 11:28:42:011] nsevreg: begin registration process for 7
    [27-APR-2004 11:28:42:011] nsevreg: sgt=0, evn=4, evt[2]=0x0
    [27-APR-2004 11:28:42:011] nsevreg: begin notification process for 7
    [27-APR-2004 11:28:42:011] nsrah: setting transport read mode (2)
    [27-APR-2004 11:28:42:011] nttctl: entry
    [27-APR-2004 11:28:42:011] nttctl: Clearing non-blocking mode
    [27-APR-2004 11:28:42:011] nttctl: entry
    [27-APR-2004 11:28:42:011] nttctl: Setting connection into async mode
    [27-APR-2004 11:28:42:011] nsevreg: rdm=2, sgt=0, evt[0]=0x20, [1]=0x20, [2]=0x0, nrg=0
    [27-APR-2004 11:28:42:011] nsevreg: registering for 0x20
    [27-APR-2004 11:28:42:011] nttmrd: entry
    [27-APR-2004 11:28:42:011] nttrd: entry
    [27-APR-2004 11:28:42:011] snttcallback: entry
    [27-APR-2004 11:28:42:011] snttcallback: exit
    [27-APR-2004 11:28:42:011] nttrd: socket 248 had bytes read=316
    [27-APR-2004 11:28:42:011] nttrd: exit
    [27-APR-2004 11:28:42:011] nsglhe: exit
    [27-APR-2004 11:28:42:011] nsevwait: 7 registered connection(s)
    [27-APR-2004 11:28:42:011] nsevwait: 1 pre-posted event(s)
    [27-APR-2004 11:28:42:011] nsevwait: waiting for transport event (0 thru 7)...
    [27-APR-2004 11:28:42:011] nsevwait: 0 newly-posted event(s)
    [27-APR-2004 11:28:42:011] nsevwait: 1 pre-posted event(s)
    [27-APR-2004 11:28:42:011] nsevdansw: at STAGE 5
    [27-APR-2004 11:28:42:011] nsdo: cid=7, opcode=68, bl=2040, what=8, uflgs=0x0, cflgs=0x3
    [27-APR-2004 11:28:42:011] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsdo: nsctx: state=14, flg=0x4004, mvd=0
    [27-APR-2004 11:28:42:011] nsdo: gtn=10, gtc=10, ptn=10, ptc=8155
    [27-APR-2004 11:28:42:011] nscon: doing connect handshake...
    [27-APR-2004 11:28:42:011] nscon: recving a packet
    [27-APR-2004 11:28:42:011] nsprecv: 316 bytes from leftover
    [27-APR-2004 11:28:42:011] nsprecv: tlen=316, plen=58, type=1
    [27-APR-2004 11:28:42:011] nsprecv: 258 bytes to leftover
    [27-APR-2004 11:28:42:011] nscon: got NSPTCN packet
    [27-APR-2004 11:28:42:011] nsconneg: vsn=313, lov=300, opt=0x0, sdu=2048, tdu=32767, ntc=0x860e
    [27-APR-2004 11:28:42:011] nsconneg: vsn=313, gbl=0x1, sdu=2048, tdu=32767
    [27-APR-2004 11:28:42:011] nscon: got 248 bytes connect data
    [27-APR-2004 11:28:42:011] nscon: got 248 bytes connect data
    [27-APR-2004 11:28:42:011] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsevdrcvreq: recving connect data
    [27-APR-2004 11:28:42:011] nsdo: cid=7, opcode=68, bl=248, what=1, uflgs=0x4001, cflgs=0x0
    [27-APR-2004 11:28:42:011] nsdo: nsctx: state=2, flg=0x4004, mvd=0
    [27-APR-2004 11:28:42:011] nsdo: gtn=58, gtc=58, ptn=10, ptc=2011
    [27-APR-2004 11:28:42:011] nsrdr: recving a packet
    [27-APR-2004 11:28:42:011] nsprecv: 258 bytes from leftover
    [27-APR-2004 11:28:42:011] nsprecv: tlen=258, plen=258, type=6
    [27-APR-2004 11:28:42:011] nsrdr: got NSPTDA packet
    [27-APR-2004 11:28:42:011] nsrdr: NSPTDA flags: 0x0
    [27-APR-2004 11:28:42:011] nsdo: what=1, bl=248
    [27-APR-2004 11:28:42:011] nsdo: 248 bytes from NS buffer
    [27-APR-2004 11:28:42:011] nsevdrcvreq: got 248 bytes connect data
    [27-APR-2004 11:28:42:011] nsevdansw: exit
    [27-APR-2004 11:28:42:011] nsevwait: event is 0x20, on 7
    [27-APR-2004 11:28:42:011] nsevwait: 1 posted event(s)
    [27-APR-2004 11:28:42:011] nsglhe: entry
    [27-APR-2004 11:28:42:011] nsglfc: Assume establishing a connection...
    [27-APR-2004 11:28:42:011] nsglfc: command = establish
    [27-APR-2004 11:28:42:011] nsglauthorized: entry
    [27-APR-2004 11:28:42:011] nsglecmd: entry
    [27-APR-2004 11:28:42:011] nttaddr2bnd: entry
    [27-APR-2004 11:28:42:011] nttaddr2bnd: exit
    [27-APR-2004 11:28:42:011] nsglbgetRSPidx: entry
    [27-APR-2004 11:28:42:011] nsglbgetRSPidx: returning ecode=0
    [27-APR-2004 11:28:42:011] nsglbgetRSPidx: exit
    [27-APR-2004 11:28:42:011] nsglb: entry
    [27-APR-2004 11:28:42:011] nsglb: exit
    [27-APR-2004 11:28:42:011] nsc2addr: (ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oraclebuild)(ARGS='(LOCAL=NO)'))
    [27-APR-2004 11:28:42:011] nlpcaini: entry
    [27-APR-2004 11:28:42:011] nlpcaini: prg = oracle
    [27-APR-2004 11:28:42:011] nlpcaini: arg[0] = oraclebuild
    [27-APR-2004 11:28:42:011] nlpcaini: arg[1] = (LOCAL=NO)
    [27-APR-2004 11:28:42:011] nlpcaini: exit
    [27-APR-2004 11:28:42:011] nsbeqaddr: connecting...
    [27-APR-2004 11:28:42:011] ntpcon: entry
    [27-APR-2004 11:28:42:011] ntpcon: toc = 1
    [27-APR-2004 11:28:42:011] sntpcall: entry
    [27-APR-2004 11:28:42:011] snlpcss: entry
    [27-APR-2004 11:28:42:011] snlpcss: Unable to spawn Oracle oracle (LOCAL=NO) build, error 258.
    [27-APR-2004 11:28:42:011] sntpcall: exit
    [27-APR-2004 11:28:42:011] ntpcon: exit
    [27-APR-2004 11:28:42:011] nserror: nsres: id=7, op=72, ns=12560, ns2=0; nt[0]=530, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [27-APR-2004 11:28:42:011] nsglrespond: entry
    [27-APR-2004 11:28:42:011] nsdo: cid=7, opcode=67, bl=161, what=10, uflgs=0x0, cflgs=0x3
    [27-APR-2004 11:28:42:011] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsdo: nsctx: state=2, flg=0x4004, mvd=0
    [27-APR-2004 11:28:42:011] nsdo: gtn=258, gtc=258, ptn=10, ptc=2011
    [27-APR-2004 11:28:42:011] nscon: sending NSPTRF packet
    [27-APR-2004 11:28:42:011] nspsend: plen=173, type=4
    [27-APR-2004 11:28:42:011] nttmwr: entry
    [27-APR-2004 11:28:42:011] nttwr: entry
    [27-APR-2004 11:28:42:011] snttcallback: entry
    [27-APR-2004 11:28:42:011] snttcallback: exit
    [27-APR-2004 11:28:42:011] nttwr: socket 248 had bytes written=173
    [27-APR-2004 11:28:42:011] nttwr: exit
    [27-APR-2004 11:28:42:011] nspsend: 173 bytes to transport
    [27-APR-2004 11:28:42:011] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:42:011] nstimarmed: no timer allocated
    [27-APR-2004 11:28:42:011] nttctl: entry
    [27-APR-2004 11:28:42:011] nttctl: entry
    [27-APR-2004 11:28:42:011] nsdo: cid=7, opcode=66, bl=0, what=0, uflgs=0x0, cflgs=0x2
    [27-APR-2004 11:28:42:011] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsdo: nsctx: state=2, flg=0x4000, mvd=0
    [27-APR-2004 11:28:42:011] nsevunreg: cid=7, sgt=0, rdm=2
    [27-APR-2004 11:28:42:011] nsrah: re-setting transport read mode
    [27-APR-2004 11:28:42:011] nttctl: entry
    [27-APR-2004 11:28:42:011] nttctl: Clearing async mode
    [27-APR-2004 11:28:42:011] nsevunreg: 6 registered connection(s)
    [27-APR-2004 11:28:42:011] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsclose: closing transport
    [27-APR-2004 11:28:42:011] nttdisc: entry
    [27-APR-2004 11:28:42:011] nttdisc: Closed socket 248
    [27-APR-2004 11:28:42:011] nttdisc: exit
    [27-APR-2004 11:28:42:011] nsclose: global context check-out (from slot 7) complete
    [27-APR-2004 11:28:42:011] nsmfr: 1632 bytes at 0xd7e638
    [27-APR-2004 11:28:42:011] nsmfr: 536 bytes at 0xd7c1f0
    [27-APR-2004 11:28:42:011] nsgldissolve: entry
    [27-APR-2004 11:28:42:011] nsgldissolve: Deallocating cxd 0xd7c608.
    [27-APR-2004 11:28:42:011] nsgldissolve: exit
    [27-APR-2004 11:28:42:011] nsglrespond: exit
    [27-APR-2004 11:28:42:011] nsglecmd: exit
    [27-APR-2004 11:28:42:011] nsglhe: exit
    [27-APR-2004 11:28:42:011] nsevwait: 6 registered connection(s)
    [27-APR-2004 11:28:42:011] nsevwait: 0 pre-posted event(s)
    [27-APR-2004 11:28:42:011] nsevwait: waiting for transport event (0 thru 6)...
    [27-APR-2004 11:28:45:136] snttcallback: entry
    [27-APR-2004 11:28:45:136] snttcallback: op = 5, bytes = 170, err = 0
    [27-APR-2004 11:28:45:136] snttcallback: exit
    [27-APR-2004 11:28:45:136] nsevwait: 0 newly-posted event(s)
    [27-APR-2004 11:28:45:136] nsevfnt: cxd: 0xd597c8 stage 0: NT events set:
         READ
    [27-APR-2004 11:28:45:136] nsevfnt: cxd: 0xd597c8 stage 0: NS events set:
         INCOMING SEND
    [27-APR-2004 11:28:45:136] nsevwait: event is 0x2, on 4
    [27-APR-2004 11:28:45:136] nsevwait: 1 posted event(s)
    [27-APR-2004 11:28:45:136] nsglhe: entry
    [27-APR-2004 11:28:45:136] nsglrohe: entry
    [27-APR-2004 11:28:45:136] nsdo: cid=4, opcode=68, bl=8196, what=0, uflgs=0x0, cflgs=0x3
    [27-APR-2004 11:28:45:136] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:45:136] nsdo: nsctx: state=8, flg=0x400c, mvd=0
    [27-APR-2004 11:28:45:136] nsdo: gtn=258, gtc=258, ptn=10, ptc=8155
    [27-APR-2004 11:28:45:136] nsrdr: recving a packet
    [27-APR-2004 11:28:45:136] nsprecv: 170 bytes from leftover
    [27-APR-2004 11:28:45:136] nsprecv: tlen=170, plen=170, type=6
    [27-APR-2004 11:28:45:136] nttmrd: entry
    [27-APR-2004 11:28:45:136] nttrd: entry
    [27-APR-2004 11:28:45:136] ntt2err: entry
    [27-APR-2004 11:28:45:136] ntt2err: soc 296 error - operation=5, ntresnt[0]=524, ntresnt[1]=997, ntresnt[2]=0
    [27-APR-2004 11:28:45:136] ntt2err: exit
    [27-APR-2004 11:28:45:136] nttrd: exit
    [27-APR-2004 11:28:45:136] nsrdr: got NSPTDA packet
    [27-APR-2004 11:28:45:136] nsrdr: NSPTDA flags: 0x0
    [27-APR-2004 11:28:45:136] nsdo: what=1, bl=8196
    [27-APR-2004 11:28:45:136] nsdo: 160 bytes from NS buffer
    [27-APR-2004 11:28:45:136] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:45:136] nsglgrDoRegister: inst loads: ld1:51 mld1:100 ld2:12 mld2:445
    [27-APR-2004 11:28:45:136] nsglgrDoRegister: exit
    [27-APR-2004 11:28:45:136] nsdo: cid=4, opcode=67, bl=68, what=1, uflgs=0x2, cflgs=0x3
    [27-APR-2004 11:28:45:136] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:45:136] nsdo: nsctx: state=8, flg=0x400c, mvd=0
    [27-APR-2004 11:28:45:136] nsdo: gtn=170, gtc=170, ptn=10, ptc=8155
    [27-APR-2004 11:28:45:136] nsdo: 68 bytes to NS buffer
    [27-APR-2004 11:28:45:136] nsdofls: DATA flags: 0x0
    [27-APR-2004 11:28:45:136] nsdofls: sending NSPTDA packet
    [27-APR-2004 11:28:45:136] nspsend: plen=78, type=6
    [27-APR-2004 11:28:45:136] nttmwr: entry
    [27-APR-2004 11:28:45:136] nttwr: entry
    [27-APR-2004 11:28:45:136] snttcallback: entry
    [27-APR-2004 11:28:45:136] snttcallback: exit
    [27-APR-2004 11:28:45:136] nttwr: socket 296 had bytes written=78
    [27-APR-2004 11:28:45:136] nttwr: exit
    [27-APR-2004 11:28:45:136] nspsend: 78 bytes to transport
    [27-APR-2004 11:28:45:136] nsdoacts: flushing transport
    [27-APR-2004 11:28:45:136] nttctl: entry
    [27-APR-2004 11:28:45:136] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:45:136] nsglroHandleError: exit
    [27-APR-2004 11:28:45:136] nsglrohe: exit
    [27-APR-2004 11:28:45:136] nsglhe: exit
    [27-APR-2004 11:28:45:136] nsevwait: 6 registered connection(s)
    [27-APR-2004 11:28:45:136] nsevwait: 0 pre-posted event(s)
    [27-APR-2004 11:28:45:136] nsevwait: waiting for transport event (0 thru 6)...

  • 'ORA-12500: TNS: Listener failed to start a dedicated server process'

    Hi,
    While connecting from one database to another users are getting the below error when they are giving a select statement,its taking around 30 minutes and showing
    'ORA-12500: TNS: Listener failed to start a dedicated server process'...
    What could be the issue...
    Thanks,
    Kr.

    If database to which they are trying to connect is running, then check listener.log ($ORACLE_HOME/network/log).
    Probably there is not enough system resources - check opsystem logs as well (on unix /var/log or /var/adm) on windows look at events.
    Look into db alert.log as well.

  • ERROR: ORA-12514: TNS:listener does not currently know of service requested

    My Data base in Linux box, I have default SID as ORCL, and i have created 3 more instances of DB (TST1,TST2 and TST3) . As long as my system has not restated, I am bale connect to the instances. Once my system restated i am unable to connect to the new instances of DB.. Pl adivice..Thanks..
    In sqlplus: username/password @ ORCL - working fine...
    username/password @TST1 or other services ...i am getting ..error .. ERROR: ORA-12514: TNS:listener does not currently know of service requested
    I have created all instances of DB by using below command:
    dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname TST1 -sid TST1 -responseFile NO_VALUE -characterSet AL32UTF8 -memoryPercentage 40 -emConfiguration LOCAL
    Edited by: user10980939 on Jul 20, 2011 2:16 PM

    -- Below is my tnsnames.ora and listner.ora files....Pl let me know how to add different ports...
    cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_BHPT =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
    TFOCUS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TFOCUS)
    BDO_PDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.153)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = BDO_PDB)
    LISTENER_BDOT =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
    LISTENER_TFOCUS =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
    BHPT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = BHPT)
    BDOAIX61 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.224)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = bdo)
    BDOT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = BDOT)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    Listner.ora file
    [oracle@WBE07180 admin]$ cat listener.ora
    # listener.ora Network Configuration File: /home/oracle/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)
    (SID_NAME = ORCL)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
    ADR_BASE_LISTENER = /home/oracle/app/oracle

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

    I have a java code that tries to connect to my oracle database.Below given the code snippet.
    I am getting error when I ran this code.
    Java code.
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class jdbc {
       public static void main(String[] args) {
         try {
             Class.forName("oracle.jdbc.OracleDriver");
         } catch (ClassNotFoundException e) {
             e.printStackTrace();
             return;
         Connection connection = null;
         try {
             connection = DriverManager.getConnection(
                     "jdbc:oracle:thin:@localhost:1521:XE", "SCOTT",
                     "password");
         } catch (SQLException e) {
             e.printStackTrace();
             return;
    Error I am getting is
    java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Can Someone explain me what is wrong here?

    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ip
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tc
    Services Summary...
    Service "CLRExtProc" has 1 instance(
      Instance "CLRExtProc", status UNKN
    Service "PLSExtProc" has 1 instance(
      Instance "PLSExtProc", status UNKN
    The command completed successfully
    Obviously there is no handler for XE service.
    Maybe you changed hostname(this should be "Owner-PC") ?
    Try to manually start/stop db and see if there are some errors:
    sqlplus / as sysdba
    startup
    shutdown immediate
    If after that you still can't find cause, try to ask on oracle db forum.
    Dario

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

  • Data Guard Broker teasing error ORA-12514: TNS:listener

    Hello,
    I have spent many hours but don't understand what little thing I am missing or confusing me.. Please help to fix the issue.
    Physical Standb db created successfully, but now facing following issue: Though it should be and must be fixed but really making me mad
    DGMGRL> SHOW CONFIGURATION;
    Configuration - DATA GUARD
      Protection Mode: MaxPerformance
      Databases:
        dg - Primary database
    Fast-Start Failover: DISABLED
    Configuration Status:
    DISABLED
    DGMGRL> ADD DATABASE DG_DB2
    > AS CONNECT IDENTIFIER IS DG_DB2
    > MAINTAINED AS PHYSICAL;
    Error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Failed.
    PRIM:
    db_name: DG
    db_unique_name: dg
    service_names:  dg
    STBY:
    db_name: DG
    db_unique_name: dg_db2
    service_names:  dg_db2
    # TNSNAMES same entries on both Primary and Standby: HOSTNAMES are different.
    DG =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = dg)
    DG_DB2 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = db02.domain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = dg_db2)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))   db02.domain for Standby on standby machine.
    # Listener.ora on PRIMARY:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = dg_DGMGRL.domain)
          (ORACLE_HOME = /oracle/app/11g/db)
           (SID_NAME = dg)
           (SERVICE_NAME = dg.domain)
    # Listener.ora on Standby:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = dg_db2_DGMGRL.domain)
          (ORACLE_HOME = /oracle/app/11g/db)
           (SID_NAME = dg_db2)
           (SERVICE_NAME = dg_db2.domain)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = db02.domain)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    I created Stby DB with the minimum parameters required, so that I configure BROKER and see it magic, but badly stuck in this situation here. I have read many docs related to this..but can not fix it unfortunately.
    Please guide me from your own experience as note ids, blogs are not helping me here...
    Bundle of thanks.
    Best Regards

    Hi,
    Your listener.ora file has SERVICE_NAME = dg_db2.domain whereas tnsnames.ora file has SERVICE_NAME = dg_db2.
    Check in your database for exact service name and reflect the same in both the files.
    SQL> sho parameter service_names
    Restart the listener and try connecting.
    Thank you!!

  • Java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

    Good Day,
    I'm encountering this problem
         java.sql.SQLException: Listener refused the connection with the following error:
         ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    here's the java code
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    String url = "jdbc:oracle:thin:@//10.143.85.21/UCSL";
    String userName = "mssoriano";
    String passWord = "mssoriano_4319";
    conn = DriverManager.getConnection(url, userName, passWord);
    and here's my tnsnames.ora
    UCSL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.143.85.21)(PORT = 1521))
        (CONNECT_DATA =
          (SID = psusldb11)
    Please do let me know if what may the cause of the problem and how to solve this. Thank you and God bless.

    Hi,
    see this example
    Connect to Oracle DB via JDBC driver
    Frank

  • Hyperion startup error -ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

    Hi All,
    While restarting the hyperion service we see this exception. Nothing was changed on the hyperion server. Checking with DB team if anything was change on their end.
    Caused By: 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-12514, TNS:listener does not currently know of service requested in connect descriptor
            at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:283)
            at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1310)
            at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1227)
            at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:250)
            at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1330)
            Truncated. see log file for complete stacktrace
    We don't have oracle client on our end, so this is not a tnsnames issue. This is preventing all the hyperion services coming up.
    Thanks,

    The listener is up , the message is from the listener indicating the listener does not know of SID/SERVICE name that you are giving it. Manually connect to the db using sqldeveloper in order to make sure the parameters you are providing are working. Pay special attention to SID vs SERVICE_NAME. Then try to open config tool and go back to your database connection info. Reconfigure your database connection. It will likely you will find your connection error there. Also sometimes the config tool has trouble figuring out whether you mean SID or SERVICE_NAME. You can open advanced properties on the connection in configtool and specify / or : in the url.
    Java JDBC - How to connect to Oracle using Service Name instead of SID - Stack Overflow

  • An error was encountered performing the requested operation:  Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor    Vendor code 12505

    From sql developer I am trying to connect to database in my local machine. It shows the following below error. Any suggestions?
    An error was encountered performing the requested operation:
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Vendor code 12505

    lsnrctl results are as shown below
    C:\Users\ndodd_000>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:40
    :25
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                18-AUG-2013 15:29:41
    Uptime                    0 days 2 hr. 10 min. 50 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\ndodd_000\product\11.2.0\dbhome_1\network\admin
    \listener.ora
    Listener Log File         c:\app\ndodd_000\diag\tnslsnr\Vamsi\listener\alert\log
    .xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "sysdba" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
    Service "sysdbaXDB" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
    The command completed successfully
    lsnrctl service results
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:
    :20
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "sysdba" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:186 refused:0 state:ready
             LOCAL SERVER
    Service "sysdbaXDB" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: VAMSI, pid: 904>
             (ADDRESS=(PROTOCOL=tcp)(HOST=Vamsi)(PORT=49237))
    The command completed successfully

  • EM arise this error ORA-12505: TNS:listener does not currently know of SID

    I have installation of Oracle 10g server on win 2k3 OS. This installation was done from the other. Now it in EM Agent Connection to Instance doesn't work and i received this error:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    I have tried to understand: listener.ora, sqlnet.ora and tnsnames.ora but it's unclear, I'm a beginner in Oracle field.
    here i'll paste listener.ora content:
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
         (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = LNZ-PEOPLESOFT)(PORT = 1521))
    content tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    PS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = LNZ-PEOPLESOFT)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PS)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = LNZ-PEOPLESOFT)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    i'll give and reslult after execute lsnrctl status:
    C:\>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 18-JUL-2012 15:07
    :44
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LNZ-PEOPLESOFT)(PORT=152
    1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 18-JUL-2012 14:32:44
    Uptime 0 days 0 hr. 35 min. 2 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LNZ-PEOPLESOFT.microfocus.com)(PORT=
    1521)))
    Services Summary...
    Service "PS_XPT" has 1 instance(s).
    Instance "ps", status READY, has 1 handler(s) for this service...
    Service "ps" has 1 instance(s).
    Instance "ps", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\>lsnrctl service
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 18-JUL-2012 15:08
    :34
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LNZ-PEOPLESOFT)(PORT=152
    1)))
    Services Summary...
    Service "PS_XPT" has 1 instance(s).
    Instance "ps", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "ps" has 1 instance(s).
    Instance "ps", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    I can login in sqlplus with as sysdba and with system/manager
    Thank you in advance

    I have compare listener.ora and tnsnames.ora but there using host name of the machine. On the machines Firewall is disabled
    listener.ora
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
         (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = LNZ-PEOPLESOFT)(PORT = 1521))
    tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    PS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = LNZ-PEOPLESOFT)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PS)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = LNZ-PEOPLESOFT)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

  • TNS listener error "ORA-12514: TNS:listener..."

    Hi all,
    I have a problem with my listener on Oracle 11.2.0.2.
    I am more of a developer than a DBA, and I do not have a DBA to consult, so I hope you can address me, please.
    I have 2 DB instances running on the same machine ORCL and ORCL2 on port 1521, both using the same listener "LISTENER" as well on port 1521.
    In my TNSnames I had to add yesterday as well a new entry to a DB (ORCL3) hosted on a different machine.
    Since then, I can connect to ORCL and ORCL3 without problem via sqlplus, but I get the below error when I connect to ORCL2:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    I think the answer is to have to separate listeners for ORCL and ORCL2, but I have had several failed attempts.
    Can you please advise on what I need to do? I have looked at various sites, but if you are not too experienced with listeners, they are not really very clear.
    Thanks

    Hi, thanks.
    ORANAMES:
    # tnsnames.ora Network Configuration File: C:\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORCL2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl2)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.xxx.xxx.net)
    ORCL3 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 1.2.3.4)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.2.3.4)
    STATUS:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    Start Date 28-JAN-2012 10:14:06
    Uptime 0 days 2 hr. 19 min. 26 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File C:\oracle\diag\tnslsnr\xxx\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.xxx.xxx.net" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.xxx.xxx.net" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully

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

    Dears,
    On our AIX 6.1 server we were having one PI dev(PD1) instance,Now we have installed one PI QAS(PQ1) instance on it.
    Now issue is that PD1 is working fine but while starting PQ1 instance it is giving error:
    I have also changed port in listner,tnsnames.ora and in configtool to 1526 for PQ1 instance.
    Checking PQ1 Database
    Database is not available via R3trans
    Running /usr/sap/PQ1/SYS/exe/run/startdb
    Trying to start PQ1 database ...
    Log file: /home/pq1adm/startdb.log
    /usr/sap/PQ1/SYS/exe/run/startdb: Terminating with error code 12
    DB startup failed
    While by SQLPLUS I checked that oracle is up but issue is SAP is not able to connect to oracle.
    R3trans -x
    This is R3trans version 6.18 (release 710 - 08.10.07 - 13:37:00).
    unicode enabled version
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'PQ1'"
    R3trans finished (0012).
    trans.log says:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor'
    Please suggest.
    Shivam

    Dears,
    Content of the files are:
    tnsnames.ora
    PQ1.WORLD=
      (DESCRIPTION =
        (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = pidev)
              (PORT = 1526)
        (CONNECT_DATA =
           (SID = PQ1)
           (GLOBAL_NAME = PQ1.WORLD)
    listner.ora
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
      (ADDRESS_LIST =
            (ADDRESS =
              (PROTOCOL = IPC)
              (KEY = PQ1.WORLD)
            (ADDRESS=
              (PROTOCOL = IPC)
              (KEY = PQ1)
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = pidev)
              (PORT = 1526)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PQ1)
          (ORACLE_HOME = /oracle/PQ1/102_64)
    Output of R3trans -x
    pidev:pq1adm> R3trans -x
    This is R3trans version 6.18 (release 710 - 08.10.07 - 13:37:00).
    unicode enabled version
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'PQ1'"
    R3trans finished (0012).
    Service file entries are:
    #pdap-np                 1526/tcp               # Prospero Data Access Prot non-priv
    #pdap-np                 1526/udp               # Prospero Data Access Prot non-priv
    tlisrv                  1527/tcp                # oracle
    tlisrv                  1527/udp                # oracle
    tlisrv                  1526/tcp
    tlisrv                  1526/udp
    trans.log contains:
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12505
    4 ETW000                                                                              55  0.017769
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12505'
    4 ETW000                                                                              52  0.017821
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 12505        31  0.017852
    4 ETW000  [dev trc     ,00000]     OCIErrorGet -> SQL error code: 0                   70  0.017922
    4 ETW000  [dev trc     ,00000]     error text: 'ORA-12505: TNS:listener does not currently know of SID given in connect descriptor'
    4 ETW000                                                                              48  0.017970
    4 ETW000  [dblink      ,00000]  ***LOG BY2=>sql error 12505  performing CON           71  0.018041
    4 ETW000  [dblink      ,00000]  ***LOG BY0=>ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    4 ETW000                                                                              61  0.018102
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'PQ1'"
    Please suggest.
    Shivam

Maybe you are looking for