RAC安装时出现PRKC

32次阅读
没有评论

共计 1859 个字符,预计需要花费 5 分钟才能阅读完成。

这篇文章给大家分享的是有关 RAC 安装时出现 PRKC-1024 错误怎么办的内容。丸趣 TV 小编觉得挺实用的,因此分享给大家做个参考,一起跟随丸趣 TV 小编过来看看吧。

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 错误怎么办”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-07-24发表,共计1859字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)