[Pacemaker] crm configure error in RHEL5

Zhidong She zhidong.she at gmail.com
Thu Jul 7 07:20:29 UTC 2011


Hi Guys, I installed pacemaker 1.0.11, heartbeat in my RHEL5, and when
I tried to configure the resource, I got below error.
Do you encounter this issue before and how to resolve?
Appriciate your response.

Br,
Zhidong


root at 3wbu-ucs104-1 ~]# crm configure
Traceback (most recent call last):
  File "/usr/sbin/crm", line 41, in ?
    crm.main.run()
  File "/usr/lib64/python2.4/site-packages/crm/main.py", line 243, in run
    parse_line(levels,["configure"])
  File "/usr/lib64/python2.4/site-packages/crm/main.py", line 123, in parse_line
    lvl.new_level(pt[token],token)
  File "/usr/lib64/python2.4/site-packages/crm/levels.py", line 73, in new_level
    self.current_level = level_obj()
  File "/usr/lib64/python2.4/site-packages/crm/ui.py", line 1293, in __init__
    cib_factory.initialize()
  File "/usr/lib64/python2.4/site-packages/crm/cibconfig.py", line
1726, in initialize
    if not self.import_cib():
  File "/usr/lib64/python2.4/site-packages/crm/cibconfig.py", line
1401, in import_cib
    self.doc,cib = read_cib(cibdump2doc)
  File "/usr/lib64/python2.4/site-packages/crm/xmlutil.py", line 72, in read_cib
    doc = fun(params)
  File "/usr/lib64/python2.4/site-packages/crm/xmlutil.py", line 53,
in cibdump2doc
    doc = xmlparse(p.stdout)
  File "/usr/lib64/python2.4/site-packages/crm/xmlutil.py", line 30, in xmlparse
    except xml.parsers.expat.ExpatError,msg:
AttributeError: 'module' object has no attribute 'expat'




More information about the Pacemaker mailing list