Skip to content

Corosync: unknown error

For environments where the use of a load balancer is not feasible because of say cost or complexity I often use Corosync to provide similar functionality. Corosync is a piece of software that allows for clustering of an application to provide high availability. One issue I have often experienced with the tool is that the error messages are not descriptive making troubleshooting difficult.
As an example, I have used Corosync to cluster syslog servers in the past. In one such environment I had a pair of syslog servers in an active-standby configuration with a VIP. While the VIP came up as expected the syslog server reported an unknown error as shown below.

So what was causing the error and how can you clear it up?

First, let’s check the syslog configuration file for syntax errors:

Good, none found. Next, let’s ensure syslog is running:

Hmm, it is not. Let’s start it:

Well there you go, logrelay cannot be resolved and as such syslog cannot start.
It would be nice if Corosync could relay messages on behalf of the applications it supports to ease administration of the system…

© 2013, Steve Flanders. All rights reserved.

Published inSystem Administration

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *