ITPub博客

首页 > 数据库 > Oracle > The Listener Supports No Services

The Listener Supports No Services

原创 Oracle 作者:Curry_0316 时间:2015-04-14 15:40:26 0 删除 编辑
本文摘自MOS文档:The Listener Supports No Services (文档 ID 1640082.1)

APPLIES TO:

Oracle Net Services - Version 11.2.0.1 and later
Information in this document applies to any platform.

SYMPTOMS

11.2 RAC listener shows no services registered. Command lsnrctl services reports

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 12-MAY-2014 13:30:56

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
 

srvctl start listener -h

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博客 ” ,链接:https://blog.itpub.net/29953799/viewspace-1575648/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-10-11

  • 博文量
    89
  • 访问量
    280152