On 05/04/2011 09:09 AM, Florian Haas wrote: > On 05/04/2011 08:44 AM, Darren Thompson wrote: >> Florian >> >> I have tried to re-base on your version but it just will not run for me. >> >> I keep getting "Failed to parse the metadata of LXC" syntax error line >> 1, column 1" >> >> I've no idea where this error is as it all looks fine... >> >> I'll attach my copy and a screen-shot of the error, HELP!!! > > It's probably not a wise approach to "test" with the GUI while you're > not even sure the resource agent will run. You will have to start the > script from the command line and see where your error is coming from.
Btw, your patch contains this: diff --git a/heartbeat/lxc b/heartbeat/lxc index 25ef6e3..9819a47 100755 --- a/heartbeat/lxc +++ b/heartbeat/lxc @@ -123,7 +123,6 @@ LXC_start() { if ! LXC_monitor ; then touch $TRANS_RES_STATE ocf_log info "Starting" ${OCF_RESKEY_container} - cd "`dirname ${OCF_RESKEY_config`" ocf_run ${STARTCMD} || exit $OCF_ERR_GENERIC else # If already running, consider start successful Sorry, that was a typo on my part, should have been cd "`dirname ${OCF_RESKEY_config}`" (with closing brace) of course. Should I correct the typo, or can we drop that line altogether? Cheers, Florian
signature.asc
Description: OpenPGP digital signature
_______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/