PRVF-6402 : Core file name pattern is not same on all the nodes
August 5, 2019 Leave a comment
Problem:
Oracle 18c GI configuration prerequisite checks failed with the following error:
PRVF-6402 : Core file name pattern is not same on all the nodes. Found core filename pattern "core" on nodes "primrac1". Found core filename pattern "core.%p" on nodes "primrac2". - Cause: The core file name pattern is not same on all the nodes. - Action: Ensure that the mechanism for core file naming works consistently on all the nodes. Typically for Linux, the elements to look into are the contents of two files /proc/sys/kernel/core_pattern or /proc/sys/kernel/core_uses_pid. Refer OS vendor documentation for platforms AIX, HP-UX, and Solaris.
Comparing parameter values on both nodes:
[root@primrac1 ~]# cat /proc/sys/kernel/core_uses_pid 0 [root@primrac2 ~]# cat /proc/sys/kernel/core_uses_pid 1 [root@primrac1 ~]# sysctl -a|grep core_uses_pid kernel.core_uses_pid = 0 [root@primrac2 ~]# sysctl -a|grep core_uses_pid kernel.core_uses_pid = 1
Strange fact was that this parameter was not defined explicitly in sysctl.conf file, but still had different default values:
[root@primrac1 ~]# cat /etc/sysctl.conf |grep core_uses_pid [root@primrac2 ~]# cat /etc/sysctl.conf |grep core_uses_pid
Solution:
I’ve set parameter to 1 explicitly in sysctl.conf on both nodes:
[root@primrac1 ~]# cat /etc/sysctl.conf |grep core_uses_pid kernel.core_uses_pid=1 [root@primrac2 ~]# cat /etc/sysctl.conf |grep core_uses_pid kernel.core_uses_pid=1 [root@primrac1 ~]# sysctl -p [root@primrac2 ~]# sysctl -p [root@primrac1 ~]# sysctl -a|grep core_uses_pid kernel.core_uses_pid = 1 [root@primrac2 ~]# sysctl -a|grep core_uses_pid kernel.core_uses_pid = 1
Pressed Check Again button and GI configuration succeeded.