CRS-4124: Oracle High Availability Services startup failed.
現象:
oracle11g rac重啟系統後。crs啟動報錯
[root@rac1 ~]# crsctl start crs CRS-4124: Oracle High Availability Services startup failed. CRS-4000: Command Start failed, or completed with errors.
解決:(網上有很多解決方案)
[root@rac1 ~]# find / -name init.ohasd /etc/rc.d/init.d/init.ohasd /u01/app/11.2.0/grid/crs/init/init.ohasd /u01/app/11.2.0/grid/crs/utl/init.ohasd
[root@rac1 ~]# cd /etc/rc.d/init.d/ [root@rac1 init.d]# nohup ./init.ohasd run & [1] 3360 [root@rac1 init.d]# nohup: ignoring input and appending output to ‘nohup.out’ [root@rac1 init.d]#
[root@rac1 init.d]# crsctl check has CRS-4638: Oracle High Availability Services is online [root@rac1 init.d]# crsctl check crs CRS-4638: Oracle High Availability Services is online CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online
可以看到服務已經啟動。
思考一下,將nohup /etc/rc.d/init.d/init.ohasd run & 新增到開機啟動。
[root@rac1 rc.d]# pwd /etc/rc.d [root@rac1 rc.d]# vi rc.local [root@rac1 rc.d]# chmod 744 rc.local [root@rac1 rc.d]# cat 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 nohup /etc/rc.d/init.d/init.ohasd run & [root@rac1 rc.d]# ll total 4 drwxr-xr-x. 2 root root 136 Jan 26 09:23 init.d drwxr-xr-x. 2 root root 61 Sep 15 11:26 rc0.d drwxr-xr-x. 2 root root 61 Sep 15 11:26 rc1.d drwxr-xr-x. 2 root root 61 Sep 15 11:26 rc2.d drwxr-xr-x. 2 root root 61 Sep 15 11:26 rc3.d drwxr-xr-x. 2 root root 61 Sep 15 11:26 rc4.d drwxr-xr-x. 2 root root 61 Sep 15 11:26 rc5.d drwxr-xr-x. 2 root root 61 Sep 15 11:26 rc6.d -rwxr--r-- 1 root root 514 Jan 26 09:59 rc.local [root@rac1 rc.d]#
關閉叢集服務,再重啟主機,看ohasd服務能否啟動。
我將rac1 crs服務disable 將rac2 crs服務enable,重啟rac倆節點作業系統後
[root@rac1 ~]# ps -ef |grep ohasd root 1125 1 0 10:15 ? 00:00:00 /bin/sh /etc/rc.d/init.d/init.ohasd run root 2563 2305 0 10:18 pts/0 00:00:00 grep --color=auto ohasd [root@rac1 ~]# crsctl check has CRS-4639: Could not contact Oracle High Availability Services [root@rac1 ~]# crsctl start crs CRS-4123: Oracle High Availability Services has been started. [root@rac1 ~]#
節點1手動啟動crs也不會報錯了,節點2會自動啟動crs。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70004783/viewspace-2854027/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- CRS-4124: Oracle High Availability Services startup failed. CRS-4000OracleAI
- 11g ASM 重啟 HAC 報錯 CRS-4124: Oracle High AvailabilityASMOracleAI
- Performance and High-Availability OptionsORMAI
- High Availability (HA) in SQL ServerAISQLServer
- HDFS High Availability(HA)高可用配置AI
- 黑猴子的家:Hadoop NameNode 高可用 (High Availability) 實現解析HadoopAI
- hadoop官網翻譯之HDFS High Availability Using the Quorum Journal ManagerHadoopAI
- Oracle 19c Concepts(16):Application and Oracle Net Services ArchitectureOracleAPP
- startup,startup mount,startup nomount之間的區別
- Overview of Availability in a CDBViewAI
- startup nomount
- MySQL Server Startup ScriptMySqlServer
- 2.4.1.2 Nonedefault Services in a CDBNone
- 2.4.1.1 Default Services in a CDB
- 2.4 Overview of Services in a CDBView
- Availability Group On Linux 搭建後記AILinux
- [20200302]startup dba.txt
- 4.1.2 關於Startup部署
- Jetpack之Startup快速掌握Jetpack
- COMPUTER DATABASES AND ABSTRACTING SERVICES 2Database
- XML安全之Web ServicesXMLWeb
- Amazon Web Services (目錄)Web
- 如何使用 Services.AddDistributedMemoryCache
- SQL Server Availability Group Failover 測試SQLServerAI
- 閱讀nopcommerce startup原始碼原始碼
- 小議SQLNET.AUTHENTICATION_SERVICESSQL
- monaco-editor 的 Language Services
- services資源+pod詳解
- Linux 上配置 SQL Server Always On Availability GroupLinuxSQLServerAI
- 區域(Region)和可用區(Availability Zone)AI
- .NET Core開發日誌——Startup
- asp.net core 系列之StartupASP.NET
- 理解ASP.NET Core - [01] StartupASP.NET
- High precision grasp pose detection in dense clutter
- An Overview of High Performance Computing and Responsibly Reckless AlgorithmsViewORMGo
- rancher 的 deployment does not have minimum availability 問題AI
- 8 Apply Services 應用服務APP
- TNS問題排查 The listener supports no services