中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

The listener supports no services The command completed successfully

發布時間:2020-07-22 20:50:19 來源:網絡 閱讀:746 作者:z597011036 欄目:關系型數據庫

啟動監聽出現以下錯誤信息,找不到服務.錯誤信息如下:

[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


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

江孜县| 章丘市| 景德镇市| 兴安县| 桃园县| 阜康市| 泽州县| 水城县| 延庆县| 浏阳市| 棋牌| 信丰县| 靖远县| 渝中区| 舒兰市| 萍乡市| 孝感市| 新安县| 平江县| 汉中市| 蕉岭县| 沂水县| 安陆市| 定远县| 宁城县| 察隅县| 茂名市| 慈溪市| 肃南| 阿克| 泽库县| 饶平县| 克什克腾旗| 平泉县| 赤水市| 黑龙江省| 廊坊市| 祁阳县| 成安县| 荣昌县| 甘德县|