Hallo!
Ich versuche gerade einen Zopeserver 2.8.3 einzurichten.
Konfiguration: Suse 9.2, Python 2.3.5 in /usr/local/bin
Alles komiliert und installiert sich aber der Server startet im Anschluß mit den unten angehängten Meldungen nicht.
Vorgehen:
Python kompilieren
links in /usr/bin und /usr/lib setzen
Zope kompilieren
ggf Instance löschen
zum zope-user wechseln
mkzopeinstance macht was es soll
/instance/bin/zopectl start führt zum Abbruch.
Die Skripte sind alle da, der Pfad ist richtig.
Wenn jemand eine Ahnung hat was das vor sich geht und wie es zu beheben ist, wäre ich um einen Tip sehr dankbar.
Gruß
Uwe Seher
zope@ATLAS:/usr/local/lib/python2.3/site-packages> /srv/zope1/bin/zopectl start
Traceback (most recent call last):
File "/opt/Zope-2.8/lib/python/Zope2/Startup/zopectl.py", line 312, in ?
main()
File "/opt/Zope-2.8/lib/python/Zope2/Startup/zopectl.py", line 278, in main
options.realize(args)
File "/opt/Zope-2.8/lib/python/Zope2/Startup/zopectl.py", line 91, in realize
ZDOptions.realize(self, *args, **kw)
File "/opt/Zope-2.8/lib/python/zdaemon/zdoptions.py", line 273, in realize
self.load_schema()
File "/opt/Zope-2.8/lib/python/zdaemon/zdoptions.py", line 321, in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
File "/opt/Zope-2.8/lib/python/ZConfig/loader.py", line 31, in loadSchema
return SchemaLoader().loadURL(url)
File "/opt/Zope-2.8/lib/python/ZConfig/loader.py", line 65, in loadURL
return self.loadResource(r)
File "/opt/Zope-2.8/lib/python/ZConfig/loader.py", line 159, in loadResource
schema = ZConfig.schema.parseResource(resource, self)
File "/opt/Zope-2.8/lib/python/ZConfig/schema.py", line 27, in parseResource
xml.sax.parse(resource.file, parser)
File "/usr/local/lib/python2.3/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 300, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/opt/Zope-2.8/lib/python/ZConfig/schema.py", line 99, in startElement
getattr(self, "start_" + name)(attrs)
File "/opt/Zope-2.8/lib/python/ZConfig/schema.py", line 475, in start_schema
keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
File "/opt/Zope-2.8/lib/python/ZConfig/schema.py", line 201, in get_sect_typeinfo
datatype = self.get_datatype(attrs, "datatype", "null", base)
File "/opt/Zope-2.8/lib/python/ZConfig/schema.py", line 194, in get_datatype
return self._registry.get(dtname)
File "/opt/Zope-2.8/lib/python/ZConfig/datatypes.py", line 398, in get
t = self.search(name)
File "/opt/Zope-2.8/lib/python/ZConfig/datatypes.py", line 423, in search
package = __import__(n, g, g, component)
File "/opt/Zope-2.8/lib/python/Zope2/Startup/datatypes.py", line 20, in ?
from ZODB.config import ZODBDatabase
File "/opt/Zope-2.8/lib/python/ZODB/__init__.py", line 21, in ?
from persistent import TimeStamp
File "/opt/Zope-2.8/lib/python/persistent/__init__.py", line 19, in ?
from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: /opt/Zope-2.8/lib/python/persistent/cPersistence.so: undefined symbol: PyUnicodeUCS4_AsEncodedString
zope@ATLAS:/usr/local/lib/python2.3/site-packages> /opt/Zope-2.8/bin/mkzopeinstance.py
Ich versuche gerade einen Zopeserver 2.8.3 einzurichten.
Konfiguration: Suse 9.2, Python 2.3.5 in /usr/local/bin
Alles komiliert und installiert sich aber der Server startet im Anschluß mit den unten angehängten Meldungen nicht.
Vorgehen:
Python kompilieren
links in /usr/bin und /usr/lib setzen
Zope kompilieren
ggf Instance löschen
zum zope-user wechseln
mkzopeinstance macht was es soll
/instance/bin/zopectl start führt zum Abbruch.
Die Skripte sind alle da, der Pfad ist richtig.
Wenn jemand eine Ahnung hat was das vor sich geht und wie es zu beheben ist, wäre ich um einen Tip sehr dankbar.
Gruß
Uwe Seher
zope@ATLAS:/usr/local/lib/python2.3/site-packages> /srv/zope1/bin/zopectl start
Traceback (most recent call last):
File "/opt/Zope-2.8/lib/python/Zope2/Startup/zopectl.py", line 312, in ?
main()
File "/opt/Zope-2.8/lib/python/Zope2/Startup/zopectl.py", line 278, in main
options.realize(args)
File "/opt/Zope-2.8/lib/python/Zope2/Startup/zopectl.py", line 91, in realize
ZDOptions.realize(self, *args, **kw)
File "/opt/Zope-2.8/lib/python/zdaemon/zdoptions.py", line 273, in realize
self.load_schema()
File "/opt/Zope-2.8/lib/python/zdaemon/zdoptions.py", line 321, in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
File "/opt/Zope-2.8/lib/python/ZConfig/loader.py", line 31, in loadSchema
return SchemaLoader().loadURL(url)
File "/opt/Zope-2.8/lib/python/ZConfig/loader.py", line 65, in loadURL
return self.loadResource(r)
File "/opt/Zope-2.8/lib/python/ZConfig/loader.py", line 159, in loadResource
schema = ZConfig.schema.parseResource(resource, self)
File "/opt/Zope-2.8/lib/python/ZConfig/schema.py", line 27, in parseResource
xml.sax.parse(resource.file, parser)
File "/usr/local/lib/python2.3/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 300, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/opt/Zope-2.8/lib/python/ZConfig/schema.py", line 99, in startElement
getattr(self, "start_" + name)(attrs)
File "/opt/Zope-2.8/lib/python/ZConfig/schema.py", line 475, in start_schema
keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
File "/opt/Zope-2.8/lib/python/ZConfig/schema.py", line 201, in get_sect_typeinfo
datatype = self.get_datatype(attrs, "datatype", "null", base)
File "/opt/Zope-2.8/lib/python/ZConfig/schema.py", line 194, in get_datatype
return self._registry.get(dtname)
File "/opt/Zope-2.8/lib/python/ZConfig/datatypes.py", line 398, in get
t = self.search(name)
File "/opt/Zope-2.8/lib/python/ZConfig/datatypes.py", line 423, in search
package = __import__(n, g, g, component)
File "/opt/Zope-2.8/lib/python/Zope2/Startup/datatypes.py", line 20, in ?
from ZODB.config import ZODBDatabase
File "/opt/Zope-2.8/lib/python/ZODB/__init__.py", line 21, in ?
from persistent import TimeStamp
File "/opt/Zope-2.8/lib/python/persistent/__init__.py", line 19, in ?
from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: /opt/Zope-2.8/lib/python/persistent/cPersistence.so: undefined symbol: PyUnicodeUCS4_AsEncodedString
zope@ATLAS:/usr/local/lib/python2.3/site-packages> /opt/Zope-2.8/bin/mkzopeinstance.py