Quantcast
Channel: SCN : Popular Discussions - SAP on Oracle
Viewing all articles
Browse latest Browse all 810

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

$
0
0

Dear All,

 

SAP is running on Windows 2008 Server. I tried to connect to Oracle database using SQL Plus. First of all I got this error:

 

ORA-12541: TNS:no listener

 

so I found files listener.ora and tnsnames.ora. Inside was only one port specified - 1527.

I added description for port 1521 and now I have an error:

 

ORA-12514: TNS:listener does not currently know of service requested in connect description

 

My files looks like that:

 

################
# Filename......: listener.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/701-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#1 $
################
ADMIN_RESTRICTIONS_LISTENER = on
LISTENER =  (ADDRESS_LIST =        (ADDRESS =          (PROTOCOL = IPC)          (KEY = S11.WORLD)        )        (ADDRESS=          (PROTOCOL = IPC)          (KEY = S11)        )        (ADDRESS =          (COMMUNITY = SAP.WORLD)          (PROTOCOL = TCP)          (HOST = SAPSVR)          (PORT = 1527)        )        (ADDRESS =          (COMMUNITY = SAP.WORLD)          (PROTOCOL = TCP)          (HOST = SAPSVR)          (PORT = 1521)        )  )
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
SID_LIST_LISTENER =  (SID_LIST =    (SID_DESC =      (SID_NAME = S11)      (ORACLE_HOME = D:\oracle\S11\102)    )  )

 

################
# Filename......: tnsnames.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/701-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#1 $
################
S11.WORLD=  (DESCRIPTION =    (ADDRESS_LIST =         (ADDRESS =           (COMMUNITY = SAP.WORLD)          (PROTOCOL = TCP)          (HOST = SAPSVR)          (PORT = 1527)        )        (ADDRESS =           (COMMUNITY = SAP.WORLD)          (PROTOCOL = TCP)          (HOST = SAPSVR)          (PORT = 1521)        )    )    (CONNECT_DATA =       (SID = S11)       (GLOBAL_NAME = S11.WORLD)    )  )

 

Each time I change files I restart service OracleS11102TNSListener but I still have that error.

 

lsnrctl status:

 

LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 04-MAR-2011 09:37:11

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

Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=S11.WORLD))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production
Start Date                04-MAR-2011 09:37:00
Uptime                    0 days 0 hr. 0 min. 11 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   D:\oracle\S11\102\network\admin\listener.ora
Listener Log File         D:\oracle\S11\102\network\log\listener.log
Listening Endpoints Summary...  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\S11.WORLDipc)))  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\S11ipc)))  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SAPSVR)(PORT=1527)))  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SAPSVR)(PORT=1521)))
Services Summary...
Service "S11" has 1 instance(s).  Instance "S11", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

 

Does anyone know how to fix it? Thank you in advance.


Viewing all articles
Browse latest Browse all 810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>