This is a discussion on HACMP does not start while inittab was set for within the AIX Operating System forums, part of the Unix Operating Systems category; --> Context : 6H1 AIX5.1 and HACMP4.4.1 I encoutered a new pb last friday evening : After a mere reboot ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Context : 6H1 AIX5.1 and HACMP4.4.1 I encoutered a new pb last friday evening : After a mere reboot (but are there any mere reboots) my 6H1 refuses to launch the hacmp processes, though the "start on restart" command had been submitted See the tail of /etc/inittab >>>>>>>>>>>> ctrmc:2 rcopc:2:wait:sh /etc/rc.opc > /dev/console 2>&1 # start OpC lpd:2 clinit:a:wait:/bin/touch /usr//sbin/cluster/.telinit # HACMP for AIX These must be the last entries in inittab! pst_clinit:a:wait:/bin/echo Created /usr//sbin/cluster/.telinit > /dev/console # HACMP for AIX These must be the last entries in inittab! hacmp6000:2:wait:/usr//sbin/cluster/etc/rc.cluster -boot -i -b # Bring up Cluster <<<< The system restarted, but no cluster processes appeared though I wait for more than 5 mn. (nothing visible with the lssrc -g cluster command) I finally typed the smitty clstart now command and it immediatly started and brought the resources on. What could have happened, dear gurues ? |
| |||
| On Wed, 17 Sep 2003 17:57:08 +0200, Frédéric Normand <fr.normand@laposte.net> wrote: >Context : 6H1 AIX5.1 and HACMP4.4.1 > > >I encoutered a new pb last friday evening : > >After a mere reboot (but are there any mere reboots) my 6H1 refuses to >launch the hacmp processes, though the "start on restart" command had >been submitted > >See the tail of /etc/inittab > > >>>>>>>>>>>>> >ctrmc:2 >rcopc:2:wait:sh /etc/rc.opc > /dev/console 2>&1 # start OpC >lpd:2 > >clinit:a:wait:/bin/touch /usr//sbin/cluster/.telinit # HACMP for AIX >These must >be the last entries in inittab! >pst_clinit:a:wait:/bin/echo Created /usr//sbin/cluster/.telinit > >/dev/console # > HACMP for AIX These must be the last entries in inittab! >hacmp6000:2:wait:/usr//sbin/cluster/etc/rc.cluster -boot -i -b # >Bring up Cluster > ><<<< > >The system restarted, but no cluster processes appeared though I wait >for more than 5 mn. (nothing visible with the lssrc -g cluster >command) >I finally typed the smitty clstart now command and it immediatly >started and brought the resources on. > >What could have happened, dear gurues ? I answer my own message, due to a discussion with a colleague. He says that, though commented lines (beginning with a : character) are supported in the inittab, these comments must be at the beginning. Does anybody confirm ? To make a long story short : is it safe to insert comments in the inittab file ? |
| |||
| Frédéric Normand <fr.normand@laposte.net> wrote in message news:<4d2jmv8a6oqkl9oq520il5ihejolunqimu@4ax.com>. .. > On Wed, 17 Sep 2003 17:57:08 +0200, Frédéric Normand > <fr.normand@laposte.net> wrote: > > >Context : 6H1 AIX5.1 and HACMP4.4.1 > > > > > >I encoutered a new pb last friday evening : > > > >After a mere reboot (but are there any mere reboots) my 6H1 refuses to > >launch the hacmp processes, though the "start on restart" command had > >been submitted > > > >See the tail of /etc/inittab > > > > > >>>>>>>>>>>>> > >ctrmc:2 > >rcopc:2:wait:sh /etc/rc.opc > /dev/console 2>&1 # start OpC > >lpd:2 > > > >clinit:a:wait:/bin/touch /usr//sbin/cluster/.telinit # HACMP for AIX > >These must > >be the last entries in inittab! > >pst_clinit:a:wait:/bin/echo Created /usr//sbin/cluster/.telinit > > >/dev/console # > > HACMP for AIX These must be the last entries in inittab! > >hacmp6000:2:wait:/usr//sbin/cluster/etc/rc.cluster -boot -i -b # > >Bring up Cluster > > > ><<<< > > > >The system restarted, but no cluster processes appeared though I wait > >for more than 5 mn. (nothing visible with the lssrc -g cluster > >command) > >I finally typed the smitty clstart now command and it immediatly > >started and brought the resources on. > > > >What could have happened, dear gurues ? > > I answer my own message, due to a discussion with a colleague. > He says that, though commented lines (beginning with a : character) > are supported in the inittab, these comments must be at the beginning. > > Does anybody confirm ? > > To make a long story short : is it safe to insert comments in the > inittab file ? It is safe to insert comments into inittab, they can be anywhere in the file, but they must have a : as the first character. It is also supported to have a comment at the end of an entry, preced by a # (hash) e.g. dsmcad:2 >/dev/null 2>&1 # Start TSM W eb Agent Steve |
| |||
| Lines begging with a : are acceptable comments in /etc/inittab throughout the file. I use this technique frequently when commenting out lines that I do not want executed while I am testing. Hope this helps. -Chris Frédéric Normand <fr.normand@laposte.net> wrote in message news:<4d2jmv8a6oqkl9oq520il5ihejolunqimu@4ax.com>. .. > On Wed, 17 Sep 2003 17:57:08 +0200, Frédéric Normand > <fr.normand@laposte.net> wrote: > > >Context : 6H1 AIX5.1 and HACMP4.4.1 > > > > > >I encoutered a new pb last friday evening : > > > >After a mere reboot (but are there any mere reboots) my 6H1 refuses to > >launch the hacmp processes, though the "start on restart" command had > >been submitted > > > >See the tail of /etc/inittab > > > > > >>>>>>>>>>>>> > >ctrmc:2 > >rcopc:2:wait:sh /etc/rc.opc > /dev/console 2>&1 # start OpC > >lpd:2 > > > >clinit:a:wait:/bin/touch /usr//sbin/cluster/.telinit # HACMP for AIX > >These must > >be the last entries in inittab! > >pst_clinit:a:wait:/bin/echo Created /usr//sbin/cluster/.telinit > > >/dev/console # > > HACMP for AIX These must be the last entries in inittab! > >hacmp6000:2:wait:/usr//sbin/cluster/etc/rc.cluster -boot -i -b # > >Bring up Cluster > > > ><<<< > > > >The system restarted, but no cluster processes appeared though I wait > >for more than 5 mn. (nothing visible with the lssrc -g cluster > >command) > >I finally typed the smitty clstart now command and it immediatly > >started and brought the resources on. > > > >What could have happened, dear gurues ? > > I answer my own message, due to a discussion with a colleague. > He says that, though commented lines (beginning with a : character) > are supported in the inittab, these comments must be at the beginning. > > Does anybody confirm ? > > To make a long story short : is it safe to insert comments in the > inittab file ? |
| |||
| On 18 Sep 2003 07:55:11 -0700, Chris_S_Blanks@yahoo.com (Chris Blanks) wrote: >Lines begging with a : are acceptable comments in /etc/inittab >throughout the file. I use this technique frequently when commenting >out lines that I do not want executed while I am testing. > Thanks to both of you. By the way, some says empty lines (CR alone) could make PB in inittab. Do you confirm ? |
| ||||
| Frédéric Normand <fr.normand@laposte.net> wrote in message news:<sallmvos3ii7buh6kteoijlhl4h4a0q71m@4ax.com>. .. > On 18 Sep 2003 07:55:11 -0700, Chris_S_Blanks@yahoo.com (Chris Blanks) > wrote: > > >Lines begging with a : are acceptable comments in /etc/inittab > >throughout the file. I use this technique frequently when commenting > >out lines that I do not want executed while I am testing. > > > > Thanks to both of you. > > By the way, some says empty lines (CR alone) could make PB in inittab. > Do you confirm ? I've never seen a blank line in inittab, so couldn't comment. The recommended way to update inittab is to use mkitab and rmitab and this doesn't (AFAIK) allow you to put a blank line in. Steve |