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
- CRS-4639: Could not contact Oracle High Availability ServicesOracleAI
- 11g ASM 重啟 HAC 報錯 CRS-4124: Oracle High AvailabilityASMOracleAI
- CRS-4639: Could not contact Oracle High Availability Services解決方案集OracleAI
- CRS-0184:CRS-4639: Could not contact Oracle High Availability ServicesOracleAI
- Some Oracle high-availability technologiesOracleAI
- DG vs Storage in High Availability -- From OracleAIOracle
- Oracle Database High Availability Solutions for Unplanned DowntimeOracleDatabaseAI
- Performance and High-Availability OptionsORMAI
- High Availability (HA) in SQL ServerAISQLServer
- Implementing Oracle9i Data Guard for Higher AvailabilityOracleAI
- HDFS High Availability(HA)高可用配置AI
- High Availability手冊(1): 環境AI
- High Availability手冊(2): 架構AI架構
- Kafka設計解析(二)- Kafka High AvailabilityKafkaAI
- HDFS High Availability Using the Quorum Journal ManagerAI
- Redis安裝及HA(High Availability)配置RedisAI
- Kafka設計解析(二)- Kafka High Availability (上)KafkaAI
- Data Guard Broker High Availability (Doc ID 275977.1)AI
- MySQL-HA MHA(Master High Availability manager)搭建手冊MySqlASTAI
- Oracle shutdown and startupOracle
- Microsoft WHQL certified company To provide high quality WHQLcertification servicesROSIDE
- oracle-startup過程Oracle
- Oracle startup mount exclusive作用Oracle
- 黑猴子的家:Hadoop NameNode 高可用 (High Availability) 實現解析HadoopAI
- oracle之dataguard switch_availabilityOracleAI
- 漫談Oracle RAC servicesOracle
- Overview of Oracle Net Services (280)ViewOracle
- Oracle Lock Management Services (365)Oracle
- hadoop官網翻譯之HDFS High Availability Using the Quorum Journal ManagerHadoopAI
- oracle startup(nomount mount open restrict)OracleREST
- Oracle 資料庫啟動 startup和startup force的區別Oracle資料庫
- How Oracle Net Services Works (281)Oracle
- Oracle Maximum Availability Architecture(MAA)官方文件OracleAI
- Oracle Automatic Startup and Shutdown in Linux platformOracleLinuxPlatform
- startup migrate、startup upgrade區別以及Oracle打補丁集文件(轉)Oracle
- startup,startup mount,startup nomount之間的區別
- 討論 Oracle RAC services之神奇作用Oracle