Quantcast
Channel: SCN : All Content - SAP on Oracle
Viewing all articles
Browse latest Browse all 2104

Parameter is not taken by Listener?

$
0
0


Hi there,

 

The obvious cause is that incorrect listener.ora was modified.

I recently came accross an issue where a specific listener parameter wasn't taken by listener although the service was restarted several times.

Well, finding the cause was a bit tricky as it wasn't so obvious and LSNRCTL command line tool didn't reveal the location of the file either but any modification in that tool was possible.

 

Check always lsnrctl status <listener> to see which listener configuration file is used:

 

[oracle@asmtest ~]$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 17-NOV-2014 11:33:02

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

Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=AS1.WORLD))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date                11-NOV-2014 09:29:41
Uptime                    6 days 2 hr. 3 min. 21 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /oracle/AS1/112/network/admin/listener.ora
Listener Log File         /oracle/AS1/saptrace/diag/tnslsnr/asmtest/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=AS1.WORLD)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=AS1)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=asmtest.dhcp.budl.sap.corp)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
  Instance "+ASM", status READY, has 1 handler(s) for this service...
Service "AS1" has 2 instance(s).
  Instance "AS1", status UNKNOWN, has 1 handler(s) for this service...
  Instance "AS1", status READY, has 1 handler(s) for this service...
The command completed successfully

 

If you don't see the line marked with boldface type, so "Listener Parameter File", things could go nasty. As there are several locations based on your OS where listener.ora could be taken from.If listener status doesn't show the location you have to scan all locations to identify it.

On Unix/Linux these directories are (in priority order):

- /etc/ or  /var/opt/oracle/ (only on Solaris)

- TNS_ADMIN

- $ORACLE_HOME/network/admin/

 

On Windows (in priority order):

- TNS_ADMIN or registry value

-%ORACLE_HOME%\network\admin\

 

Regards,

János


Viewing all articles
Browse latest Browse all 2104

Trending Articles



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