[Linux-HA] Probems using hb_gui on RHEL3
geekshelter at gmail.com
Wed Jan 21 08:55:14 MST 2009
2009/1/21 Yan Gao <ygao at novell.com>:
> On Tue, 2009-01-20 at 22:41 +0100, J. Friedrich wrote:
>> Hi everyone,
>> Unfortunately the pymgmt.py is not included in the built when
>> python2.2 is intalled. Also tried it directly from source, it also
>> lacks the pymgmgt.py file. When I use the same version and the same
>> parameters on a RedHat machine with python 2.3 or python 2.4 (i.e.
>> RHEL 4) it works flawlessly and like a charm. Am I right that at least
>> version 2.3 is needed to correctly build and install the HB gui?
> Never tested it with python < 2.3. But I think so.
OK, that explains why it has worked for me with RHEL 4 and python 2.3.
>> I tried other RPMs of heartbeat from different sources, but everytime
>> I installed them and tried to run the GUI, I receive the following
>> error message (on the RHEL3, with Python 2.2)
>> File "/usr/local/bin/hb_gui", line 34, in ?
>> from pymgmt import *
>> File "/usr/lib/heartbeat-gui/pymgmt.py", line 5, in ?
>> import _pymgmt
>> ImportError: dynamic module does not define init function (init_pymgmt)
> Were the RPMs built on the distribution you are using?
Yes, I built the RPMs on a RHEL 3 machine but with a manuel Python 2.3
>> I do not know much about Python, but it seems that the initialisation
>> has changed from Python 2.2 to Python 2.3/2.4. Am I correct? Is there
>> a way to get the GUI up and running with this rather old version of
> I don't think there's any easy way to do this. Besides, it requires
> pygtk > 2.4
I feared that you would say something like this ;-).
>> [ ... some of my explanations with several GUI and heartbeat versions ...]
> You still can run the front-end of the GUI on a newer distribution, and
> connect to the back-end on the RHEL3, but the both sides should be the
> same version.
OK thanks for the information. I will build a verison 2.0.8 on a
machine with a newer distribution.
Thanks for your fast reply and your informative answer!
More information about the Linux-HA