Oracle 11gR2 RAC ohasd failed to start 解决方法
2015-06-25 14:20
471 查看
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 at/u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443.
第一次安装11gR2 RAC的时候就遇到了这个11.0.2.1的经典问题,上网一查才知道这是个bug,解决办法也很简单,
就是在执行root.sh之时另打开一个窗口执行以下命令
/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
如果出现
/bin/dd: opening`/var/tmp/.oracle/npohasd': No such file or directory
的时候文件还没生成就继续执行,直到能执行为止,一般出现Adding daemon to inittab这条信息的时候执行dd命令。
另外还有一种解决方法就是更改文件权限
chown root:oinstall /var/tmp/.oracle/npohasd
重新执行root.sh之前别忘了删除配置:/u01/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force-verbose
参考:
https://cn.forums.oracle.com/forums/thread.jspa?threadID=2350285 http://blog.csdn.net/tianlesoftware/article/details/8207629
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device
ohasd failed to start at/u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443.
第一次安装11gR2 RAC的时候就遇到了这个11.0.2.1的经典问题,上网一查才知道这是个bug,解决办法也很简单,
就是在执行root.sh之时另打开一个窗口执行以下命令
/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
如果出现
/bin/dd: opening`/var/tmp/.oracle/npohasd': No such file or directory
的时候文件还没生成就继续执行,直到能执行为止,一般出现Adding daemon to inittab这条信息的时候执行dd命令。
另外还有一种解决方法就是更改文件权限
chown root:oinstall /var/tmp/.oracle/npohasd
重新执行root.sh之前别忘了删除配置:/u01/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force-verbose
参考:
https://cn.forums.oracle.com/forums/thread.jspa?threadID=2350285 http://blog.csdn.net/tianlesoftware/article/details/8207629
相关文章推荐
- oracle使用bat脚本批量执行sql文件
- Purpose of the Voting Disk for #Oracle RAC
- Oracle RAC集群资料收集
- Oracle RAC集群资料收集
- Oracle XMLTable Tutorial With Example
- Oracle操作XML各种场景介绍
- Oracle问题
- win7 登录本地oracle报错:ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服
- Oracle study之--“ORA-00845: MEMORY_TARGET not supported on this system"错误
- Oracle 中的Pivoting Insert用法
- hibernate 调用oracle 自带函数
- 自己配置的WAMP环境,扩展oracle函数库(oci)
- Oracle 11gR2 alter操作结果日志的查看
- ORACLE 多表关联 UPDATE 语句
- oracle常用sql语句集合
- oracle sql
- ORACLE TNS Listener远程注册投毒(Poison Attack)漏洞
- Oracle11g使用exp导出空表
- PL/SQL客户端连Oracle很快就断开问题的解决
- 关于oracle数据库安装问题