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!

cant connect ASM instance ORA-12514, TNS:listener does not currently know of service requested in c

AhmetMelihJun 2 2016 — edited Jun 2 2016

hello . I try to connect ASM instance but there is no service in listener. What should I do? I use Oracle RAC 12c ODA machine.

i wrote on tnsnames.ora

ASM =

(DESCRIPTION =

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

    (CONNECT_DATA =

      (SERVER = DEDICATED)

      (SERVICE_NAME = +ASM)

      (UR = A)

    )

  )

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

command  sqlplus asm_maint@ASMNEWLSNR_ASM as sysasm

tnsnames ora

Listening Endpoints Summary...

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

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

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

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=orcl0.dmi.local)(PORT=5500))(Security=(my_wallet_directory=/u01/app/oracle/product/12.1.0.2/dbhome_1/admin/orcl/xdb_wallet))(Presentation=HTTP)(Session=RAW))

Services Summary...

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

  Instance "+APX1", status READY, has 1 handler(s) for this service...

Service "orcl" has 1 instance(s).

  Instance "orcl1", status READY, has 1 handler(s) for this service...

Service "orclXDB" has 1 instance(s).

  Instance "orcl1", status READY, has 1 handler(s) for this service...

The command completed successfully

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2016
Added on Jun 2 2016
19 comments
3,751 views