Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Pacemaker

Could not establish cib_rw connection

 

 

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded


martin.unger at itsdone

Jul 19, 2012, 7:06 AM

Post #1 of 7 (856 views)
Permalink
Could not establish cib_rw connection

Hello!

I'm running Pacemaker and Corosync on CentOS 6.3 (yum install corosync pacemaker).

Corosync starts just fine, but as soon as I start pacemaker, error messages start appearing in the log-file:

pacemakerd: info: start_child: Forked child 11112 for process crmd
crmd: info: crm_log_init_worker: Changed active directory to /var/lib/heartbeat/cores/hacluster
crmd: notice: main: CRM Hg Version: 148fccfd5985c5590cc601123c6c16e966b85d14
crmd: info: crm_ipc_connect: Could not establish cib_rw connection: Connection refused (111)
crmd: info: crm_ipc_connect: Could not establish cib_rw connection: Connection refused (111)
pacemakerd: error: pcmk_child_exit: Child process crmd exited (pid=11112, rc=127)

Running crm_mon outputs the following:

Attempting connection to the cluster...Could not establish cib_ro connection: Connection refused (111)
.crm_mon: symbol lookup error: crm_mon: undefined symbol: cib_error2string

What is the problem with my installation/configuration?

Cheers,
Martin
------------------------
Package-list:

corosync 1.4.1-7.el6
corosynclib 1.4.1-7.el6
pacemaker 1.1.7-6.el6
cluster-glue 1.0.5-6.el6
clusterlib 3.0.12.1-32.el6
pacemaker-cli 1.1.7-6.el6
pacemaker-cluster-libs 1.1.7-6.el6
------------------------
corosync.conf:

compatibility: whitetank

totem {
version: 2
secauth: off
threads: 0
interface {
ringnumber: 0
bindnetaddr: 10.0.1.1
mcastaddr: 226.94.1.1
mcastport: 5405
ttl: 1
}
}

logging {
fileline: off
to_stderr: no
to_logfile: yes
to_syslog: yes
logfile: /var/log/cluster/corosync.log
debug: off
timestamp: on
logger_subsys {
subsys: AMF
debug: off
}
}

amf {
mode: disabled
}
------------------------
service.d/pcmk:

service {
# Load the Pacemaker Cluster Resource Manager
name: pacemaker
ver: 1
}


emi2fast at gmail

Jul 20, 2012, 1:14 AM

Post #2 of 7 (808 views)
Permalink
Re: Could not establish cib_rw connection [In reply to]

Hello Martin

Do you using selinux or iptables? if your answer it's yes, try to disable

2012/7/19 Martin Unger <martin.unger [at] itsdone>

> Hello!
>
> I'm running Pacemaker and Corosync on CentOS 6.3 (yum install corosync
> pacemaker).
>
> Corosync starts just fine, but as soon as I start pacemaker, error
> messages start appearing in the log-file:
>
> pacemakerd: info: start_child: Forked child 11112 for process
> crmd
> crmd: info: crm_log_init_worker: Changed active directory to
> /var/lib/heartbeat/cores/hacluster
> crmd: notice: main: CRM Hg Version:
> 148fccfd5985c5590cc601123c6c16e966b85d14
> crmd: info: crm_ipc_connect: Could not establish cib_rw connection:
> Connection refused (111)
> crmd: info: crm_ipc_connect: Could not establish cib_rw connection:
> Connection refused (111)
> pacemakerd: error: pcmk_child_exit: Child process crmd exited
> (pid=11112, rc=127)
>
> Running crm_mon outputs the following:
>
> Attempting connection to the cluster...Could not establish cib_ro
> connection: Connection refused (111)
> .crm_mon: symbol lookup error: crm_mon: undefined symbol:
> cib_error2string
>
> What is the problem with my installation/configuration?
>
> Cheers,
> Martin
> ------------------------
> Package-list:
>
> corosync 1.4.1-7.el6
> corosynclib 1.4.1-7.el6
> pacemaker 1.1.7-6.el6
> cluster-glue 1.0.5-6.el6
> clusterlib 3.0.12.1-32.el6
> pacemaker-cli 1.1.7-6.el6
> pacemaker-cluster-libs 1.1.7-6.el6
> ------------------------
> corosync.conf:
>
> compatibility: whitetank
>
> totem {
> version: 2
> secauth: off
> threads: 0
> interface {
> ringnumber: 0
> bindnetaddr: 10.0.1.1
> mcastaddr: 226.94.1.1
> mcastport: 5405
> ttl: 1
> }
> }
>
> logging {
> fileline: off
> to_stderr: no
> to_logfile: yes
> to_syslog: yes
> logfile: /var/log/cluster/corosync.log
> debug: off
> timestamp: on
> logger_subsys {
> subsys: AMF
> debug: off
> }
> }
>
> amf {
> mode: disabled
> }
> ------------------------
> service.d/pcmk:
>
> service {
> # Load the Pacemaker Cluster Resource Manager
> name: pacemaker
> ver: 1
> }
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker [at] oss
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
>


