The listener supports no services The command completed successfully

简介:

启动监听出现以下错误信息,找不到服务.错误信息如下:

[oracle@dg1 admin]$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 18-NOV-2016 11:17:54

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))

STATUS of the LISTENER

------------------------

Alias           LISTENER

Version          TNSLSNR for Linux: Version 11.2.0.1.0 - Production

Start Date       18-NOV-2016 11:15:22

Uptime           0 days 0 hr. 2 min. 31 sec

Trace Level      off

Security          ON: Local OS Authentication

SNMP             OFF

Listener Parameter File   /u01/product/11.2.0.1/db_1/network/admin/listener.ora

Listener Log File         /u01/diag/tnslsnr/dg1/listener/alert/log.xml

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dg1)(PORT=1521)))

The listener supports no services

The command completed successfully

[oracle@dg1 admin]$ 


解决方法1:

[oracle@dg1 admin]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Fri Nov 18 11:19:06 2016

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup


Total System Global Area  830930944 bytes

Fixed Size                  2217912 bytes

Variable Size             545261640 bytes

Database Buffers          281018368 bytes

Redo Buffers                2433024 bytes

Database mounted.

Database opened.

SQL> show parameter service_names

NAME                    TYPE       VALUE

------------------------------------ ----------- ------------------------------

service_names             string      tong

SQL> alter system register;    --强行注册监听

System altered.

SQL> 

[oracle@dg1 admin]$ lsnrctl start    --启动监听


解决方法2:

[oracle@dg2 ~]$ vim /u01/product/11.2.0.1/db_1/network/admin/listener.ora

LISTENER =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))

      (ADDRESS = (PROTOCOL = TCP)(HOST = dg2)(PORT = 1521))

    )

  )

SID_LIST_LISTENER =          --添加以下行

(SID_LIST =

  (SID_DESC =

  (GLOBAL_DBNAME = orcl)

  (SID_NAME = orcl)

  )

)

ADR_BASE_LISTENER = /u01

[oracle@dg2 ~]$ lsnrctl start










本文转自 z597011036 51CTO博客,原文链接:http://blog.51cto.com/tongcheng/1874190,如需转载请自行联系原作者
目录
相关文章
|
8月前
Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple
52 1
|
SQL druid Java
解决 ‘The last packet successfully received from the server was xxx milliseconds ago‘ 问题
解决 ‘The last packet successfully received from the server was xxx milliseconds ago‘ 问题
867 0
|
Linux
ERROR: 2 matches found based on name: network product-server_default is ambiguous
ERROR: 2 matches found based on name: network product-server_default is ambiguous
170 0
|
Java Go API
译|Don’t just check errors, handle them gracefully(二)
译|Don’t just check errors, handle them gracefully(二)
102 0
|
程序员 Go API
译|Don’t just check errors, handle them gracefully(一)
译|Don’t just check errors, handle them gracefully
84 0
|
机器学习/深度学习
fully connected 是什么意思?
Fully connected 是指神经网络中的一种连接方式,也称为全连接层。在全连接层中,所有的神经元都与上一层的所有神经元相连,每个连接都有一个对应的权重。这种连接方式可以使得神经网络学习到更为复杂的特征和模式。在全连接层中,每个神经元都会接收上一层的所有神经元的输出,然后将它们加权求和,再通过一个激活函数输出。全连接层通常用于输出层之前的隐藏层。
489 0
|
Linux
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
640 0
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
|
网络安全 开发工具
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
1126 0
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
590 0
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
Starting a Gradle Daemon, 5 busy and 1 incompatible and 1 stopped Daemons could not be reused, use --status for details FAILURE: Build failed with an
执行gradle build出的问题,查看hs_err_pid11064.log日志文件发现,是电脑的RAM不足导致
4164 0