[Openais] openais stop problem on CentOS

Andrew Beekhof andrew at beekhof.net
Wed Nov 4 23:41:03 PST 2009


You're using pacemaker < 1.0.6 ?

On Wed, Nov 4, 2009 at 4:27 PM, Gilles GAUDIN <ggaudin at bdfweb.com> wrote:
> Hi !
>
> I'm trying to configure a cluster with Pacemaker project. But I have a
> problem for stopping openais.
> I search on google for more informations but nothing is really clear.
>
> I work with CentOS 5.4 2.6.18-164.2.1.el5 X86864, when I launch the command
> '/etc/init.d/openais stop', I can see this
> Stopping OpenAIS daemon (aisexec):
> ................................................................................
> ..........................................................................................................................................
>
> aisexec never stop and I have to stop this command with CTRL+C.
> There is an error into the /var/log/messages file when I launch
> /etc/init.d/openais stop:
>
> Nov  4 12:00:37 ld1 openais[18711]: [MAIN ] AIS Executive exiting (reason:
> finished, exiting normally).
> Nov  4 12:00:37 ld1 attrd: [18720]: ERROR: ais_dispatch: Receiving message
> body failed: (-1) unknown: Resource temporarily unavailable (11)
> Nov  4 12:00:37 ld1 cib: [18718]: ERROR: ais_dispatch: Receiving message
> body failed: (-1) unknown: Resource temporarily unavailable (11)
> Nov  4 12:00:37 ld1 attrd: [18720]: ERROR: ais_dispatch: AIS connection
> failed
> Nov  4 12:00:37 ld1 cib: [18718]: ERROR: ais_dispatch: AIS connection failed
> Nov  4 12:00:37 ld1 attrd: [18720]: CRIT: attrd_ais_destroy: Lost connection
> to OpenAIS service!
> Nov  4 12:00:37 ld1 cib: [18718]: ERROR: cib_ais_destroy: AIS connection
> terminated
> Nov  4 12:00:37 ld1 attrd: [18720]: info: main: Exiting...
> Nov  4 12:00:37 ld1 attrd: [18720]: ERROR: attrd_cib_connection_destroy:
> Connection to the CIB terminated...
> Nov  4 12:00:37 ld1 crmd: [18722]: ERROR: ais_dispatch: Receiving message
> body failed: (-1) unknown: Resource temporarily unavailable (11)
> Nov  4 12:00:37 ld1 crmd: [18722]: ERROR: ais_dispatch: AIS connection
> failed
> Nov  4 12:00:37 ld1 crmd: [18722]: ERROR: crm_ais_destroy: AIS connection
> terminated
> Nov  4 12:00:37 ld1 stonithd: [18717]: ERROR: ais_dispatch: Receiving
> message body failed: (-1) unknown: Invalid argument (22)
> Nov  4 12:00:37 ld1 stonithd: [18717]: ERROR: ais_dispatch: AIS connection
> failed
> Nov  4 12:00:37 ld1 stonithd: [18717]: ERROR: AIS connection terminated
>
>
> Here is my openais.conf:
>
> aisexec {
>         user:   root
>         group:  root
> }
>
> service {
>         ver:       0
>         name:      pacemaker
>         use_mgmtd: yes
>         use_logd:  yes
> }
>
> totem {
>         version: 2
>         token:          5000
>         token_retransmits_before_loss_const: 10
>         join:           1000
>         consensus:      2500
>         vsftype:        none
>         max_messages:   20
>         send_join: 45
>         clear_node_high_bit: yes
>         secauth:        off
>         threads:        0
>         # nodeid:         1234
>
>         interface {
>                 ringnumber: 0
>                 bindnetaddr: 192.168.0.0
>                 mcastaddr: 226.94.1.1
>                 mcastport: 4000
>         }
> }
>
> logging {
>         debug: off
>         fileline: off
>         to_syslog: yes
>         to_stderr: off
>         syslog_facility: daemon
>         timestamp: on
> }
>
> amf {
>         mode: disabled
> }
>
>
>
> Thanks for your help
>
> Gilles GAUDIN
>
>
>
>
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais
>


More information about the Openais mailing list