inittab entries do not start components in Red Ha
I did an a new installation of Red Hat 5 with kernel version 2.6.18-194.el5. I noticed that when i tried installing Oracle clusterware on the servers , the crs deamon inserted in the inittab does not startup. The reason attributed to it was because of init problem . A quick test was to insert the entry test:5:once:echo "HELLO TEST" > /test.log in the inittab and use init q command. This should create a file test.log if its fine but I discovered that the entires in the inittab are not executed. Kindly assist in proferring solution to the init problem. My inittab is as below :
[root@idmdb2 ~]# cat /etc/initab
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
# Author: Miquel van Smoorenburg,
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
# System initialization.
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
# Run gettys in standard runlevels
# Run xdm in runlevel 5
test:5:once:echo "HELLO TEST" > /test.log