ohasd failed to start错误解决办法

本文解决Oracle 11.2.0.1/0.2 Grid Infrastructure在OL6/RHEL6上安装失败的问题,表现为root.sh执行错误,具体为“ohasdfailedtostart: Inappropriate ioctl for device”。文章指出11.2.0.1/0.2版本不支持OL6/RHEL6,并推荐使用11.2.0.3版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转到底部转到底部

In this Document

Symptoms
 Changes
 Cause
 Solution
 References


APPLIES TO: 

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.2.0 [Release 11.2]
Linux x86-64

SYMPTOMS

This issue is specific to Grid Infrastructure installation on Linux 6 (or OL 6), the problem only happens for 11.2.0.1 or 11.2.0.2 installation. It could happen to both Grid Infrastructure or Oracle Restart (standalone Grid Infrastructure).

The message is taken from installing 11.2.0.1 Oracle restart on Linux 6, it fails at root.sh:

 ohasd failed to start: Inappropriate ioctl for device
2013-05-21 16:28:00: Appending to /etc/inittab.tmp:
2013-05-21 16:28:00: h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null

2013-05-21 16:28:00: Done updating /etc/inittab.tmp
2013-05-21 16:28:00: Saved /etc/inittab.crs
2013-05-21 16:28:00: Installed new /etc/inittab
2013-05-21 16:30:00: ohasd failed to start: Inappropriate ioctl for device
2013-05-21 16:30:00: ###### Begin DIE Stack Trace ######
2013-05-21 16:30:00: Package File Line Calling
2013-05-21 16:30:00: --------------- -------------------- ---- ----------
2013-05-21 16:30:00: 1: main roothas.pl 166 crsconfig_lib::dietrap
2013-05-21 16:30:00: 2: main roothas.pl 296 main::__ANON__
2013-05-21 16:30:00: ####### End DIE Stack Trace #######

 

CHANGES

New installation.

CAUSE

This is caused by Linux 6 change: 

In OL6 upstart is used in place of /sbin/init daemon to handle the tasks/services at boot/shutdown and while system is running, which is event based. /etc/initttab in OL 6 is only used for default runlevel and for other daemons /etc/init/<task>.conf is used. This is reported in unpublished Bug 11071429: PORT 11GR2 CRS TO OL6

 

SOLUTION

Please install 11.2.0.3 Grid Infrastructure instead of 11.2.0.1 or 11.2.0.2 for new installation as 11.2.0.1 and 11.2.0.2 are not certified on OL6/RHEL6
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值