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

溫馨提示×

溫馨提示×

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

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

11g rac grid用戶來管理監聽程序

發布時間:2020-07-16 18:07:43 來源:網絡 閱讀:2824 作者:roidba 欄目:關系型數據庫

Oracle 11g RAC 數據庫監聽默認都是grid用戶通過集群工具來進行管理的,但是有些時候我們會發現數據庫監聽程序有oracle用戶啟動的,這里就存在一些問題。比如,出現的多余的監聽進程我們可以kill掉

<roidb2:+ASM2:/home/grid>$ps -ef|grep tns
root        10     2  0 08:11 ?        00:00:00 [netns]
grid      4880     1  0 08:24 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
oracle   11067     1  0 09:09 ?        00:00:00 /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr LISTENER -inherit
grid     11745     1  0 09:13 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
grid     11977 11140  0 09:14 pts/0    00:00:00 grep tns
<roidb2:+ASM2:/home/grid>$kill -9 11067
-bash: kill: (11067) - Operation not permitted
<roidb2:+ASM2:/home/grid>$exit
logout
[root@roidb2 ~]# kill -9 11067
[root@roidb2 ~]# ps -ef|grep tns
root        10     2  0 08:11 ?        00:00:00 [netns]
grid      4880     1  0 08:24 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
grid     11745     1  0 09:13 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
root     12046  2589  0 09:15 pts/0    00:00:00 grep tns
[root@roidb2 ~]# 
[root@roidb2 ~]# 

Oracle 用戶啟動監聽,這種肯定是錯誤的操作。
<roidb2:orcl2:/home/oracle>$lsnrctl status

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 09-JUL-2018 09:18:55

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

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12541: TNS:no listener
 TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 111: Connection refused
<roidb2:orcl2:/home/oracle>$lsnrctl start

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 09-JUL-2018 09:18:58

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

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

TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Log messages written to /u01/app/oracle/diag/tnslsnr/roidb2/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=roidb2)(PORT=1521)))

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date                09-JUL-2018 09:18:58
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Log File         /u01/app/oracle/diag/tnslsnr/roidb2/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=roidb2)(PORT=1521)))
The listener supports no services
The command completed successfully
<roidb2:orcl2:/home/oracle>$ps -ef|grep tns
root        10     2  0 08:11 ?        00:00:00 [netns]
grid      4880     1  0 08:24 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
grid     11745     1  0 09:13 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
oracle   12598     1  0 09:18 ?        00:00:00 /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr LISTENER -inherit
oracle   12605 12521  0 09:19 pts/0    00:00:00 grep tns
<roidb2:orcl2:/home/oracle>$
<roidb2:orcl2:/home/oracle>$exit
logout
[root@roidb2 ~]# kill -9 12598
[root@roidb2 ~]# ps -ef|grep tns
root        10     2  0 08:11 ?        00:00:00 [netns]
grid      4880     1  0 08:24 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
grid     11745     1  0 09:13 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
root     12695  2589  0 09:19 pts/0    00:00:00 grep tns
[root@roidb2 ~]# 
向AI問一下細節

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

AI

德庆县| 高雄县| 绩溪县| 九龙县| 丰原市| 佛学| 尼勒克县| 扎兰屯市| 抚宁县| 桃江县| 襄垣县| 大厂| 嘉鱼县| 天水市| 永城市| 于田县| 湖州市| 阳江市| 林周县| 武邑县| 衡阳市| 泰安市| 年辖:市辖区| 横山县| 文化| 刚察县| 万盛区| 原阳县| 天镇县| 洛浦县| 濮阳市| 额尔古纳市| 石家庄市| 宝鸡市| 武安市| 金堂县| 南乐县| 固安县| 崇阳县| 泗洪县| 双峰县|