Announcement

Collapse
No announcement yet.

lvectl : ImportError: /usr/lib64/python2.4/lib-dynload/pyexpat.so

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • lvectl : ImportError: /usr/lib64/python2.4/lib-dynload/pyexpat.so

    Important lvectl commands return error

  • #2
    Important lvectl comments return error .
    Ex:

    Code:
    # lvectl apply all
    
    Traceback (most recent call last):
    
    File "/usr/sbin/lvectl", line 585, in ?
    
    main()
    
    File "/usr/sbin/lvectl", line 478, in main
    
    lve_commands.lve_apply_all()
    
    File "/usr/lib/python2.4/site-packages/lvectllib.py", line 618, in lve_apply_all
    
    get_XML_cfg()
    
    File "/usr/lib/python2.4/site-packages/lvectllib.py", line 240, in get_XML_cfg
    
    ve_cfg = xml.parse(VE_CFG_PATH)
    
    File "/usr/lib64/python2.4/xml/dom/minidom.py", line 1914, in parse
    
    from xml.dom import expatbuilder
    
    File "/usr/lib64/python2.4/xml/dom/expatbuilder.py", line 32, in ?
    
    from xml.parsers import expat
    
    File "/usr/lib64/python2.4/xml/parsers/expat.py", line 4, in ?
    
    from pyexpat import *
    
    ImportError: /usr/lib64/python2.4/lib-dynload/pyexpat.so: symbol XML_SetHashSalt, version EXPAT_1_95_8_RH not defined in file libexpat.so.0 with link time reference
    Any suggestions?

    Comment


    • #3
      Is this CloudLinux 5 server?

      Could you please show following?:

      Code:
      uname -r
      
      rpm -qf  /usr/lib64/python2.4/lib-dynload/pyexpat.so
      
      ldd /usr/lib64/python2.4/lib-dynload/pyexpat.so
      
      rpm -V python-libs

      Comment

      Working...
      X