Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Not able to connect with service name

Sarat_yahooMar 17 2016 — edited Mar 18 2016

Hi Gurus -

Oracle 11.2.0.4

I unable to connect to database using service name - Also i could not able to see the service name in listener status.Could anyone help me

MYDB =

  (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = smsnt.ndo.com)(PORT = 1521))

    (CONNECT_DATA =

      (SERVER = DEDICATED)

      (SERVICE_NAME = MYDB.ndo.com)

    )

  )

MYDB.NDO.COM =

  (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = smsnt.ndo.com)(PORT = 1521))

    (CONNECT_DATA =

      (SERVER = DEDICATED)

      (SERVICE_NAME = MYDB.ndo.com)

    )

  )

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 17-MAR-2016 03:04:24

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

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

STATUS of the LISTENER

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

Alias                     LISTENER

Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production

Start Date                16-MAR-2016 10:26:31

Uptime                    0 days 16 hr. 37 min. 53 sec

Trace Level               off

Security                  ON: Local OS Authentication

SNMP                      OFF

Listener Parameter File   /oracle/network/admin/listener.ora

Listener Log File         /oracle/diag/tnslsnr/smsnt/listener/alert/log.xml

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=smsnt.ndo.com)(PORT=1521)))

Services Summary...

Service "+ASM" has 1 instance(s).

  Instance "+ASM", status UNKNOWN, has 1 handler(s) for this service...

Service "MYDB" has 1 instance(s).

  Instance "MYDB", status UNKNOWN, has 1 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

This post has been answered by JohnWatson2 on Mar 17 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2016
Added on Mar 17 2016
41 comments
7,737 views