11.2.0.4單例項ASM安裝報錯ohasd failed to ... line 73.
11.2.0.4單例項ASM安裝報錯“ ohasd failed to start at /u01/app/11.2.0/grid/crs/install/roothas.pl line 377, <ALERTLOG> line 73.”
報錯: ohasd failed to start at /u01/app/11.2.0/grid/crs/install/roothas.pl line 377, <ALERTLOG> line 73. 解決: $GRID_HOME/crs/install/roothas.pl -deconfig -force -verbose /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 在執行root.sh指令碼時出現“Adding Clusterware entries to inittab”的時候,在另一個視窗使用root立即執行以下命令: dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1(等待root.sh成功執行完畢後可以ctrl+c取消這裡的命令)
系統環境: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
第二步:
OK,此時Grid 安裝透過。
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寶典今日頭條號地址: ........................................................................................................................ ● 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 ● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解 ● 版權所有,歡迎分享本文,轉載請保留出處 ........................................................................................................................ ● 小麥苗的微店: ● 小麥苗出版的資料庫類叢書: http://blog.itpub.net/26736162/viewspace-2142121/ ● 小麥苗OCP、OCM、高可用網路班: http://blog.itpub.net/26736162/viewspace-2148098/ ● 小麥苗騰訊課堂主頁: https://lhr.ke.qq.com/ ........................................................................................................................ 使用 微 信客戶端掃描下面的二維碼來關注小麥苗的微 信公眾號( DB寶)及QQ群(DBA寶典)、新增小麥苗微 信, 學習最實用的資料庫技術。
........................................................................................................................ |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2692826/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RHEL 7 安裝oracle rac 11.2.0.4執行root.sh報錯ohasd failed to startOracleAI
- ASM單例項(Oracle 11.2.0.4)環境(一)ASM單例Oracle
- ASM單例項(Oracle 11.2.0.4)環境(二)ASM單例Oracle
- asm報錯一例-support 報錯rename failedASMAI
- 單機環境安裝配置ASM例項ASM
- 啟動ASM 例項報錯ASM
- Window下安裝Oracle ASM單例項資料庫OracleASM單例資料庫
- 【Oracle】ASM例項安裝入門OracleASM
- 單例項刪除ASM例項單例ASM
- DBA強化實戰系列第一期:centos6.4安裝oracle11.2.0.4單例項asmCentOSOracle單例ASM
- RAC安裝【AIX 7 + 11.2.0.4 + ASM】AIASM
- 清除安裝失敗的asm例項ASM
- 11.2單例項ASM啟動報錯ORA-15186單例ASM
- Oracle 11g ASM 單例項安裝 DBCA 建庫 報錯 ORA-12547: TNS:lost contactOracleASM單例
- 5.6單例項安裝單例
- Redis單例項安裝Redis單例
- ASM單例項安裝後,需要手動設定ASM的引數檔案ASM單例
- mysql 5.7單例項安裝MySql單例
- oracle單例項12.2.0.1安裝Oracle單例
- 安裝Mongodb3.0.6單例項MongoDB單例
- RAC+DG(asm單例項)ASM單例
- 單例項的duplicate(non ASM)單例ASM
- centos 6.7 (UDEV,、etc/hosts)安裝 RAC 11.2.0.4 報錯處理CentOSdev
- oracle 11g 單例項安裝Oracle單例
- 單機環境配置ASM例項ASM
- 單節點執行ASM例項ASM
- RAC asm恢復到單例項ASM單例
- Patchset 11.2.0.4安裝,報找不到GI
- 安裝__DB、ASM注意事項ASM
- Oracle單例項+ASM新增控制檔案Oracle單例ASM
- rac asm 恢復到 單例項 1ASM單例
- rac asm 恢復到 單例項 2ASM單例
- ASM之建立ASM例項ASM
- ORACLE11GR2 RAC解除安裝ASM例項步驟OracleASM
- redhat 6.5之oracle 11.2.0.4 asm例項異常抽取asm配置資訊之amdu初識之一RedhatOracleASM
- 管理 ASM 例項ASM
- 停止ASM例項ASM
- ASM例項啟動報錯:ORA-29701 :unable to connect to Cluster ManagerASM