APPLIES TO:
Oracle Net Services - Version 11.2.0.1 and laterInformation in this document applies to any platform.
SYMPTOMS
11.2 RAC listener shows no services registered. Command lsnrctl services reports
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 12-MAY-2014 13:30:53
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/11.2.0/grid/log/diag/tnslsnr/cetrain01/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
The listener supports no services
The command completed successfully
CAUSE
Listener had been started via listener control (LSNRCTL). Listeners for 11.2 RAC onwards, need to be managed via server control.
That is, the TNSLSNR process needs to be stopped,started,etc via SRVCTL and not LSNRCTL
Starts the listener.
Usage: srvctl start listener [-l ] [-n ]
-l Listener name
-n Node name
-h Print usage
srvctl start scan_listener -h
Starts the specified SCAN listener.
Usage: srvctl start scan_listener [-n ] [-i ]
-i Ordinal number of IP address
-n Node name
-h Print usage
SOLUTION
Stop the listener and restart it using command svrctl start listener -l
Use lsnrctl control (LSNRCL) only for admin purposes, like enabling of tracing, checking of services and status.
Stop and start of the listener processes should be done via svrctl commands.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29953799/viewspace-1575648/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29953799/viewspace-1575648/