1. 程式人生 > >安裝GI報錯 CRS-4124 CRS-4000

安裝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