PRCT-1011 : Failed to run "oifcfg" (Doc ID 1380183.1)
In this Document
| Purpose |
| Scope |
| Details |
| Issue#1 - Wrong ORA_NLS10 Setting |
| --- Symptoms --- |
| --- Solution --- |
| Issue#2 - BUG 20598625 - CLUVFY: PRCT-1011 : FAILED TO RUN "OIFCFG". DETAILED ERROR: NULL |
| --- Symptoms --- |
| --- Solution --- |
| Issue#3 - Incorrect Network Setting in OCR |
| --- Symptoms --- |
| --- Solution --- |
| References |
APPLIES TO:
Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
PURPOSE
This note lists known issues, workarounds and solutions for error: PRCT-1011 : Failed to run "oifcfg"
SCOPE
DETAILS
Issue#1 - Wrong ORA_NLS10 Setting
--- Symptoms ---
11gR2 runInstaller fails:
- OUI log
SEVERE: [FATAL] An internal error occurred within cluster verification framework
Unable to obtain network interface list from Oracle Clusterware PRCT-1011 : Failed to run "oifcfg". Detailed error: null.
Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:1368
..
INFO: Advice is ABORT
SEVERE: Unconditional Exit
- Call stack
---# Begin Stacktrace #---------------------------
ID: oracle.install.commons.util.exception.DefaultErrorAdvisor:1368
oracle.cluster.verification.VerificationException: An internal error occurred within cluster verification framework
Unable to obtain network interface list from Oracle ClusterwarePRCT-1011 : Failed to run "oifcfg". Detailed error: null
at oracle.cluster.verification.ClusterVerification.getPreReqTasksForDBInst(ClusterVerification.java:528)
at oracle.install.ivw.db.action.PrereqAction.getProductVerificationTasks(PrereqAction.java:115)
at oracle.install.commons.base.interview.common.action.AbstractPrereqAction.execute(AbstractPrereqAction.java:86)
at oracle.install.commons.flow.AbstractFlowExecutor.startAction(AbstractFlowExecutor.java:361)
....
at java.lang.Thread.run(Thread.java:811)
---# End Stacktrace #-----------------------------
- SRVM trace
[pool-1-thread-1] [ 2011-11-21 13:54:01.314 EST ] [RuntimeExec.runCommand:77] /ocw/grid/bin/ oifcfg getif
[Thread-230] [ 2011-11-21 13:54:01.382 EST ] [StreamReader.run:61] In StreamReader.run
[Thread-231] [ 2011-11-21 13:54:01.382 EST ] [StreamReader.run:61] In StreamReader.run
[pool-1-thread-1] [ 2011-11-21 13:54:01.381 EST ] [RuntimeExec.runCommand:142] runCommand: Waiting for the process
[Thread-230] [ 2011-11-21 13:54:01.914 EST ] [StreamReader.run:65] OUTPUT>
[Thread-230] [ 2011-11-21 13:54:01.915 EST ] [StreamReader.run:65] OUTPUT> Failed to initialize GPnP
[pool-1-thread-1] [ 2011-11-21 13:54:01.927 EST ] [RuntimeExec.runCommand:144] runCommand: process returns 1
..
[pool-1-thread-1] [ 2011-11-21 13:54:01.932 EST ] [CmdToolUtil.doexecute:473] nativeSystem.runRemoteExecCmd failed. Command = /ocw/grid/bin/oifcfg arguments = [getif] env = null error = null
[pool-1-thread-1] [ 2011-11-21 13:54:01.934 EST ] [TaskFactory.getNetIfFromOifcfg:3522] INSTALLEXCEPTION: cannot obtain cluster interface information.
- oifcfg getif output as 11gR2 installation user:
/ocw/grid/bin/oifcfg getif
Failed to initialize GPnP
--- Solution ---
Either unset ORA_NLS10 or set it to correct location before starting OUI:
OR
export ORA_NLS10=$GRID_HOME/nls/data
Refer to
Note 1050472.1 for more details.
Issue#2 - BUG 20598625 - CLUVFY: PRCT-1011 : FAILED TO RUN "OIFCFG". DETAILED ERROR: NULL
--- Symptoms ---
cluvfy fails if GI is down:
- CVU output
Checking user equivalence...
Check: User equivalence for user "grid"
Node Name Status
------------------------------------ ------------------------
racnode2 passed
racnode1 passed
Result: User equivalence check passed for user "grid"ERROR:
Unable to obtain network interface list from Oracle ClusterwarePRCT-1011 : Failed to run "oifcfg". Detailed error: null
Verification cannot proceed
- CVU/SRVM trace
[31928@adprod2] [main] [ 2015-01-31 03:38:55.038 AST ] [RuntimeExec.runCommand:77] /u01/app/11.2.0/grid/bin/oifcfg getif -from gpnp
[31928@adprod2] [Thread-70] [ 2015-01-31 03:38:55.048 AST ] [StreamReader.run:61] In StreamReader.run
[31928@adprod2] [main] [ 2015-01-31 03:38:55.048 AST ] [RuntimeExec.runCommand:142] runCommand: Waiting for the process
[31928@adprod2] [Thread-71] [ 2015-01-31 03:38:55.048 AST ] [StreamReader.run:61] In StreamReader.run
[31928@adprod2] [Thread-70] [ 2015-01-31 03:38:58.143 AST ] [StreamReader.run:65] OUTPUT>PRIF-10: failed to initialize the cluster registry
[31928@adprod2] [main] [ 2015-01-31 03:38:58.145 AST ] [RuntimeExec.runCommand:144] runCommand: process returns 1
[31928@adprod2] [main] [ 2015-01-31 03:38:58.146 AST ] [RuntimeExec.runCommand:161] RunTimeExec: output>
[31928@adprod2] [main] [ 2015-01-31 03:38:58.146 AST ] [RuntimeExec.runCommand:164] PRIF-10: failed to initialize the cluster registry
[31928@adprod2] [main] [ 2015-01-31 03:38:58.146 AST ] [RuntimeExec.runCommand:170] RunTimeExec: error>
[31928@adprod2] [main] [ 2015-01-31 03:38:58.147 AST ] [RuntimeExec.runCommand:192] Returning from RunTimeExec.runCommand
[31928@adprod2] [main] [ 2015-01-31 03:38:58.147 AST ] [UnixSystem.dorunRemoteExecCmd:3232] retval = 1
[31928@adprod2] [main] [ 2015-01-31 03:38:58.148 AST ] [CmdToolUtil.doexecute:474] nativeSystem.runRemoteExecCmd failed. Command = /u01/app/11.2.0/grid/bin/oifcfg arguments = [getif, -from, gpnp] env = null error = null
[31928@adprod2] [main] [ 2015-01-31 03:38:58.225 AST ] [TaskFactory.getNetIfFromOifcfg:3587] INSTALLEXCEPTION: cannot obtain cluster interface information.
[31928@adprod2] [main] [ 2015-01-31 03:38:58.236 AST ] [ReportUtil.printReportFooter:1626] stageMsgID: cluster services setup
- oifcfg getif output as 11gR2 installation user:
/ocw/grid/bin/oifcfg getif
PRIF-10: failed to initialize the cluster registry
--- Solution ---
Request/apply patch 20598625 if there's an impact.
Issue#3 - Incorrect Network Setting in OCR
--- Symptoms ---
11gR2 runInstaller error:
- OUI reports INS-20802 as CVU post installation check fails
- installation log or CVU error
Result: User equivalence check passed for user "grid"
ERROR:
Unable to obtain network interface list from Oracle Clusterware PRCT-1011 : Failed to run "oifcfg". Detailed error: null
Verification cannot proceed
- oifcfg getif output
oifcfg getif
PROC-4: The cluster registry key to be operated on does not exist.
PRIF-11: cluster registry error
--- Solution ---
In this example, eth1 is the private network and eth3 is the public network.
2.1. As root, execute the following to generate an ocr dump file:
2.2. As root, find out all network information in the OCR:
eth1
eth3
2.3. As grid user, find out the network information at OS level
..
eth1
eth1
..
eth3
Note: HAIP (169.254.x.x) should be ignored in the output
2.4. As root, remove network info from OCR:
# $GRID_HOME/bin/oifcfg delif -global eth3 -force
If failure PRIF-31 encountered, ignord it
2.5. As grid user, set network info in OCR:
$ $GRID_HOME/bin/oifcfg setif -global eth3/
2.6. As grid user, confirm the change:
eth1
eth3
REFERENCES
NOTE:1056322.1
- Troubleshoot Grid Infrastructure/RAC Database installer/runInstaller Issues
NOTE:1050472.1
- Failed to initialize GPnP Reported While Executing oifcfg
About Me
|
........................................................................................................................ ● 本文作者:小麦苗,部分内容整理自网络,若有侵权请联系小麦苗删除 ● 本文在itpub、博客园、CSDN和个人微 信公众号( DB宝)上有同步更新 ● 本文itpub地址: http://blog.itpub.net/26736162 ● 本文博客园地址: http://www.cnblogs.com/lhrbest ● 本文CSDN地址: https://blog.csdn.net/lihuarongaini ● 本文pdf版、个人简介及小麦苗云盘地址: http://blog.itpub.net/26736162/viewspace-1624453/ ● 数据库笔试面试题库及解答: http://blog.itpub.net/26736162/viewspace-2134706/ ● DBA宝典今日头条号地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826 ........................................................................................................................ ● QQ群号: 230161599 、618766405 ● 微 信群:可加我微 信,我拉大家进群,非诚勿扰 ● 联系我请加QQ好友 ( 646634621 ),注明添加缘由 ● 于 2020-05-01 06:00 ~ 2020-05-30 24:00 在西安完成 ● 最新修改时间:2020-05-01 06:00 ~ 2020-05-30 24:00 ● 文章内容来源于小麦苗的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解 ● 版权所有,欢迎分享本文,转载请保留出处 ........................................................................................................................ ● 小麦苗的微店: https://weidian.com/s/793741433?wfr=c&ifr=shopdetail ● 小麦苗出版的数据库类丛书: http://blog.itpub.net/26736162/viewspace-2142121/ ● 小麦苗OCP、OCM、高可用网络班: http://blog.itpub.net/26736162/viewspace-2148098/ ● 小麦苗腾讯课堂主页: https://lhr.ke.qq.com/ ........................................................................................................................ 使用 微 信客户端扫描下面的二维码来关注小麦苗的微 信公众号( DB宝)及QQ群(DBA宝典)、添加小麦苗微 信, 学习最实用的数据库技术。
........................................................................................................................ |
![]() |
|