--
esta es mi vida e me la vivo hasta que dios quiera


martin.unger at itsdone

Jul 20, 2012, 1:35 AM

Post #3 of 7 (828 views)
Permalink
Re: Could not establish cib_rw connection [In reply to]

Selinux and iptables are disabled.

________________________________
Von: emmanuel segura [emi2fast [at] gmail]
Gesendet: Freitag, 20. Juli 2012 10:14
An: The Pacemaker cluster resource manager
Betreff: Re: [Pacemaker] Could not establish cib_rw connection

Hello Martin

Do you using selinux or iptables? if your answer it's yes, try to disable

2012/7/19 Martin Unger <martin.unger [at] itsdone<mailto:martin.unger [at] itsdone>>
Hello!

I'm running Pacemaker and Corosync on CentOS 6.3 (yum install corosync pacemaker).

Corosync starts just fine, but as soon as I start pacemaker, error messages start appearing in the log-file:

pacemakerd: info: start_child: Forked child 11112 for process crmd
crmd: info: crm_log_init_worker: Changed active directory to /var/lib/heartbeat/cores/hacluster
crmd: notice: main: CRM Hg Version: 148fccfd5985c5590cc601123c6c16e966b85d14
crmd: info: crm_ipc_connect: Could not establish cib_rw connection: Connection refused (111)
crmd: info: crm_ipc_connect: Could not establish cib_rw connection: Connection refused (111)
pacemakerd: error: pcmk_child_exit: Child process crmd exited (pid=11112, rc=127)

Running crm_mon outputs the following:

Attempting connection to the cluster...Could not establish cib_ro connection: Connection refused (111)
.crm_mon: symbol lookup error: crm_mon: undefined symbol: cib_error2string

What is the problem with my installation/configuration?

Cheers,
Martin
------------------------
Package-list:

corosync 1.4.1-7.el6
corosynclib 1.4.1-7.el6
pacemaker 1.1.7-6.el6
cluster-glue 1.0.5-6.el6
clusterlib 3.0.12.1-32.el6
pacemaker-cli 1.1.7-6.el6
pacemaker-cluster-libs 1.1.7-6.el6
------------------------
corosync.conf:

compatibility: whitetank

totem {
version: 2
secauth: off
threads: 0
interface {
ringnumber: 0
bindnetaddr: 10.0.1.1
mcastaddr: 226.94.1.1
mcastport: 5405
ttl: 1
}
}

logging {
fileline: off
to_stderr: no
to_logfile: yes
to_syslog: yes
logfile: /var/log/cluster/corosync.log
debug: off
timestamp: on
logger_subsys {
subsys: AMF
debug: off
}
}

amf {
mode: disabled
}
------------------------
service.d/pcmk:

service {
# Load the Pacemaker Cluster Resource Manager
name: pacemaker
ver: 1
}


_______________________________________________
Pacemaker mailing list: Pacemaker [at] oss<mailto:Pacemaker [at] oss>
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org




--
esta es mi vida e me la vivo hasta que dios quiera


martin.unger at itsdone

Jul 23, 2012, 5:23 AM

Post #4 of 7 (784 views)
Permalink
Re: Could not establish cib_rw connection [In reply to]

I would be grateful for any other ideas...
Don't make me use haresources ;-)

________________________________
Von: Martin Unger
Gesendet: Donnerstag, 19. Juli 2012 16:06
An: pacemaker [at] oss
Betreff: Could not establish cib_rw connection

Hello!

I'm running Pacemaker and Corosync on CentOS 6.3 (yum install corosync pacemaker).

Corosync starts just fine, but as soon as I start pacemaker, error messages start appearing in the log-file:

