On 01/30/2013 06:24 PM, Arno Töll wrote: > Hi, > > On 30.01.2013 15:39, Nerijus Kislauskas wrote: >> It makes lsb:apache2 unusable on pacemaker clusters. > > this is a known problem. I tried to address this problem partially in > our upcoming Apache 2.4 tree, but since complex init scripts such as > Apache's are error prone, we decided not to backport my improvements to 2.2. > > Could you try the new init script [1] and tell me if it fixes your > problem? There I wait until the server is stopped, start is left as is > so far. > > > [1] > http://anonscm.debian.org/gitweb/?p=pkg-apache/apache2.git;a=blob;f=debian/apache2.init;h=130c0f533d18abea263622dbd2673f134989b5ad;hb=refs/heads/next
No, it does not. Pacemaker result: Jan 31 11:11:15 lrmd: [1979]: info: operation start[1579] on apache2-test for client 1982: pid 24864 exited with return code 0 Jan 31 11:11:15 lrmd: [1979]: info: rsc:apache2-test monitor[1580] (pid 24880) Jan 31 11:11:15 lrmd: [1979]: info: operation monitor[1580] on apache2-test for client 1982: pid 24880 exited with return code 7 (mapped from 3) Jan 31 11:11:16 lrmd: [1979]: info: cancel_op: operation monitor[1580] on apache2-test for client 1982, its parameters: crm_feature_set=[3.0.6] CRM_meta_name=[monitor] CRM_meta_interval=[60000] CRM_meta_timeout=[20000] cancelled Jan 31 11:11:16 lrmd: [1979]: info: rsc:apache2-test stop[1581] (pid 24894) I will stay with original wheezy apache2 init script with "sleep X" at the end of "start)" section. Looks ugly, but works. http://www.linux-ha.org/wiki/LSB_Resource_Agents -- Nerijus Kislauskas -- To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/510a471d.2030...@ktu.lt