On Fri, May 25, 2012 at 02:01:18AM +0200, Lars Ellenberg spake thusly: > Something is broken with your IPaddr2 script. > Relevant package would be resource-agents. > > I suggest you simply > wget > https://raw.github.com/ClusterLabs/resource-agents/master/heartbeat/IPaddr2 > and pastebin > diff -u /usr/lib/ocf/resource.d//heartbeat/IPaddr2 ./IPaddr2
I did the diff and pasted it here: http://pastebin.ca/2153805 It looks like RedHat has done some patching which makes the diff ugly. But I don't see any obvious typos or corruption. > Or replace yours with the current one. I would hesitate to do that given that RH has patched it. Other RH provided/patched code might depend on their patches to IPAddr2. > Maybe just upgrade resource-agents? > > Though, if the script is broken in that way (syntax error), > it should never work, and not even start, usually. Indeed. My theory is that line 332 which contains: exit $OCF_ERR_CONFIGURED which is an unquoted variable and maybe something weird got into that variable which caused a syntax error. I'm not sure which esac the error refers to though. -- Tracy Reed
pgp7FpLW6JUCC.pgp
Description: PGP signature
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
