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

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Nov 5 06:37:05 MST 2007


Hi,

On Mon, Nov 05, 2007 at 10:48:04AM +0000, John Gardner wrote:
> 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

The server for some reason doesn't understand the GUI. It never
gets to checking the credentials. Did you try to connect to
another node?

> 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 :-(

You can use cibadmin to edit the CIB. Try man cibadmin or
linux-ha.org for instructions.

Thanks,

Dejan

> Regards
> 
> John
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems


More information about the Linux-HA mailing list