这篇文章给大家分享的是有关RAC安装时出现PRKC-1024错误怎么办的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。
Clusterware安装到最后,执行root.sh时, 始终过不去, 错误信息如下:
PRKC-1024 : Invalid netmask: eth0
add nodeapps -n zbxdb1 -A zbxdb1-vip//eth0 on node=zbxdb1 ... failed
Failed to add Nodeapps at /oracle/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 9373.
/oracle/app/11.2.0/grid/perl/bin/perl -I/oracle/app/11.2.0/grid/perl/lib -I/oracle/app/11.2.0/grid/crs/install /oracle/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
最开始把问题定位在网卡上。但是修改网卡配置,ifup, ifdown, systemctl restart network始终未能解决问题
静下心来,仔细看日志:
发现有这么一行:
Using configuration parameter file: /oracle/app/11.2.0/grid/crs/install/crsconfig_params
于是看了一下这个参数文件:
怪不得老是出现问题:
手动修改参数文件:
NEW_NODEVIPS='zbxdb1-vip/255.255.255.0/eth0,zbxdb2-vip/255.255.255.0/eth0'
重新执行root.sh
居然成功了
以下是完整错误日志:
[grid@zbxdb1 ~]$ cat /oracle/app/11.2.0/grid/install/root_zbxdb1_2018-05-08_16-46-15.log
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /oracle/app/11.2.0/grid
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /oracle/app/11.2.0/grid/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
PRKC-1024 : Invalid netmask: eth0
add nodeapps -n zbxdb1 -A zbxdb1-vip//eth0 on node=zbxdb1 ... failed
Failed to add Nodeapps at /oracle/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 9373.
/oracle/app/11.2.0/grid/perl/bin/perl -I/oracle/app/11.2.0/grid/perl/lib -I/oracle/app/11.2.0/grid/crs/install /oracle/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
感谢各位的阅读!关于“RAC安装时出现PRKC-1024错误怎么办”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。