[Linux-cluster] problems starting cman

Randy Brown randy.brown at noaa.gov
Tue Sep 25 11:51:40 UTC 2007


Do you have a host-based firewall running? 

Randy

Jordi Prats wrote:
> Hi,
> I'm trying to start a two node cluster, but I can't start cman. If I 
> run manually the join command it returns 141. (I don't know what dos 
> this means) How can I know why it do not  start? /var/log/messages 
> does not give me any clue about it.
>
> Here I copy all the messages I get. (I'm using a Fedora 7 with the 
> latest packeges)
>
> best regards,
> Jordi
>
> [root at inf17 log]# /etc/init.d/cman restart
> Stopping cluster:
>   Stopping fencing... done
>   Stopping cman... done
>   Stopping ccsd... done
>   Unmounting configfs... done
>                                                           [  OK  ]
> Starting cluster:
>   Loading modules... done
>   Mounting configfs... done
>   Starting ccsd... done
>   Starting cman... failed
>
>                                                           [FAILED]
>
>
> [root at inf17 log]# /usr/sbin/cman_tool -t 120 -w join
> [root at inf17 log]# echo $?
> 141
>
> Sep 25 13:30:05 inf17 ccsd[4226]: Starting ccsd 2.0.60:
> Sep 25 13:30:05 inf17 ccsd[4226]:  Built: Feb 27 2007 17:13:55
> Sep 25 13:30:05 inf17 ccsd[4226]:  Copyright (C) Red Hat, Inc.  2004  
> All rights reserved.
> Sep 25 13:30:05 inf17 ccsd[4226]: cluster.conf (cluster name = 
> boumort, version = 3) found.
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] AIS Executive Service 
> RELEASE 'subrev 1204 version 0.80.1'
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] Copyright (C) 2002-2006 
> MontaVista Software, Inc and contributors.
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] Copyright (C) 2006 Red 
> Hat, Inc.
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] Using default multicast 
> address of 239.192.52.96
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] openais component 
> openais_cpg loaded.
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] Registering service 
> handler 'openais cluster closed process group service v1.01'
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] openais component 
> openais_cfg loaded.
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] Registering service 
> handler 'openais configuration service'
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] openais component 
> openais_msg loaded.
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] Registering service 
> handler 'openais message service B.01.01'
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] openais component 
> openais_lck loaded.
> Sep 25 13:30:08 inf17 openais[4232]: [MAIN ] Registering service 
> handler 'openais distributed locking service B.01.01'
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] AIS Executive Service 
> RELEASE 'subrev 1204 version 0.80.1'
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] Copyright (C) 2002-2006 
> MontaVista Software, Inc and contributors.
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] Copyright (C) 2006 Red 
> Hat, Inc.
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] Using default multicast 
> address of 239.192.52.96
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] openais component 
> openais_cpg loaded.
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] Registering service 
> handler 'openais cluster closed process group service v1.01'
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] openais component 
> openais_cfg loaded.
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] Registering service 
> handler 'openais configuration service'
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] openais component 
> openais_msg loaded.
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] Registering service 
> handler 'openais message service B.01.01'
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] openais component 
> openais_lck loaded.
> Sep 25 13:30:33 inf17 openais[4239]: [MAIN ] Registering service 
> handler 'openais distributed locking service B.01.01'
> Sep 25 13:30:34 inf17 ccsd[4226]: Unable to connect to cluster 
> infrastructure after 30 seconds.
> Sep 25 13:31:04 inf17 ccsd[4226]: Unable to connect to cluster 
> infrastructure after 60 seconds.
>
> <?xml version="1.0"?>
> <cluster alias="boumort" config_version="3" name="boumort">
>        <fence_daemon clean_start="0" post_fail_delay="0" 
> post_join_delay="3"/>
>        <clusternodes>
>                <clusternode name="inf17" votes="1" nodeid="1">
>                        <fence>
>                                <method name="1">
>                                        <device name="fdinf17"/>
>                                </method>
>                        </fence>
>                </clusternode>
>                <clusternode name="inf18" votes="1" nodeid="2">
>                        <fence>
>                                <method name="1">
>                                        <device name="fdinf18"/>
>                                </method>
>                        </fence>
>                </clusternode>
>        </clusternodes>
>        <cman/>
>        <fencedevices>
>                <fencedevice agent="fence_ilo" hostname="172.16.11.17" 
> login="root" name="fdinf17" passwd="R9t9t0u1ll3"/>
>                <fencedevice agent="fence_ilo" hostname="172.16.11.18" 
> login="root" name="fdinf18" passwd="R9t9t0u1ll3"/>
>        </fencedevices>
>        <rm>
>                <failoverdomains/>
>                <resources/>
>        </rm>
>        <cman expected_votes="1" two_node="1" />
> </cluster>
>
>




More information about the Linux-cluster mailing list