溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

RAC安裝時出現(xiàn)PRKC-1024錯誤怎么辦

發(fā)布時間:2021-11-10 11:58:13 來源:億速云 閱讀:501 作者:小新 欄目:關(guān)系型數(shù)據(jù)庫

這篇文章給大家分享的是有關(guān)RAC安裝時出現(xiàn)PRKC-1024錯誤怎么辦的內(nèi)容。小編覺得挺實用的,因此分享給大家做個參考,一起跟隨小編過來看看吧。

Clusterware安裝到最后,執(zhí)行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

最開始把問題定位在網(wǎng)卡上。但是修改網(wǎng)卡配置,ifup, ifdown, systemctl restart network始終未能解決問題

靜下心來,仔細看日志:
發(fā)現(xiàn)有這么一行:
Using configuration parameter file: /oracle/app/11.2.0/grid/crs/install/crsconfig_params

于是看了一下這個參數(shù)文件:
RAC安裝時出現(xiàn)PRKC-1024錯誤怎么辦

怪不得老是出現(xiàn)問題:

手動修改參數(shù)文件:
NEW_NODEVIPS='zbxdb1-vip/255.255.255.0/eth0,zbxdb2-vip/255.255.255.0/eth0'
重新執(zhí)行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

感謝各位的閱讀!關(guān)于“RAC安裝時出現(xiàn)PRKC-1024錯誤怎么辦”這篇文章就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,讓大家可以學(xué)到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!

向AI問一下細節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI