RHEL 6.5 安装 grid 报错:CRS-4124

来源:互联网 发布:数据库笛卡尔积怎么算 编辑:程序博客网 时间:2024/06/15 01:00

1.安装11.2.0.1 的grid时执行/u01/app/11.2.0/grid/root.sh

Running Oracle 11g root.sh script...

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

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


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.
2015-02-09 18:14:57: Parsing the host name
2015-02-09 18:14:57: Checking for super user privileges
2015-02-09 18:14:57: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE 
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
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 at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443.


2 诊断

 1主要是ADVM/ACFS is not supported on redhat-release-server-6Server-6.5.0.1.el6.x86_64

 oracle官网说是bug;

3 解决

开启会话1:/u01/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force -verbose

开启会话2语句:/bin/dd if=/var/tmp/.oracle/npohasd  of=/dev/null bs=1024 count=1

一直执行会话2语句 直到不出现/bin/dd: opening`/var/tmp/.oracle/npohasd': No such file or directory 信息(刚开始以为文件目录不存在)



4 最好是11.2.0.1升级到11.2.0.1以上版本



原创粉丝点击