On Fri, Feb 03, 2012 at 11:55:21AM +0100, Florian Crouzat wrote: > Verify that your init script is lsb compliant[1] and declare it as a > resource: > crm configure edit > primitive foo lsb:foo\ > meta target-role="Started"
It works. Thanks! That was exactly what I needed. I had to add a small delay (sleep 3) at the top of my /etc/init.d/unbound script, otherwise the application failed to bind to the ip address: Feb 3 20:54:04 nsb IPaddr2[9430]: [9462]: INFO: ip -f inet addr add 130.226.1.19/32 brd 130.226.1.19 dev eth8 Feb 3 20:54:04 nsb lrmd: [9386]: info: RA output: (unbound:start:stderr) [1328298844] unbound[9456:0] error: can't bind socket: Cannot assign requested address Feb 3 20:54:04 nsb lrmd: [9386]: info: RA output: (unbound:start:stderr) [1328298844] unbound[9456:0] fatal error: could not open ports Feb 3 20:54:04 nsb lrmd: [9386]: info: RA output: (unbound:start:stdout) ...fail! Feb 3 20:54:04 nsb crmd: [9389]: info: process_lrm_event: LRM operation unbound_start_0 (call=4, rc=0, cib-update=9, confirmed=true) ok Feb 3 20:54:04 nsb IPaddr2[9430]: [9465]: INFO: ip link set eth8 up Feb 3 20:54:04 nsb IPaddr2[9430]: [9468]: INFO: /usr/lib/heartbeat/send_arp -i 200 -r 5 -p /var/run/heartbeat/rsctmp/send_arp/send_arp-130.226.1.19 eth8 130.226.1.19 auto not_used not_used Maybe something should have respawned unbound. It did not start. I better check the unbound initscript again... torben _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
