安装GI报错 CRS-4124 CRS-4000

在执行以下脚本时,11.0.2.1版本的GI有一个BUG会报错(11.2.0.3版本不存在这个问题)

[root@localhost ~]#/u01/app/grid/11.2.0/perl/bin/perl -I/u01/app/grid/11.2.0/perl/lib-I/u01/app/grid/11.2.0/crs/install /u01/app/grid/11.2.0/crs/install/roothas.pl

2015-10-22 00:01:06: Checking for superuser privileges
2015-10-22 00:01:06: User has super userprivileges
2015-10-22 00:01:06: Parsing the hostname
Using configuration parameter file: /u01/app/grid/11.2.0/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'grid',privgrp 'oinstall'..
Operation successful.
CRS-4664: Node localhost successfullypinned.
Adding daemon toinittab
CRS-4124: Oracle HighAvailability Services startup failed. //报错
CRS-4000: Command Start failed, orcompleted with errors.
ohasd failed to start: Inappropriateioctl for device
ohasd failed to start: Inappropriateioctl for device at /u01/app/11.2.0/grid/crs/install/roothas.pl line 296.

解决方案:(重新配置crs)
首先回退之前的操作
[root@localhost ~]# /u01/app/grid/11.2.0/crs/install/roothas.pl  -deconfig  -force -verbose

重新执行脚本
[root@localhost ~]#/u01/app/grid/11.2.0/root.sh

[root@localhost ~]#/u01/app/grid/11.2.0/perl/bin/perl -I/u01/app/grid/11.2.0/perl/lib-I/u01/app/grid/11.2.0/crs/install /u01/app/grid/11.2.0/crs/install/roothas.pl

在上面一个脚本执行到Adding daemon to inittab 这一步骤时,新开一个窗口 执行如下脚本,直到卡住不动,再回去发现就成功装好了
[root@localhost ~]# /bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1

你可能感兴趣的:(ORACLE错误)