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

Mailing List Archive: Linux-HA: Users

hb_gui failing to authenticate... although it has worked in the past

 

 

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


john.gardner at tagish

Oct 31, 2007, 6:44 AM

Post #1 of 7 (286 views)
Permalink
hb_gui failing to authenticate... although it has worked in the past

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

Why would it suddenly stop working?

Thanks

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


justin.kinney at academy

Oct 31, 2007, 7:34 AM

Post #2 of 7 (265 views)
Permalink
Re: hb_gui failing to authenticate... although it has worked in the past [In reply to]

linux-ha-bounces[at]lists.linux-ha.org wrote on 10/31/2007 08:44:14 AM:

> 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

> Why would it suddenly stop working?

I ran into a similar issue, and in my case it was the host's firewall.
Have you enabled a firewall recently?
If so, make sure that tcp port 5560 is open.

Hope this helps,
Justin
_______________________________________________
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


john.gardner at tagish

Oct 31, 2007, 7:48 AM

Post #3 of 7 (264 views)
Permalink
Re: hb_gui failing to authenticate... although it has worked in the past [In reply to]

justin.kinney[at]academy.com wrote:
> linux-ha-bounces[at]lists.linux-ha.org wrote on 10/31/2007 08:44:14 AM:
>
>> 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
>
>> Why would it suddenly stop working?
>
> I ran into a similar issue, and in my case it was the host's firewall.
> Have you enabled a firewall recently?
> If so, make sure that tcp port 5560 is open.
>
> Hope this helps,
> Justin

Justin

It's running over a VPN so there are no ports to open... I've been
connecting to it as
xx.xx.xx.xx:594 in the past so I'm not sure where 5560 come from?

Thanks anyway, but I don't /think/ that's the problem (I will check just
to be sure though ;-)

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


justin.kinney at academy

Oct 31, 2007, 9:15 AM

Post #4 of 7 (264 views)
Permalink
Re: hb_gui failing to authenticate... although it has worked in the past [In reply to]

> > I ran into a similar issue, and in my case it was the host's firewall.
> > Have you enabled a firewall recently?
> > If so, make sure that tcp port 5560 is open.
> >
> > Hope this helps,
> > Justin

> Justin

> It's running over a VPN so there are no ports to open... I've been
> connecting to it as

In my case, the firewall was actually installed on the box - not vpn
related. I'm running SLES10 SP1, and it comes with an iptables based
packet filter that required me to open port 5560 manually.

> xx.xx.xx.xx:594 in the past so I'm not sure where 5560 come from?

For me, mgmtd listens on 5560 out of the box for a 2.1.2 rpm installation.

> Thanks anyway, but I don't /think/ that's the problem (I will check just
> to be sure though ;-)


Thanks,
Justin
_______________________________________________
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


dejanmm at fastmail

Nov 2, 2007, 5:34 AM

Post #5 of 7 (255 views)
Permalink
Re: hb_gui failing to authenticate... although it has worked in the past [In reply to]

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.

Which heartbeat version do you run?

Thanks,

Dejan

> Thanks
>
> 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
_______________________________________________
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


john.gardner at tagish

Nov 5, 2007, 2:48 AM

Post #6 of 7 (249 views)
Permalink
Re: hb_gui failing to authenticate... although it has worked in the past [In reply to]

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








_______________________________________________
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


dejanmm at fastmail

Nov 5, 2007, 5:37 AM

Post #7 of 7 (252 views)
Permalink
Re: hb_gui failing to authenticate... although it has worked in the past [In reply to]

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
_______________________________________________
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

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


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.