“PRKC-1024 : Invalid netmask: eth0”
Well,
maybe you have found with this error when you are doing an Oracle Grid Infrastructure installation on linux (in our case it is 12.2 and OEL 7.4).
The complete error is:
2017/11/30 17:59:41 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'. PRKC-1024 : Invalid netmask: eth0 2017/11/30 18:00:01 CLSRSC-180: An error occurred while executing the command '/u01/app/12.2.0.1/grid/bin/srvctl add nodeapps -n ovmracpro01 -A ovmracpro01-vip//eth0 -clientdata /u01/app/grid/crsdata/ovmracpro01/onswallet/ONS/cwallet.sso' 2017/11/30 18:00:01 CLSRSC-286: Failed to add Grid Infrastructure node applications The command '/u01/app/12.2.0.1/grid/perl/bin/perl -I/u01/app/12.2.0.1/grid/perl/lib -I/u01/app/12.2.0.1/grid/crs/install /u01/app/12.2.0.1/grid/crs/install/rootcrs.pl ' execution failed
You can notice, there is no netmask in its definition:
ovmracpro01-vip//eth0
It should be something like this:
ovmracpro01-vip/255.255.252.0/eth0
If you see the interface configuratio, you can observe one PREFIX and there isn’t NETMASK:
[root@ovmracpro02 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 ENGINE="Ethernet" PROXY_METHOD="none" BROWSER_ONLY="no" BOOTPROTO="none" DEFROUTE="yes" IPV4_FAILURE_FATAL="yes" IPV6INIT="yes" IPV6_AUTOCONF="yes" IPV6_DEFROUTE="yes" IPV6_FAILURE_FATAL="no" IPV6_ADDR_GEN_MODE="stable-privacy" NAME="eth0" UUID="add45f40-4187-4904-a4a0-e4e3730062d8" DEVICE="eth0" ONBOOT="yes" IPADDR="192.168.1.141" PREFIX="22" GATEWAY="192.168.2.9" DNS1="192.168.2.2" DNS2="192.168.2.3" IPV6_PRIVACY="no"
You can substitute the PREFIX=”22″ by NETMASK=255.255.252.0 and your installation will run without problems after of restarting the network:
# systemctl restart network
Adding value with Arumel!!