I
I
ince2019-01-23 10:24:37
Oracle
ince, 2019-01-23 10:24:37

Why the error ORA-12514: TNS:listener does not currently know of service requested in connect descriptor?

My listener.ora:

# LISTENER =
#  (ADDRESS_LIST=
#	(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
#	(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))	

# SID_LIST_<lsnr>
#   List of services the listener knows about and can connect 
#   clients to.  There is no default.  See the Net8 Administrator's
#   Guide for more information.
#
# SID_LIST_LISTENER=
#   (SID_LIST=
#	(SID_DESC=
#			#BEQUEATH CONFIG
#          (GLOBAL_DBNAME=orz)
#          (SID_NAME=ORZ)
#          (ORACLE_HOME=c:/oracle/product/12.1se/)
#			#PRESPAWN CONFIG
#         (PRESPAWN_MAX=20)
#	  (PRESPAWN_LIST=
#           (PRESPAWN_DESC=(PROTOCOL=tcp)(POOL_SIZE=2)(TIMEOUT=1))
#         )
#        )
#       )

There is no SERVICE_NAME parameter in tnsnames.ora

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
idShura, 2019-01-23
@idShura

In your listener.ora, all lines are commented out (The # sign comments on a line)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question