Don't use tabs in the haresource file!
news-innominate.list.linux.ha at innominate.de
Tue Jul 25 04:01:49 MDT 2000
Alan Robertson wrote:
> Juri Haberland wrote:
> > Hi all,
> > I just discovered the hard way that one shouldn't use tabs in haresource
> > file because heartbeat won't start any resource. If blanks are used
> > instead of tabs all works fine. This is especially annoying because the
> > examples in this file _do_ use tabs!
> I always use tabs. Let me go look at the code...
> I carefully reread the code, and it looks like it works. Since I wrote
> the code and I always use tabs, this isn't too surprising ;-)
> Do you still have the haresources file that didn't work for you?
No, but I could reproduce it with the attached file. If I substitute the
tabs with a blank or if I insert a blank in front of the tab heartbeat
runs the scripts for IP take-over and the ldirectord script. If I insert
a blank after the tab it stops working. Actually, it looks like the
blank,tab,blank it works
tab,blank does not work
Seems like there has to be a leading blank...
PS: I'm not very familiar with sed :-(
juri.haberland at innominate.de
system engineer innominate AG
clustering & security networking people
phone: +49-30-308806-45 fax: -77 web: http://innominate.de
-------------- next part --------------
dummy29.bln.innominate.de 10.0.0.205 ldirectord
More information about the Linux-HA