日期:2014-05-16  浏览次数:20766 次

CRS无法启动,运行crsctl start crs无响应


  CRS无法启动,运行crsctl start crs无响应

  查看messages:

  [root@UNID02 ~]# tail -f /var/log/messages

  Dec 9 08:11:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7259.

  Dec 9 08:12:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7468.

  Dec 9 08:12:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7356.

  Dec 9 08:12:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7259.

  Dec 9 08:13:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7468.

  Dec 9 08:13:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7356.

  Dec 9 08:13:14 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7259.

  Dec 9 08:14:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7468.

  Dec 9 08:14:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7356.

  Dec 9 08:14:14 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7259.

  CRS无法启动的原因为:Cluster Ready Services waiting on dependencies

  看来有依赖组件没有起来。

  查看更详细的信息:

  [root@UNID02 ~]# less /tmp/crsctl.7259

  Oracle Cluster Registry initialization failed accessing Oracle Cluster Registry device: PROC-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]

  [root@UNID02 ~]# service rawdevices status

  /dev/raw/raw5: bound to major 120, minor 97

  /dev/raw/raw6: bound to major 120, minor 113

  /dev/raw/raw7: bound to major 120, minor 129

  发现只起来了三个RAW,于是将其余的RAW起起来。

  [root@UNID02 ~]# service rawdevices start

  Assigning devices:

  /dev/raw/raw1 --> /dev/emcpowera1

  /dev/raw/raw1: bound to major 120, minor 1

  /dev/raw/raw2 --> /dev/emcpowerb1

  /dev/raw/raw2: bound to major 120, minor 17

  /dev/raw/raw3 --> /dev/emcpowerc1

  /dev/raw/raw3: bound to major 120, minor 33

  /dev/raw/raw4 --> /dev/emcpowerd1

  /dev/raw/raw4: bound to major 120, minor 49

  /dev/raw/raw5 --> /dev/emcpowerg1

  /dev/raw/raw5: bound to major 120, minor 97

  /dev/raw/raw6 --> /dev/emcpowerh1

  /dev/raw/raw6: bound to major 120, minor 113

  /dev/raw/raw7 --> /dev/emcpoweri1

  /dev/raw/raw7: bound to major 120, minor 129

  done

  [root@UNID02 ~]#

  为什么这些RAW没起来呢?原因为存储发生了故障重启,重启后disk挂载上主机,但是并没有作为RAW被识别出来。

  于是再次启动rawservices。

  [root@UNID02 ~]# service rawdevices start

  Assigning devices:

  /dev/raw/raw1 --> /dev/emcpowera1

  /dev/raw/raw1: bound to major 120, minor 1

  /dev/raw/raw2 --> /dev/emcpowerb1

  /dev/raw/raw2: bound to major 120, minor 17

  /dev/raw/raw3 --> /dev/emcpowerc1

  /dev/raw/raw3: bound to major 120, minor 33

  /dev/raw/raw4 --> /dev/emcpowerd1

  /dev/raw/raw4: bound to major 120, minor 49

  /dev/raw/raw5 --> /dev/emcpowerg1

  /dev/raw/raw5: bound to major 120, minor 97

  /dev/raw/raw6 --> /dev/emcpowerh1

  /dev/raw/raw6: bound to major 120, minor 113

  /dev/raw/raw7 --> /dev/emcpoweri1

  /dev/raw/raw7: bound to major 120, minor 129

  done

  [root@UNID02 ~]#

  继续查