这篇文章给大家分享的是有关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错误怎么办”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!
相关推荐: SQLServer2012镜像主库挂掉怎么切换到镜像备库
本篇内容介绍了“SQLServer2012镜像主库挂掉怎么切换到镜像备库”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!故障现象:SQLServer2012镜像环…