pacemakerd: info: start_child: Forked child 11112 for process crmd
crmd: info: crm_log_init_worker: Changed active directory to /var/lib/heartbeat/cores/hacluster
crmd: notice: main: CRM Hg Version: 148fccfd5985c5590cc601123c6c16e966b85d14
crmd: info: crm_ipc_connect: Could not establish cib_rw connection: Connection refused (111)
crmd: info: crm_ipc_connect: Could not establish cib_rw connection: Connection refused (111)
pacemakerd: error: pcmk_child_exit: Child process crmd exited (pid=11112, rc=127)

Running crm_mon outputs the following:

Attempting connection to the cluster...Could not establish cib_ro connection: Connection refused (111)
.crm_mon: symbol lookup error: crm_mon: undefined symbol: cib_error2string

What is the problem with my installation/configuration?

Cheers,
Martin
------------------------
Package-list:

corosync 1.4.1-7.el6
corosynclib 1.4.1-7.el6
pacemaker 1.1.7-6.el6
cluster-glue 1.0.5-6.el6
clusterlib 3.0.12.1-32.el6
pacemaker-cli 1.1.7-6.el6
pacemaker-cluster-libs 1.1.7-6.el6
------------------------
corosync.conf:

compatibility: whitetank

totem {
version: 2
secauth: off
threads: 0
interface {
ringnumber: 0
bindnetaddr: 10.0.1.1
mcastaddr: 226.94.1.1
mcastport: 5405
ttl: 1
}
}

logging {
fileline: off
to_stderr: no
to_logfile: yes
to_syslog: yes
logfile: /var/log/cluster/corosync.log
debug: off
timestamp: on
logger_subsys {
subsys: AMF
debug: off
}
}

amf {
mode: disabled
}
------------------------
service.d/pcmk:

service {
# Load the Pacemaker Cluster Resource Manager
name: pacemaker
ver: 1
}


andrew at beekhof

Jul 29, 2012, 6:06 PM

Post #5 of 7 (750 views)
Permalink
Re: Could not establish cib_rw connection [In reply to]

On Mon, Jul 23, 2012 at 10:23 PM, Martin Unger <martin.unger [at] itsdone> wrote:
> I would be grateful for any other ideas...
> Don't make me use haresources ;-)

Its hard to say based on only a few lines of logs.
Perhaps if you included some from the cib (ie. the thing that no-one
can connect to) we could say more.

_______________________________________________
Pacemaker mailing list: Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


martin.unger at itsdone

Aug 8, 2012, 1:23 AM

Post #6 of 7 (723 views)
Permalink
Re: Could not establish cib_rw connection [In reply to]

Here is the complete logfile (with cib-output):
http://pastebin.com/JFQ7q814
________________________________________
Von: Andrew Beekhof [andrew [at] beekhof]
Gesendet: Montag, 30. Juli 2012 03:06
An: The Pacemaker cluster resource manager
Betreff: Re: [Pacemaker] Could not establish cib_rw connection

On Mon, Jul 23, 2012 at 10:23 PM, Martin Unger <martin.unger [at] itsdone> wrote:
> I would be grateful for any other ideas...
> Don't make me use haresources ;-)

Its hard to say based on only a few lines of logs.
Perhaps if you included some from the cib (ie. the thing that no-one
can connect to) we could say more.

_______________________________________________
Pacemaker mailing list: Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

_______________________________________________
Pacemaker mailing list: Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


andrew at beekhof

Aug 10, 2012, 3:52 AM

Post #7 of 7 (714 views)
Permalink
Re: Could not establish cib_rw connection [In reply to]

Its reasonably normal for various processes to reattempt their initial
connections (hard to connect to something thats still bootstrapping
itself).
Does the cluster behave normally otherwise?

What are the permissions on /var/run/crm/ ?

On Wed, Aug 8, 2012 at 6:23 PM, Martin Unger <martin.unger [at] itsdone> wrote:
> Here is the complete logfile (with cib-output):
> http://pastebin.com/JFQ7q814
> ________________________________________
> Von: Andrew Beekhof [andrew [at] beekhof]
> Gesendet: Montag, 30. Juli 2012 03:06
> An: The Pacemaker cluster resource manager
> Betreff: Re: [Pacemaker] Could not establish cib_rw connection
>
> On Mon, Jul 23, 2012 at 10:23 PM, Martin Unger <martin.unger [at] itsdone> wrote:
>> I would be grateful for any other ideas...
>> Don't make me use haresources ;-)
>
> Its hard to say based on only a few lines of logs.
> Perhaps if you included some from the cib (ie. the thing that no-one
> can connect to) we could say more.
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker [at] oss
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker [at] oss
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

_______________________________________________
Pacemaker mailing list: Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.