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 ioctl for device ohasd failed to start: Inappropriate ioctl for device at /u01/app/11.2.0/grid/crs/install/roothas.pl line 296.
说明
网上说是bug
解决
1) 删除配置信息:
#/u01/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force -verbose
2) 执行如下操作
#while true; do date +%F\ %T; dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1; sleep 1; done
3) 在2)中的文件出现时, 执行如下操作
#chown root:oinstall /var/tmp/.oracle/npohasd
4) 重新执行 /u01/app/11.2.0/grid/root.sh
参考
http://blog.sina.com.cn/s/blog_49d991b60101p2bl.html
错误2
描述
安装ASM过程中, 在添加ASM磁盘组成员时无法正常发现raw设备
说明
跟踪日志发现如下警告信息:
WARNING: /tmp/OraInstall2014-11-19_11-44-46AM/ext/bin/kfod: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
解决
安装 libaio和libaio-devel
时间: 2024-10-22 07:53:38