我尝试重新启动zeoserver并获得“非零版本长度。不支持版本”。
$> bin / zeoserver fg
/opt/Plone-4.2/zeocluster/parts/zeoserver/bin/runzeo
Traceback (most recent call last):
File "/opt/Plone-4.2/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZEO/runzeo.py", line 405, in <module>
main()
File "/opt/Plone-4.2/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZEO/runzeo.py", line 402, in main
s.main()
File "/opt/Plone-4.2/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZEO/runzeo.py", line 158, in main
self.open_storages()
File "/opt/Plone-4.2/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZEO/runzeo.py", line 207, in open_storages
self.storages[opener.name] = opener.open()
File "/opt/Plone-4.2/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/config.py", line 177, in open
return FileStorage(config.path, **options)
File "/opt/Plone-4.2/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/FileStorage/FileStorage.py", line 185, in __init__
read_only=read_only,
File "/opt/Plone-4.2/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/FileStorage/FileStorage.py", line 1554, in read_index
h = fmt._read_data_header(pos)
File "/opt/Plone-4.2/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/FileStorage/format.py", line 150, in _read_data_header
h = DataHeaderFromString(s)
File "/opt/Plone-4.2/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/FileStorage/format.py", line 236, in DataHeaderFromString
return DataHeader(*struct.unpack(DATA_HDR, s))
File "/opt/Plone-4.2/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/FileStorage/format.py", line 246, in __init__
"Non-zero version length. Versions aren't supported.")
ValueError: Non-zero version length. Versions aren't supported.
在zeoserver.log中我有:
2016-05-25T09:58:17 (22099) created PID file '/opt/Plone-4.2/zeocluster/var/zeoserver/zeoserver.pid'
2016-05-25T09:58:17 (22099) opening storage '1' using FileStorage
2016-05-25T09:59:27 (22099) removed PID file '/opt/Plone-4.2/zeocluster/var/zeoserver/zeoserver.pid'
所有人都试图“谷歌”引用新的迁移。但就我而言,它是一个生产服务器。没有迁移,没有更新,没有。 14天前我从主机端完成了服务器重启 - 没问题。 Zeoserver开始没有任何问题。今天: - bin / plonectl stop - 好的。没有问题或错误。 - bin / zeoserver start - “ValueError:非零版本长度。不支持版本。” 我不明白根本问题。所以我无法解决这个问题。
请帮助..
答案 0 :(得分:1)
在大多数情况下,我对此类情况的经验表明Data.fs已损坏。您可以使用ZODB egg中的fsrecover.py脚本进行修复。