oracle asm startup with os

maybe u will meet such issues when setting up the self startup with os:

May 15 19:19:29 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:19:29 oel4u8 logger:  ASM instance +ASM. Wait 1.
May 15 19:19:51 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:19:51 oel4u8 logger:  ASM instance +ASM. Wait 2.
May 15 19:20:13 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:20:13 oel4u8 logger:  ASM instance +ASM. Wait 3.
May 15 19:20:35 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:20:35 oel4u8 logger:  ASM instance +ASM. Wait 4.
May 15 19:20:57 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:20:57 oel4u8 logger:  ASM instance +ASM. Wait 5.
May 15 19:21:15 oel4u8 sshd(pam_unix)[6017]: session opened for user oracle by (uid=0)
May 15 19:21:18 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:21:18 oel4u8 logger:  ASM instance +ASM. Wait 6.
May 15 19:21:40 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:21:40 oel4u8 logger:  ASM instance +ASM. Wait 7.
May 15 19:22:02 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:22:02 oel4u8 logger:  ASM instance +ASM. Wait 8.
May 15 19:22:24 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:22:24 oel4u8 logger:  ASM instance +ASM. Wait 9.
May 15 19:22:46 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:22:46 oel4u8 logger:  ASM instance +ASM. Wait 10.
May 15 19:23:08 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:23:08 oel4u8 logger:  ASM instance +ASM. Wait 11.
May 15 19:23:29 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:23:29 oel4u8 logger:  ASM instance +ASM. Wait 12.
May 15 19:23:51 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:23:51 oel4u8 logger:  ASM instance +ASM. Wait 13.
May 15 19:24:13 oel4u8 logger: Waiting for Oracle CSS service to be available before starting
May 15 19:24:13 oel4u8 logger:  ASM instance +ASM. Wait 14.
May 15 19:24:35 oel4u8 logger: Timed out waiting to start ASM instance +ASM
May 15 19:24:35 oel4u8 logger:   CSS service is NOT available.

it’s a bug noted as Oracle Bug 3458327 in metalink,following behand to cover this problem:

add h1:35:respawn:/etc/init.d/init.cssd run >/dev/null 2>&1 </dev/null
between l2 and l3 will cover that

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
h1:35:respawn:/etc/init.d/init.cssd run >/dev/null 2>&1 </dev/null
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4