ohasd failed to start: Inappropriate ioctl for device

今天同事在安装GI的时候出现故障。让我帮忙看一下。

以下记录例如以下:

问题现象:

在安装gi的时候运行root.sh报例如以下错误;

Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2014-11-18 15:19:34: Checking for super user privileges
2014-11-18 15:19:34: User has super user privileges
2014-11-18 15:19:34: Parsing the host name
Using configuration parameter file: /u01/app/grid/11.2.0/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
CRS-4664: Node localhost successfully pinned.
Adding daemon to inittab
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device
ohasd failed to start: Inappropriate ioctl for device at /u01/app/grid/11.2.0/crs/install/roothas.pl line 296.
[[email protected] 11.2.0]# 

问题解决:

经过确认该版本号为11.2.0.1存在bug问题,随机採用暂时办法进行解决:

[[email protected] grid]#cd  /var/tmp/.oracle/
[[email protected] .oracle]# ls -l
total 0
prw-r--r--. 1 grid oinstall 0 Nov 18 15:19 npohasd
[[email protected] .oracle]# chown root:oinstall npohasd
[[email protected] .oracle]# ls -l
total 0
prw-r--r--. 1 root oinstall 0 Nov 18 15:19 npohasd

又一次运行root.sh:

[[email protected] oraInventory]# /u01/app/grid/11.2.0/root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/grid/11.2.0

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: 

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.sh script.
Now product-specific root actions will be performed.
2014-11-18 15:55:09: Checking for super user privileges
2014-11-18 15:55:09: User has super user privileges
2014-11-18 15:55:09: Parsing the host name
Using configuration parameter file: /u01/app/grid/11.2.0/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
CRS-4664: Node localhost successfully pinned.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
ADVM/ACFS is not supported on oraclelinux-release-6Server-4.0.4.x86_64

localhost     2014/11/18 15:55:33     /u01/app/grid/11.2.0/cdata/localhost/backup_20141118_155533.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
Updating inventory properties for clusterware
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 3998 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
[[email protected] oraInventory]# 

至此问题得到暂时解决!

注意:假设之前安装过gi,在运行root.sh的时候须要删除之前的配置信息:命令例如以下:

/u01/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force-verbose

时间: 2024-12-06 15:32:43

ohasd failed to start: Inappropriate ioctl for device的相关文章

s5pv210启动debian出错提示bash: cannot set terminal process group (-1): Inappropriate ioctl for device

1.启动参数如下: bootargs=root=/dev/nfs nfsroot=192.168.1.8:/opt/wheezy_fs ip=192.168.1.9:192.168.1.8:192.168.1.1:255.255.255.0::eth0:on init=/bin/bash console=ttySAC0,115200 1.1错误信息如下: bash: cannot set terminal process group (-1): Inappropriate ioctl for d

使用OpenCV的VideoCapture 读取.mp4文件时出现以下错误:Unable to stop the stream: Inappropriate ioctl for device

使用OpenCV的VideoCapture 读取.mp4文件时出现以下错误:Unable to stop the stream: Inappropriate ioctl for device 此问题由于未安装ffmpeg导致. sudo apt-get install ffmpeg 重新编译opecv即可. cd xx/opecv/build rm -rf * cmake ../                                //执行cmake ../后打印信息中video I/

Failed to install xxxx.apk on device 'emulator-5554!

异常信息:[HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch[HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554'[HelloAndroid] Installing HelloAndroid.apk...[HelloAndroid] Failed to install HelloAndroid.apk on

Failed to install dst.apk on device '99bad4e8': timeout

Failed to install dst.apk on device '99bad4e8': timeout 这个是问题我在用真机测试的时候,安装时候出错的.在我这里解决的办法: 把手机开发者模式开了,允许模拟位置开了.我测试的手机是红米2A. 情况不一样,可能解决的办法不一样,这里只提供一个参考. Failed to install dst.apk on device '99bad4e8': timeout

解决 vboxdrv.sh: failed: Cannot change group vboxusers for device /dev/vboxdrv.

来自:https://blog.csdn.net/su_cicada/article/details/86773043 virtualbox 报错 ,看提示让执行以下 sudo /sbin/vboxconfig 如果报错: vboxdrv.sh: failed: Cannot change group vboxusers for device /dev/vboxdrv. 那么应该是本用户没有加入vboxusers. 参考: https://ubuntuforums.org/archive/ind

centos7 VM VirtualBox设置共享目录时报错。 /sbin/mount.vboxsf: mounting failed with the error: No such device

执行  mount -t vboxsf workspace /mnt/workspace 解决办法: yum clean all yum update yum install kernel yum install kernel-devel yum install kernel-headers yum install gcc yum install make   reboot cd /opt/VBoxGuestAdditions-*/init   ./vboxadd setup reboot 原文

【故障处理】一次RAC故障处理过程

[故障处理]一次RAC故障处理过程 1.1  故障环境介绍 项目 source db db 类型 2节点RAC db version 11.2.0.1.0 db 存储 ASM OS版本及kernel版本 RHEL 6.6 1.2  故障处理过程 晚上10点多,一个网友喊我帮忙处理RAC宕机不能启动的问题,并且告知涉及到多路径和存储的事.小麦苗对存储一向不太懂,多路径也没怎么接触,自己也没研究过这个东西.既然找到了我,那就不能不管啊,硬着头皮上去看看.结果悲催了,搞了N个小时,求助了N个人,搞到第

rh6安装oracle11g+ASM

安装步骤我这里略过,主要说下安装过程中遇到到问题或重要步骤: 1.UDEV绑定: for i in b c d e ;doecho "KERNEL==\"sd*\", BUS==\"scsi\", PROGRAM==\"/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/\$name\", RESULT==\"`/sbin/scsi_id --white

ASM安装错误整理

ASM安装错误整理 错误1 描述 最后运行root.sh时出现如下错误: #/u01/app/11.2.0/grid/root.sh Adding daemon to inittab CRS-4124: Oracle High Availability Services startup failed. CRS-4000: Command Start failed, or completed with errors. ohasd failed to start: Inappropriate ioc