oracle 突然起不来,Oracle OHASD起不来怎么办

01fac6460a22031b8af8da5848698a70.png

Cause

There are many reasons why ohasd can fail to start. This document provides some details to find out what is going wrong. It is applicable to 11.2.0.1

CRS under Linux X64, though some sections described here can apply to other platforms and are marked as 'generic'.

In each case you will need to make the requested changes and rerun the root.sh script. If root.sh prompts to say that

| CRS is already configured on this node for crshome=0 Cannot configure

| two CRS instances on the same cluster.

| Please deconfigure before proceeding with the configuration of new home.

then you must run the deconfigure setup before rerunning root.sh.

The deconfigure process is described in Note 942166.1

Solution

1. "ohasd failed to start: Inappropriate ioctl for device":

Please reference Note 1069182.1 for troubleshooting "OHASD Failed to Start".

Actually the "ioctl for device" part of the message looks relevant but is in fact a red herring.

This is unpublished bug 9648820, fixed in 11.2.0.2.0 (unpublished bug 10122468)

2. Many known causes is listed in note 1050908.1, refer to Section "Case 1: OHASD.BIN does not start" of the note for details.

3. CRS-4124, CRS-4000 could be due to have configured IPv6 instead of IPv4. Problem described on Bug 9065141 (Closed, Not a bug).

IPv6 is not supported with 11GR2 release of RAC. Reference: http://www.oracle.com/technetwork/database/enterprise-edition/oracledatabase-ipv6-sod-132278.pdf

Configure IPv4 as indicated on "Oracle Clusterware Installation Guide" and restart a new fresh installation

Notice that IPv4 and IPv6 can coexist on moderm systems, so you don't need to disable IPv6, just do not use it for RAC configurations

4. Check if init.ohasd is running (generic)

init.ohasd is used to control ohasd (which runs as a binary 'ohasd.bin').

If init.ohasd is not running ohasd won't be able to start.

# ps -ef | grep init.ohasd

root 14324 1 0 Jul16 ? 00:00:00 /bin/sh /etc/init.d/init.ohasd run

init.ohasd is spawned by an entry in /etc/inittab. This is picked up when the machine boots. The scripts run by root.sh will create an entry in /etc/inittab

and then call init (s_crsconfig_lib.pm) to start init.ohasd.

If you have no init.ohasd running then

check /etc/inittab contains

h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值