The listener supports no services

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The listener supports no services相关的知识,希望对你有一定的参考价值。

启动监听时找不到数据库实例

[[email protected]]$ lsnrctl start

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 16-NOV-2017 09:52:29

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

Starting /home/oracle/app/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.3.0 - Production
System parameter file is /home/oracle/app/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /home/oracle/app/diag/tnslsnr/fstsg/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fstsg)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date                16-NOV-2017 09:52:29
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /home/oracle/app/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File         /home/oracle/app/diag/tnslsnr/fstsg/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fstsg)(PORT=1521)))
The listener supports no services
The command completed successfully

修改listener.ora

#vi $ORACLE_HOME/network/admin/listener.ora
SID_LIST_LISTENER=
(SID_LIST=
 (SID_DESC=
 (GLOBAL_DBNAME=orcl)      
 (SID_NAME=orcl)         #注意改为自己的SID
 )
)

重启监听 

$lsnrctl stop
$lsnrctl start


本文出自 “运维笔记” 博客,请务必保留此出处http://quliren.blog.51cto.com/9849266/1982273

以上是关于The listener supports no services的主要内容,如果未能解决你的问题,请参考以下文章

The listener supports no services

The listener supports no services The command completed successfully

The listener supports no services oracle注册监听

问题1:Oracle数据库监听启动失败(重启监听,提示The listener supports no services)

The code signature version is no longer supported.

The view or its master was not found or no view engine supports the searched locations