Zopectl nor starting - urgent

Hi there,

I can't start my plone server, don't know why, anyone can help me please?

[root@vps210867 bin]# ./instance fg
/opt/Plone-3.1/zinstance/parts/instance/bin/runzope -X debug-mode=on
2016-11-10 17:24:58 INFO ZServer HTTP server started at Thu Nov 10 17:24:58 2016
Hostname: vps210867.ovh.net
Port: 80
2016-11-10 17:24:58 INFO Zope Set effective user to "plone"
2016-11-10 17:25:00 INFO Marshall libxml2-python not available. Unable to register libxml2 based marshallers.
2016-11-10 17:25:02 ERROR ZODB.Connection Couldn't load state for 0x01
Traceback (most recent call last):
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/Connection.py", line 761, in setstate
self._setstate(obj)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/Connection.py", line 819, in _setstate
self._reader.setGhostState(obj, p)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 604, in setGhostState
state = self.getState(pickle)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 597, in getState
return unpickler.load()
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 479, in _persistent_load
return self.loaders[reference_type](self, *args)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 540, in load_multi_oid
conn = self._conn.get_connection(database_name)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/Connection.py", line 328, in get_connection
new_con = self._db.databases[database_name].open(
KeyError: 'data_tucab'
2016-11-10 17:25:02 ERROR ZODB.Connection Couldn't load state for 0x01
Traceback (most recent call last):
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/Connection.py", line 761, in setstate
self._setstate(obj)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/Connection.py", line 819, in _setstate
self._reader.setGhostState(obj, p)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 604, in setGhostState
state = self.getState(pickle)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 597, in getState
return unpickler.load()
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 479, in _persistent_load
return self.loaders[reference_type](self, *args)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 540, in load_multi_oid
conn = self._conn.get_connection(database_name)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/Connection.py", line 328, in get_connection
new_con = self._db.databases[database_name].open(
KeyError: 'data_tucab'
Traceback (most recent call last):
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/Zope2/Startup/run.py", line 56, in ?
run()
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/Zope2/Startup/run.py", line 21, in run
starter.prepare()
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/Zope2/Startup/init.py", line 102, in prepare
self.startZope()
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/Zope2/Startup/init.py", line 278, in startZope
Zope2.startup()
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/Zope2/init.py", line 47, in startup
_startup()
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/Zope2/App/startup.py", line 102, in startup
OFS.Application.initialize(application)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/OFS/Application.py", line 309, in initialize
initializer.initialize()
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/OFS/Application.py", line 330, in initialize
self.install_cp_and_products()
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/OFS/Application.py", line 350, in install_cp_and_products
app._setObject('Control_Panel', cpl)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/Connection.py", line 761, in setstate
self._setstate(obj)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/Connection.py", line 819, in _setstate
self._reader.setGhostState(obj, p)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 604, in setGhostState
state = self.getState(pickle)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 597, in getState
return unpickler.load()
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 479, in _persistent_load
return self.loaders[reference_type](self, *args)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/serialize.py", line 540, in load_multi_oid
conn = self._conn.get_connection(database_name)
File "/opt/Plone-3.1/zinstance/parts/zope2/lib/python/ZODB/Connection.py", line 328, in get_connection
new_con = self._db.databases[database_name].open(
KeyError: 'data_tucab'

Looks like a problem with a ZODB mountpoint (either unconfigured or badly configured).

-aj

Any idea to solve this problem? Where I can start ? the server was working perfectly..

Maybe there were a manual change in parts/instance/etc/zope.conf.
If so, it should be fixed by re-running the buildout.

how can I do that, the buildout?

and if I do that?

python ZODB/fsrecover.py -v 1 /opt/Plone-3.1/zinstance/var/filestorage/Data.fs

I'm not a plone programmer, we've old sites on our company there are still running and no one with good knowledge in plone

[root@vps210867 bin]# ./buildout
While:
Initializing.
Error: Couldn't open /opt/Plone-3.1/zinstance/bin/buildout.cfg
[root@vps210867 bin]#

You don't need to be a plone programmer. It just looks like something happened with the configuration.

It's very difficult for anyone to know exactly what your problem is. Running buildout might help.

@ccbernardo you need to run it in the correct directory:

cd /opt/Plone-3.1/zinstance
./bin/buildout

FWIW, you're running a very old version of plone and from the sound of it, no one is supporting it.

You might want to consider hiring someone to help you maintain it.

I've run the build out, the buildout works but still with the same problem.

want to share your buildout.cfg file? There should be configuration for data_tucab in it. If there isn't, that's not good.

Are there any other .cfg files in the directory?

here is the buildout.cfg, there is no other cfg file on this folder

[buildout]
eggs-directory=/opt/Plone-3.1/buildout-cache/eggs
download-cache=/opt/Plone-3.1/buildout-cache/downloads
newest = false
parts =
    plone
    zope2
    productdistros
    instance
    zopepy
    precompile
    chown
    unifiedinstaller

# Add additional egg download sources here. dist.plone.org contains archives
# of Plone packages.
find-links =
    http://dist.plone.org
    http://download.zope.org/ppix/
    http://download.zope.org/distribution/
    http://effbot.org/downloads

# Add additional eggs here
# elementtree is required by Plone
eggs =
    elementtree
    FeedParser

# Reference any eggs you are developing here, one per line
# e.g.: develop = src/my.package
develop =

[plone]
recipe = plone.recipe.plone >=3.1.1, < 3.2dev

[zope2]
recipe = plone.recipe.zope2install
url = ${plone:zope2-url}

# Use this section to download additional old-style products.
# List any number of URLs for product tarballs under URLs (separate
# with whitespace, or break over several lines, with subsequent lines
# indented). If any archives contain several products inside a top-level
# directory, list the archive file name (i.e. the last part of the URL,
# normally with a .tar.gz suffix or similar) under 'nested-packages'.
# If any archives extract to a product directory with a version suffix, list
# the archive name under 'version-suffix-packages'.
[productdistros]
recipe = plone.recipe.distros
urls =
nested-packages =
version-suffix-packages =

[instance]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
# The line below sets only the initial password. It will not change an
# existing password.
user = admin:
http-address = 8080
effective-user = plone
#debug-mode = on
#verbose-security = on

# If you want Zope to know about any additional eggs, list them here.
# This should include any development eggs you listed in develop-eggs above,
# e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package
eggs =
    ${buildout:eggs}
    ${plone:eggs}

# If you want to register ZCML slugs for any packages, list them here.
# e.g. zcml = my.package my.other.package
zcml =

products =
    ${buildout:directory}/products
    ${productdistros:location}
    ${plone:products}

[zopepy]
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
extra-paths = ${zope2:location}/lib/python
scripts = zopepy


[precompile]
recipe = plone.recipe.precompiler

[chown]
# This recipe is used to set permissions -- and ownership for root mode installs
recipe = plone.recipe.command
command =
    chmod 600 .installed.cfg
    find ${buildout:directory} -type d -name var -exec chown -R ${instance:effective-user} \{\} \;
    find ${buildout:directory} -type d -name LC_MESSAGES -exec chown -R ${instance:effective-user} \{\} \;
    find ${buildout:directory} -name runzope -exec chown ${instance:effective-user} \{\} \;

update-command = ${chown:command}


[unifiedinstaller]
recipe = plone.recipe.unifiedinstaller
user = ${instance:user}
primary-port = ${instance:http-address}
sudo-command = sudo

Hi there,

Its solved, we find an old Data.fs and switch with the corrupted one, but now I cann't login in into the admin "manage_main"

Please look at this tutorial to set a new Password.

I've already tried this tutorial,

[root@vps210867 utilities]# ./zpasswd.py -u admin -p xxxxxxx access
/usr/bin/env: python2.4: No such file or directory

please use the 'plone' python
# /opt/Plone-3.1/Python/bin/python ./zpasswd.py -u emergencyuser -p 123456 access

I don't undestand this point:

Move this access file into data1 folder with the following command

inside zope2 folder I don't have a bin folder.. what I've to do with the access file ?

i think it means the /opt/Plone-3.1/zinstance/parts/instance Folder

I've to put the data1 file into the folder where the zopectl is ?

move the file access to /opt/Plone-3.1/zinstance/parts/instance

@ccbernardo I hope you got it figured out. If not, you should hire someone to help you. Any of the people in this thread would be willing to help you, or contact someone in the https://plone.com/providers list.