【Oracle】11gR2的安裝Grid執行root.sh出現ohasd failed解決方案
系統環境:Linux Server release 7.3
資料庫環境:11.2.0.4.0
執行指令碼 /u01/app/11.2.0/grid/root.sh,報錯如下:
[root@Oraclelinux ~]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Creating /etc/oratab file...
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: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node oraclelinux successfully pinned.
Adding Clusterware entries to inittab
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow:
2016-11-29 05:32:34.815:
[client(5944)]CRS-2101:The OLR was formatted using version 3.
2016-11-29 05:32:35.248:
[client(5971)]CRS-1001:The OCR was formatted using version 3.
ohasd failed to start at /u01/app/11.2.0/grid/crs/install/roothas.pl line 377, line 4.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl execution failed
解決方案:
第一步,回退root.sh指令碼操作
[root@Oraclelinux ~]# /u01/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force -verbose
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Stop failed, or completed with errors.
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Delete failed, or completed with errors.
CRS-4544: Unable to connect to OHAS
CRS-4000: Command Stop failed, or completed with errors.
Successfully deconfigured Oracle Restart stack
在執行root.sh指令碼時出現Adding daemon to inittab的時候,在另一個視窗使用root立即執行以下命令:
OK,此時Grid 安裝透過。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30327022/viewspace-2129259/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RHEL 7 安裝oracle rac 11.2.0.4執行root.sh報錯ohasd failed to startOracleAI
- Oracle 11gR2 RAC ohasd failed to start 解決方法OracleAI
- linux平臺11gR2 grid安裝到執行root.sh時報錯Linux
- Oracle RAC 安裝 執行 root.sh時報Failed to upgrade Oracle Cluster Registry configuration問題的解決OracleAI
- 安裝grid時執行root.sh時的提示內容
- 11gr2安裝Grid 時 node2 root.sh失敗Start of resource “ora.asm -init” failedASMAI
- grid安裝執行root.sh時Timed out waiting for the CRS stack to start - 解除安裝gridAI
- AIX5.3安裝 ORACLE 10.2 RAC 執行root.sh出現lsdb: Cannot allocate memory of size 0 錯誤的解決方法AIOracle
- 11gR2 rac安裝別忘記在hosts裡設定localhost,否則安裝grid執行root.sh不成功localhost
- 安裝RAC 執行root.sh指令碼報錯,解決辦法指令碼
- 11gR2中安裝Grid Infrastructure出現的IPMI簡介ASTStruct
- Oracle 11R2 Grid Infrastructure執行root.sh指令碼rootcrs.pl execution failed的處理OracleASTStruct指令碼AI
- 安裝grid時如何回退root.sh
- 【流雲】Solaris安裝RAC執行root.sh失敗解決一例
- oracle 11gR2 RAC for linux x86_64 grid執行root.sh 失敗問題處理OracleLinux
- 安裝Grid Control , OPMN Process Manager failed to start 問題解決AI
- oracle install 11gR2 RAC 執行root.sh時出現missing CAP_NUMA_ATTACH 問題Oracle
- 安裝oracle11g遇到的執行root.sh指令碼問題Oracle指令碼
- Oracle Enterprise Linux 5.6下安裝Oracle 10g RAC執行root.sh報錯問題解決LinuxOracle 10g
- Oracle grid 11gR2 安裝報錯PRVF-5636Oracle
- zt_Oracle 11gR2 grid infrastructure安裝配置系列OracleASTStruct
- 11gR2 grid安裝最後報錯[INS-20802] Oracle Cluster Verification Utility failedOracleAI
- 12c rac在安裝grid軟體執行root.sh指令碼的時候出現PRCT-1431,CLSRSC-180指令碼
- 解除安裝 11gR2 Grid ClusterWare
- Centos 6.4安裝rac,執行root.sh時報錯CentOS
- 安裝grid執行root.sh報錯ORA-15020 discovered duplicate ASM disk排查ASM
- 解決Mac M晶片 Wireshark 執行rvictl -s 後,出現Starting device failedMac晶片devAI
- NSIS 官方對安裝包出現 NSIS Error 的解釋與解決方案Error
- 執行root.sh 時報錯Failed to upgrade Oracle Cluster Registry configurationAIOracle
- Oracle 10g 安裝gc:OPMN Process Manager failed to start和OUI - 25031解決方案Oracle 10gGCAIUI
- RHEL5單機安裝11gR2 asm執行root.sh報錯:CRS-4124ASM
- Linux安裝Oracle 11g Grid Infrastructure 出現OUI-10182錯誤解決LinuxOracleASTStructUI
- 【轉】How to recover from root.sh on 11.2 Grid Infrastructure FailedASTStructAI
- CentOS 6安裝Oracle報錯解決方案CentOSOracle
- 在紅旗DC server 6.0上安裝oracle 11gR2時出現的錯誤,以及解決辦法ServerOracle
- ubuntu 20.04 安裝 vim 出錯的解決方案Ubuntu
- RAC grid 11.2.0.1執行root.sh需執行此命令(啟動crs)
- 安裝npm報錯,安裝淘寶映象cnpm時出現問題及解決方案NPM