[Linux-HA] hb_gui failing to authenticate... although it has worked in the past

John Gardner john.gardner at tagish.co.uk
Mon Nov 5 03:48:04 MST 2007


Dejan Muhamedagic wrote:
> Hi,
> 
> On Wed, Oct 31, 2007 at 01:44:14PM +0000, John Gardner wrote:
>> I'm running CentOS 4.5 and I've had heartbeat up and running
>> successfully for a number of months, and configured it initially with
>> hb_gui, but I've never really used it since then...  Anyway, 4 months on
>> I powered up hb_gui to make some changes and it won't connect to the
>> heartbeat server, it gives this error:
>>
>> mgmtd: [23909]: ERROR: on_listen receive login msg failed
> 
> The first message on the connection was not a proper login
> message. This used to happen in the past also because of
> different client and server versions.
> 
>> Why would it suddenly stop working?
> 
> Are you absolutely sure that nothing changed in the meantime?
> Things don't just stop working. Typically there is a reason.

Yeah, I agree.  Things don't stop working... but this has.  OK, that's
not true.  hb_gui hasn't stopped working, the GUI still appears and
heartbeat is still operating fine, the only problem is that hb_gui will
now no longer connect to heartbeat.

> 
> Which heartbeat version do you run?
> 

I'm using 2.0.8 which is packaged for CentOS.  I'm using 2.0.8. version
of of hb_gui and 2.0.8 of heartbeat.

I've installed hb_gui on three separate servers, two access the
heartbeat server via VPN and the third is on the same subnet as the
heartbeat server.  All three connect using:

Server(:port)	192.168.1.65:694
Username	heartbeat
Password	xxxxxxx

The 'heartbeat' user is definitely in the haclient group (see /etc/group
below)

haclient:x:90:heartbeat

But every time I try to connect from either hb_gui client I get:

Failed in the authentication
User Name or Password may be wrong.
or the user desn't belong to the haclient group

on the GUI and the following in the log:

Nov  5 10:26:56 server01 mgmtd: [25556]: ERROR: on_listen receive login
msg failed
Nov  5 10:32:10 server01 mgmtd: [25556]: ERROR: on_listen receive login
msg failed

I'm at a bit of a loss what to do next really, I need to add another
Virtual IP today, but I can't connect :-(

Regards

John










More information about the Linux-HA mailing list