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

溫馨提示×

溫馨提示×

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

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

RHEL 7上oracle 莫名宕機 ORA-27300

發布時間:2020-07-20 15:24:04 來源:網絡 閱讀:800 作者:snowhill 欄目:關系型數據庫

現象:

oracle 執行job:expdp,數據庫實例直接宕掉,報錯如下:
ORA-27300: OS system dependent operation:semctl failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpwrm1
ORA-27157: OS post/wait facility removed
ORA-27300: OS system dependent operation:semop failed with status: 36
ORA-27301: OS failure message: Identifier removed
ORA-27302: failure occurred at: sskgpwwait1

數據庫版本11.2.0.4,操作系統版本:rhel 7
檢查操作系統日志,定時任務日志并無異常;
原因:
On Redhat 7.x, systemd-logind service introduced a new feature to remove all IPC objects when a user fully logs out.
The feature is controled by the option RemoveIPC in the /etc/systemd/logind.conf configuration file,
see man logind.conf(5) for details.
在 RHEL 7.x的版本里,systemd-logind 服務控制著用戶的行為,當用戶退出,會清理該用戶的所有內存段.那么定時任務的數據泵就有問題了,調用的內存段是oracle的;
查看removeipc的說明:
RemoveIPC=
Controls whether System V and POSIX IPC objects belonging to the user shall be removed when the user fully logs out. Takes a boolean argument. If enabled, the user
may not consume IPC resources after the last of the user's sessions terminated. This covers System V semaphores, shared memory and message queues, as well as POSIX
shared memory and message queues. Note that IPC objects of the root user are excluded from the effect of this setting. Defaults to "yes".
The default value for RemoveIPC in RHEL7.2 is yes.
默認值為yes; 所以當有定時任務時:
As a result, when the last oracle or grid user disconnects, the OS removes shared memory segments and semaphores for those users.
As Oracle ASM and Databases use shared memory segments for SGA, removing shared memory segments will crash the Oracle ASM and database instances.
解決辦法:
1) Set RemoveIPC=no in /etc/systemd/logind.conf
2) 重啟服務
systemctl daemon-reload
systemctl restart systemd-logind

參考MOS:
ORA-27300 ORA-27301 ORA-27302 ORA-27157 Database Crash (Doc ID 438205.1)
Failed Install of RAC with ASM: ORA-27300 ORA-27302 ORA-27300 ORA-27301 ORA-27302 (Doc ID 2099563.1)

向AI問一下細節

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

AI

贞丰县| 时尚| 广昌县| 台湾省| 奎屯市| 东丽区| 临夏市| 浠水县| 富锦市| 绵竹市| 海伦市| 桃源县| 朔州市| 菏泽市| 綦江县| 昆明市| 和顺县| 库伦旗| 兴安盟| 辽源市| 辉县市| 大埔县| 中江县| 泰和县| 濉溪县| 宁城县| 大庆市| 金山区| 台南市| 双牌县| 静安区| 阿拉善右旗| 金平| 仪陇县| 江北区| 通江县| 泰和县| 徐汇区| 乐东| 确山县| 马关县|