[Pacemaker] [Ubuntu-ha] startup problem DLM on ubuntu lucid
Andrew Beekhof
andrew at beekhof.net
Tue Apr 27 17:53:33 UTC 2010
Suggested patch:
diff --git a/group/dlm_controld/pacemaker.c b/group/dlm_controld/pacemaker.c
index c661343..93c1841 100644
--- a/group/dlm_controld/pacemaker.c
+++ b/group/dlm_controld/pacemaker.c
@@ -123,7 +123,7 @@ void dlm_process_node(gpointer key, gpointer
value, gpointer user_data)
} else if(rc == 0) {
do_remove = TRUE;
- } else if(is_active) {
+ } else if(is_active && node->addr) {
do_add = TRUE;
}
On Tue, Apr 27, 2010 at 4:20 PM, Oliver Heinz <oheinz at fbihome.de> wrote:
> Am Dienstag, 27. April 2010 13:00:27 schrieb Lars Ellenberg:
>> On Tue, Apr 27, 2010 at 09:33:27AM +0200, Oliver Heinz wrote:
> ..
>> > I installed every -dbg package that is available for any package
>> > installed on the system (just to be sure). There are no debug packages
>> > for most of the cluster-stack, if it would help to have them recompiled
>> > without symbol stripping I could do that.
>>
>> Yes please ;-)
>>
>> then,
>> gdb /usr/sbin/dlm_controld.pcmk core -ex where -ex quit
>
> Core was generated by `dlm_controld.pcmk -q 0'.
> Program terminated with signal 11, Segmentation fault.
> #0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
> 31 ../sysdeps/x86_64/multiarch/../strlen.S: No such file or directory.
> in ../sysdeps/x86_64/multiarch/../strlen.S
> #0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
> #1 0x00007f4b1ccedd46 in *__GI___strdup (s=0x0) at strdup.c:42
> #2 0x0000000000403f0c in dlm_process_node (key=<value optimized out>,
> value=0x1e10a30, user_data=0x62a4f8) at /usr/src/packages/redhat-
> cluster/3.0.7/redhat-cluster-3.0.7/group/dlm_controld/pacemaker.c:136
> #3 0x00007f4b1d36cd73 in IA__g_hash_table_foreach (hash_table=0x1e12050,
> func=0x403e40 <dlm_process_node>, user_data=0x62a4f8) at
> /build/buildd/glib2.0-2.24.0/glib/ghash.c:1325
> #4 0x0000000000403c9e in update_cluster () at /usr/src/packages/redhat-
> cluster/3.0.7/redhat-cluster-3.0.7/group/dlm_controld/pacemaker.c:82
> #5 0x0000000000415a4a in loop () at /usr/src/packages/redhat-
> cluster/3.0.7/redhat-cluster-3.0.7/group/dlm_controld/main.c:986
> #6 0x000000000041659c in main (argc=<value optimized out>, argv=<value
> optimized out>) at /usr/src/packages/redhat-cluster/3.0.7/redhat-
> cluster-3.0.7/group/dlm_controld/main.c:1295
>
>
>
> hth,
> Oliver
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>
More information about the Pacemaker
mailing list