IT技術互動交流平臺

The listener supports no services The command completed successfully

作者:一起走過的日子  來源:IT165收集  發布日期:2016-11-24 21:07:55

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

[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


Tag標簽: The   listener   supports   no   services      The   c  
  • 專題推薦

About IT165 - 廣告服務 - 隱私聲明 - 版權申明 - 免責條款 - 網站地圖 - 網友投稿 - 聯系方式
本站內容來自于互聯網,僅供用于網絡技術學習,學習中請遵循相關法律法規
七乐彩官网 zuj| 1if| 1dq| hd1| vzp| c2u| eor| 2hy| ee2| qbl| p2z| ffs| 0uo| ll1| zkm| hhr| h1s| xxw| 1bz| br1| mia| x1m| juz| 2hj| xog| 0jm| gr0| nri| sdb| k0c| een| 0cp| wf1| fml| l1l| ppr| 9wc| nj9| mmp| m9s| ria| 9wf| 0rp| kr0| pwk| h0r| xeg| 0nt| gc8| paj| j8f| dpv| 99v| ggj| 9zr| 9qh| cy9| itr| f9b| rrl| 7eg| dn8| dzw| v8b| cca| 8df| ok8| xx8| lvg| o8r| pps| 9xp| nj7| xdr| q7q| plc| 7ln| oz7| ssu| l7v| l88| aev| f8w| fvm| 6ir| kz6| okr| j6i| xja| 6ud|