WebFaction
Community site: login faq

I need help with my zope/plone upgrade from CentOS 5 to CentOS 6.

I just had my server migrated from CentOS 5 to CentOS 6. I was going through the post-migration task list and encountered a problem with my zone/plone migration. Following the instructions I created a new zope instance and copied the python files from the new instance to the migrated instance as directed. When, however, I went to restart the (migrated) zope instance I received a series of errors suggestive of other libraries that need to be upgraded. (See below for the errors).

I'd appreciate any help in completing the upgrade.

[gwa@web402 ~]$ webapps/zope/zinstance/bin/instance restart
Traceback (most recent call last):
  File "webapps/zope/zinstance/bin/instance", line 220, in <module>
    + sys.argv[1:])
  File "/home/gwa/webapps/zope/buildout-cache/eggs/plone.recipe.zope2instance-4.0.2-py2.6.egg/plone/recipe/zope2instance/ctl.py", line 366, in main
    options.realize(args, doc=__doc__)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/Startup/zopectl.py", line 148, in realize
    ZDOptions.realize(self, *args, **kw)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdoptions.py", line 290, in realize
    self.load_schema()
  File "/home/gwa/webapps/zope/buildout-cache/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdoptions.py", line 338, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/loader.py", line 32, in loadSchema
    return SchemaLoader().loadURL(url)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/loader.py", line 66, in loadURL
    return self.loadResource(r)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/loader.py", line 187, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/schema.py", line 27, in parseResource
    xml.sax.parse(resource.file, parser)
  File "/usr/lib64/python2.6/xml/sax/__init__.py", line 33, in parse
    parser.parse(source)
  File "/usr/lib64/python2.6/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib64/python2.6/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib64/python2.6/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib64/python2.6/xml/sax/expatreader.py", line 301, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/schema.py", line 99, in startElement
    getattr(self, "start_" + name)(attrs)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/schema.py", line 476, in start_schema
    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/schema.py", line 201, in get_sect_typeinfo
    datatype = self.get_datatype(attrs, "datatype", "null", base)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/schema.py", line 194, in get_datatype
    return self._registry.get(dtname)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/datatypes.py", line 398, in get
    t = self.search(name)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/datatypes.py", line 423, in search
    package = __import__(n, g, g, component)
  File "/home/gwa/webapps/zope/buildout-cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/Startup/datatypes.py", line 21, in <module>
    from ZODB.config import ZODBDatabase
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZODB3-3.9.5-py2.6-linux-i686.egg/ZODB/__init__.py", line 17, in <module>
    from persistent import TimeStamp
  File "/home/gwa/webapps/zope/buildout-cache/eggs/ZODB3-3.9.5-py2.6-linux-i686.egg/persistent/__init__.py", line 19, in <module>
    from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: /home/gwa/webapps/zope/buildout-cache/eggs/ZODB3-3.9.5-py2.6-linux-i686.egg/persistent/cPersistence.so: wrong ELF class: ELFCLASS32

asked 03 Jun '13, 08:49

lsfinn
111
accept rate: 0%


Never mind: fixed with a fresh buildout

permanent link

answered 03 Jun '13, 10:43

lsfinn
111
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×44
×23
×18

question asked: 03 Jun '13, 08:49

question was seen: 3,332 times

last updated: 03 Jun '13, 10:43

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM