On 16:16, Wed 24 Nov 10, Ante Karamatić wrote:
> U Sri, 24. 11. 2010., u 10:52 +0000, Dave Williams je napisao/la:
> 
> > I currently have a production clustered server down because of this and
> > the fact that ubuntu (I'm advised) have an inconsistently compiled set
> > of HA components. Certaintly both lucid and maverick released packages
> > leave defunct processes lying around and give highly unreliable
> > operation :-(
> 
> Can you elaborate on this?
> 
> OTOH, upstart plugin in ubuntu packages include one patch that wasn't
> accepted upstream, cause of which upstart plugin works.
> 
> It's a known problem that upstream's version of cluster-glue doesn't
> work yet with upstart and, pointing at my self, we still didn't test the
> solution Dejan proposed. I'll do that today or tomorrow.
> 
> Dejan, sorry for not respoding sooner. I'm having hard time finding some
> free time to work on this :(
> 

Adding the following patch

--- lrmd.c      2010-11-19 17:51:44.000000000 +0000
+++ ../../../lrmd.c     2010-11-24 20:40:49.351322794 +0000
@@ -1104,6 +1104,9 @@
 
        register_pid(FALSE, sigterm_action);
 
+
+       g_thread_init(NULL);
+
        /* load RA plugins   */
        PluginLoadingSystem = NewPILPluginUniv (HA_PLUGIN_DIR);
        PILLoadPlugin(PluginLoadingSystem, "InterfaceMgr", "generic",
@@ -1172,10 +1175,10 @@
        }

seems to fix the lrmadmin -C problem I reported!

I also tried compiling with G_ERRORCHECK_MUTEXES defined (before I applied the
above patch) but didnt see any extra error messages generated that would help
diagnose the problem.

Currently "crm configure verify" is reporting lrmd not running but I can 
successfully run
crm_verify -L -V 
so I guess that must be a different issue.

I will carry on testing....

Dave
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to