[root@node2 heartbeat]# hb_gui
/usr/lib/heartbeat-gui/pymgmt.py:5: RuntimeWarning: Python C API version mismatch for module _pymgmt: This Python has API version 1013, module _pymgmt has version 1012.
import _pymgmt
/usr/lib/heartbeat-gui/pymgmt.py:5: RuntimeWarning: Python C API version mismatch for module swig_runtime_data2: This Python has API version 1013, module swig_runtime_data2 has version 1012.
import _pymgmt
Traceback (most recent call last):
File "/usr/bin/hb_gui", line 41, in <module>
import gtk, gtk.glade, gobject
File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
_init()
File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
_gtk.init_check()
RuntimeError: could not open display
求解,有没有在centos 6.6 中安装过 heartbeat-gui 的
/usr/lib/heartbeat-gui/pymgmt.py:5: RuntimeWarning: Python C API version mismatch for module _pymgmt: This Python has API version 1013, module _pymgmt has version 1012.
import _pymgmt
/usr/lib/heartbeat-gui/pymgmt.py:5: RuntimeWarning: Python C API version mismatch for module swig_runtime_data2: This Python has API version 1013, module swig_runtime_data2 has version 1012.
import _pymgmt
Traceback (most recent call last):
File "/usr/bin/hb_gui", line 41, in <module>
import gtk, gtk.glade, gobject
File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
_init()
File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
_gtk.init_check()
RuntimeError: could not open display
求解,有没有在centos 6.6 中安装过 heartbeat-gui 的