Re: struggling with vrrp_script [SOLVED]

Paul Slootman <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
On Tue 03 Sep 2013, Paul Slootman wrote:

> Revisiting an old problem I asked about back in May...
> 
> I finally found the problem, after someone viewed the config file in an
> editor that wasn't UTF8 capable...
> There were non-ascii spaces at the beginning of the "script" line :-(
> That caused keepalived to simply skip that line silently (no error
> given).

My original email message even contained those fake spaces :-)
Running it through cat -v shows:

vrrp_script chk_haproxy {
=A0=A0=A0=A0script "/usr/bin/killall -0 haproxy"
=A0=A0=A0=A0interval 9
    timeout 3
=A0=A0=A0=A0weight 20
    rise 2
    fall 4
}


Hopefully this helps someone sometime.


Paul

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.