[Pacemaker] pygui error to install on Ubuntu 10.04

Yan Gao ygao at novell.com
Wed Sep 15 04:48:29 UTC 2010


Hi,

On 09/15/10 03:36, Luana C. Rocha wrote:
>  *I'm also having problems to start heartbeat:*
> 
> root at squid01:/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0#
> /etc/init.d/heartbeat start
> Starting High-Availability services:  Heartbeat failure [rc=6]. Failed.
> heartbeat[7735]: 2010/09/14_16:14:18 ERROR: Client child command
> [/usr/lib/heartbeat/mgmtd] is not executable
> heartbeat[7735]: 2010/09/14_16:14:18 ERROR: Heartbeat not started:
> configuration error.
> heartbeat[7735]: 2010/09/14_16:14:18 ERROR: Configuration error,
> heartbeat not started.
> 
> *This is my ha.cf:*
> 
> bcast eth2
> autojoin any
> apiauth mgmtd uid=root
> respawn root /usr/lib/heartbeat/mgmtd
That's the back-end of the GUI. You can comment out this line until you successfully
build and install the GUI.


> crm on
> 
> *And the problem with the gui:*
> 
> cc1: warnings being treated as errors
> In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
>                  from /usr/include/glib-2.0/glib.h:34,
>                  from mgmt_lib.c:33:
> /usr/include/glib-2.0/glib/gthread.h: In function âg_once_init_enterâ:
> /usr/include/glib-2.0/glib/gthread.h:348: error: cast discards
> qualifiers from pointer target type
> make[2]: *** [libhbmgmt_la-mgmt_lib.lo] Error 1
> make[2]: Leaving directory
> `/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/mgmt/daemon'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory
> `/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/mgmt'
> make: *** [install-recursive] Error 1
> 
It's a bug of glib. Apply the following patch to your
/usr/include/glib-2.0/glib/gatomic.h :

http://git.gnome.org/browse/glib/commit/?id=bf2719c815d719d1899b4bdb1b81ff6798471094

Regards,
  Yan
-- 
Yan Gao <ygao at novell.com>
Software Engineer
China Server Team, OPS Engineering, Novell, Inc.




More information about the Pacemaker mailing list