在Linux 7上安装GI 12.1.0.2遇到的问题

xiaoxiao2021-02-28  38

摘自:Linux OL7/RHEL7: PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm (文档 ID 2065603.1)

Applies to:

Oracle Database - Standard Edition - Version 12.1.0.2 and later Generic Linux

Symptoms

Installing Grid infrastructure  12.1.0.2 on OL 7.1,cluvfy pre crsinst stage fails checking /dev/shm on both nodes.

PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm

Changes

 

Cause

This is due to below bugs:

OL7 -  BUG 21441387- 12.2/MAIN/OL7.1: CVU REPORTS /DEV/SHM NOT MOUNTED WHEN IT IS MOUNTED

RHEL 7 - Bug 25907259 : RHEL7.2: CVU REPORTS /DEV/SHM NOT MOUNTED WHEN IT IS MOUNTED

Solution

 This issue is fixed in 12.2.0.2, request for one-off patch if necessary.

As a work-around in OL7:

In OL7, the /dev/shm is not mounted in /etc/fstab on a fresh system, it is done in:

[root@testc140 u02]# ll /usr/lib/dracut/modules.d/99base/init.sh-rwxr-xr-x. 1 root root 11379 Mar 26 10:14vi /usr/lib/dracut/modules.d/99base/init.sh and comment the below lines

62 if ! ismounted /dev/shm; then63 mkdir -m 0755 /dev/shm64 mount -t tmpfs -o mode=1777,nosuid,nodev,strictatime tmpfs /dev/shm >/dev/null65 fi

so, this validation is not really valid for OL7.

 

转载请注明原文地址: https://www.6miu.com/read-2626049.html

最新回复(0)