CRS-2101:The OLR was formatted using version 3 ORACLE單機ASM報錯
環境centos7.9 搭建的是RAC的dg 但是用到了asm
參照了資料 https://blog.csdn.net/u010692693/article/details/104712471/
重點:
grid圖形介面安裝單機asm時可參照 http://blog.itpub.net/70004783/viewspace-2792218/
當執行第二個指令碼時
[root@racdg ~]# /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]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... 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 racdg successfully pinned. Adding Clusterware entries to inittab racdg 2021/09/18 09:18:45 /u01/app/11.2.0/grid/cdata/racdg/backup_20210918_091845.olr Successfully configured Oracle Grid Infrastructure for a Standalone Server [root@racdg ~]# su - grid
當快執行到,以下時,
CRS-4664: Node racdg successfully pinned. Adding Clusterware entries to inittab
新開一個視窗,進入到/etc/init.d/目錄一旦出現init.ohasd檔案,即root執行
/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null &
[root@racdg ~]# cd /etc/init.d/ [root@racdg init.d]# ls functions init.ohasd multipathd netconsole network ohasd README
這樣就不會出現報錯。
繼續思考一個問題,系統重啟has服務起不來網上也有挺多的解決方法。但是如何系統重啟自動啟動has呢
重點在這一句
CAUSE The problem is caused by init.ohasd not running, ohasd.bin start up is waiting for init.ohasd acknowledgement, hence it is waiting on the pipe /var/tmp/.oracle/npohasd, it times out and fails to startup after 10minutes.
所以果斷將 /etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null &新增到自啟動/etc/rc.d/rc.local檔案最後一行
[root@racdg rc.d]# cat /etc/rc.d/rc.local #!/bin/bash # THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES # # It is highly advisable to create own systemd services or udev rules # to run scripts during boot instead of using this file. # # In contrast to previous versions due to parallel execution during boot # this script will NOT be run after all other services. # # Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure # that this script will be executed during boot. touch /var/lock/subsys/local /etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null &
並且給此檔案執行許可權
重啟系統試一下吧,看看has能否自動隨系統啟動。
覺得對你有用,給點個贊吧,歡迎分享。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70004783/viewspace-2792705/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【ASM】Oracle RAC css啟動報錯"Duplicate voting file found"ASMOracleCSS
- TensorFlow 報錯 CUDA driver version is insufficient for CUDA runtime version
- Oracle 21C OCR和OLR管理Oracle
- 11g ASM 重啟 HAC 報錯 CRS-4124: Oracle High AvailabilityASMOracleAI
- 11.2.0.4單例項ASM安裝報錯ohasd failed to ... line 73.單例ASMAI
- Qt 解決報錯registered using qRegisterMetaType()QT
- [vue]執行vue --version報錯:-4054 ENOSYSVue
- 報錯“Please indicate a valid Swagger or OpenAPI version field”SwaggerAPI
- oracle10gR1 asm儲存簡單示例OracleASM
- ORACLE RAC ASM資料檔案遷移OMF檔案報錯ORA-01276解決OracleASM
- oracle dg報錯Oracle
- Oracle ASM神書《撥雲見日 解密Oracle ASM核心》出版了OracleASM解密
- Oracle叢集技術 | OLR與套接字檔案(二)Oracle
- Oracle ASM擴容(NFS)OracleASMNFS
- 【ASM】Oracle asm刪除磁碟組注意事項ASMOracle
- git clone 報錯 “URL using bad/illegal format or missing URL“GitORM
- Python 連線 Minio 報錯:[SSL: WRONG_VERSION_NUMBER]Python
- Oracle TNS報錯大全Oracle
- Oracle 叢集的自啟動,OLR與套接字檔案Oracle
- Oracle資料庫(單機)巡檢報告Oracle資料庫
- Oracle 19C RAC 安裝 Error 4 opening dom ASM/Self in 0x5984500 報錯處理OracleErrorASM
- 啟動報錯:Access denied for user 'root'@'localhost' (using password:YES)localhost
- 報錯”ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)”Errorlocalhost
- Oracle ASM AMDU工具的使用OracleASM
- Oracle ASM Cluster File Systems (ACOracleASM
- Oracle:ASM & 密碼檔案OracleASM密碼
- 12C__單機安裝Grid+Oracle的方法,ASM使用UDEV進行磁碟繫結OracleASMdev
- oracle 報大小寫錯誤Oracle
- Oracle報錯ORA-27127Oracle
- Step by Step Data Replication Using Oracle GoldenGateOracleGo
- 搭建備庫時報錯“ORA-00203: using the wrong control files”
- Oracle 12C Database File Mapping for Oracle ASM FilesOracleDatabaseAPPASM
- 12C Oracle ASM Filter DriverOracleASMFilter
- Oracle ASM Rebalance執行過程OracleASM
- 【ASK_ORACLE】Relink ASM單例項資料庫詳細步驟OracleASM單例資料庫
- ElasticSearch 7.6.2 單機部署三個節點 報錯Elasticsearch
- Oracle 單機配置DataGuardOracle
- Overview of Oracle Flex ASM In Oracle 19c RAC-20220111ViewOracleFlexASM