91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

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

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

11g rac scan ip 無法連接問題

發布時間:2020-06-30 00:29:00 來源:網絡 閱讀:1584 作者:roidba 欄目:關系型數據庫
現象描述:
scan ip 沒有注冊到監聽中,遠程連接scan ip 無法訪問數據庫。
<roidb1:+ASM1:/home/grid>$lsnrctl status listener_scan1

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 12-APR-2018 09:28:51

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER_SCAN1
Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date                12-APR-2018 08:47:21
Uptime                    0 days 0 hr. 41 min. 29 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/roidb1/listener_scan1/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.215)(PORT=1521)))
The listener supports no services
The command completed successfully
<roidb1:+ASM1:/home/grid>$

SQL> show parameter listener

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
listener_networks                    string
local_listener                       string       (ADDRESS=(PROTOCOL=TCP)(HOST=
                                                 192.168.1.213)(PORT=1521))
remote_listener                      string      (DESCRIPTION=(ADDRESS_LIST=(AD
                                                 DRESS=(PROTOCOL=TCP)(HOST=192.
                                                 168.1.214)(PORT=1521))))
SQL> 

<roidb1:orcl1:/home/oracle>$sqlplus roidba/roidba@//192.168.1.215:1521/orcl 

SQL*Plus: Release 11.2.0.4.0 Production on Thu Apr 12 09:29:27 2018

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

ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor

Enter user-name: 

解決方法:

<roidb1:orcl1:/home/oracle>$sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Thu Apr 12 09:29:41 2018

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

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> show parameter listener

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
listener_networks                    string
local_listener                       string       (ADDRESS=(PROTOCOL=TCP)(HOST=
                                                 192.168.1.213)(PORT=1521))
remote_listener                      string      (DESCRIPTION=(ADDRESS_LIST=(AD
                                                 DRESS=(PROTOCOL=TCP)(HOST=192.
                                                 168.1.214)(PORT=1521))))

##這里需要注意不用使用sid='*' 這種方式,要使用sid='實例名',不然重啟后不生效。                                              
SQL> alter system set remote_listener='roidb-scan:1521' scope=both sid='orcl1';

System altered.

SQL> alter system register;

System altered.

SQL> show parameter listener

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
listener_networks                    string
local_listener                       string       (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.213)(PORT=1521))
remote_listener                      string      roidb-scan:1521
SQL> 

驗證:
<roidb1:+ASM1:/home/grid>$lsnrctl status listener_scan1

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 12-APR-2018 09:31:38

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER_SCAN1
Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date                12-APR-2018 08:47:21
Uptime                    0 days 0 hr. 44 min. 16 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/roidb1/listener_scan1/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.215)(PORT=1521)))
Services Summary...
Service "ORCL" has 1 instance(s).
  Instance "orcl1", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
  Instance "orcl1", status READY, has 1 handler(s) for this service...
The command completed successfully
<roidb1:+ASM1:/home/grid>$

<roidb1:orcl1:/home/oracle>$sqlplus roidba/roidba@//192.168.1.215:1521/orcl 

SQL*Plus: Release 11.2.0.4.0 Production on Thu Apr 12 09:32:01 2018

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

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> show parameter listener

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
listener_networks                    string
local_listener                       string       (ADDRESS=(PROTOCOL=TCP)(HOST=
                                                 192.168.1.213)(PORT=1521))
remote_listener                      string      roidb-scan:1521
SQL> 
向AI問一下細節

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

AI

鸡泽县| 上饶市| 宁都县| 疏附县| 绥德县| 桂阳县| 通榆县| 固原市| 七台河市| 天门市| 克东县| 壤塘县| 印江| 平安县| 托里县| 比如县| 渭源县| 满城县| 庆阳市| 凤翔县| 铜梁县| 富民县| 科尔| 绵竹市| 古浪县| 焦作市| 团风县| 岳阳县| 额敏县| 麻阳| 延川县| 舞钢市| 长白| 峨眉山市| 宕昌县| 隆尧县| 嘉祥县| 银川市| 海城市| 凤台县| 固镇县|