[Zope] Zope Database Crash?
Gary Spivey
gspivey at georgefox.edu
Wed Jan 21 17:17:24 EST 2004
Thanks again for the tip ...
I am using a VHM. Although the tip didn't fix anything - however
turning debug on sheds a little light ... maybe ... to those who know
what they are looking at ... here is the dump of the debug run ... the
interesting part is the database error at the very end, but I included
it all in the event that I may not see the relevance of the rest of it
...
./runzope
------
2004-01-21T14:13:05 INFO(0) ZServer HTTP server started at Wed Jan 21
14:13:05 2004
Hostname: myhost.com
Port: 8080
------
2004-01-21T14:13:05 INFO(0) ZServer FTP server started at Wed Jan 21
14:13:05 2004
Hostname: myhost.com
Port: 8021
------
2004-01-21T14:13:05 INFO(0) Zope Set effective user to "zopeuser"
------
2004-01-21T14:13:06 INFO(0) Archetypes
Products/Archetypes/content_driver/MSWord.py[20]:?
Failed to import the OpenOffice PyUNO content converter.
Remind me to write a doc on how to set this up as its a
better
converter than wvWare and in somecases even MSWord
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'ArchExample' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'ArchGenXML' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'Archetypes' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'BTreeFolder2' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMF-1.4.2' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMF-1.4.2.tar.gz' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFActionIcons' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) SecurityInfo Conflicting security
declarations for "manage_copyObjects"
------
2004-01-21T14:13:06 PROBLEM(100) SecurityInfo Class "BasePloneFolder"
had conflicting security declarations
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFBoard' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFBoard-1.4.2.tar.gz' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFCalendar' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFCollector' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFCollector.tar.gz' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFCore' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFDefault' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFFormController' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFMessage' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFMessage-1_1.tgz' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFPlone' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFPlone-2.0-RC2' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFPlone2.0-RC2.tar.gz' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFQuickInstallerTool' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFQuickInstallerTool_1.4.tgz' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFTopic' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'CMFUserTrackTool' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'DCWorkflow' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'Formulator' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 INFO(0) IngeniWeb
NOTICE global_symbols.py:20:Wed Jan 21 14:13:06 2004: 'Starting
/home/zopeuser/Zope-2.7-instance/Products/GroupUserFolder at 4 debug
level'
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'GroupUserFolder' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'MPoll' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'MPoll-0.3.1.tar.gz' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'PlacelessTranslationService' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'PortalTransforms' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'PortalTransforms-1.0.2_final' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'PortalTransforms-1.0.2_final.tgz' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'README.txt' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:06 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'UserTrack' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:07 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'ZWiki' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:07 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'archetypes-1.2.3_final' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:07 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'archetypes-1.2.3_final.tgz' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:07 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'generator' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:07 PROBLEM(100) OFS.Application Duplicate Product
name
After loading Product 'validation' from
'/home/zopeuser/Zope-2.7-instance/Products',
I skipped the one in '/Web/zopeuser/Zope-2.7-instance.orig/Products'.
------
2004-01-21T14:13:07 DEBUG(-200) FileStorage create storage
/home/zopeuser/Zope-2.7-instance/var/Data.fs
------
2004-01-21T14:13:07 DEBUG(-200) TemporaryStorage create storage
temporary storage for sessioning
------
2004-01-21T14:13:07 BLATHER(-100) ZODB Commiting subtransaction of
size 5386
------
2004-01-21T14:13:07 PROBLEM(100) SecurityInfo Conflicting security
declarations for "setTitle"
------
2004-01-21T14:13:07 PROBLEM(100) SecurityInfo Conflicting security
declarations for "getRawTitle"
------
2004-01-21T14:13:07 PROBLEM(100) SecurityInfo Conflicting security
declarations for "setImage"
------
2004-01-21T14:13:07 PROBLEM(100) SecurityInfo Conflicting security
declarations for "getRawImage"
------
2004-01-21T14:13:07 PROBLEM(100) SecurityInfo Conflicting security
declarations for "getRawId"
------
2004-01-21T14:13:07 PROBLEM(100) SecurityInfo Conflicting security
declarations for "getRawTitle"
------
2004-01-21T14:13:07 PROBLEM(100) SecurityInfo Conflicting security
declarations for "getRawDescription"
------
2004-01-21T14:13:07 PROBLEM(100) SecurityInfo Conflicting security
declarations for "getRawId"
------
2004-01-21T14:13:07 PROBLEM(100) SecurityInfo Conflicting security
declarations for "getRawTitle"
------
2004-01-21T14:13:07 PROBLEM(100) SecurityInfo Conflicting security
declarations for "getRawDescription"
------
2004-01-21T14:13:08 PROBLEM(100) Zope No such file or directory:
/home/zopeuser/Zope-2.7-instance/Products/CMFMessage/help
------
2004-01-21T14:13:08 INFO(0) Plone Option
ExternalEditor not found. If you want the external edit
functionality, please download it from
http://www.zope.org/Members/Caseman/ExternalEditor
------
2004-01-21T14:13:08 INFO(0) Plone Option
Epoz not found. If you want WYSIWYG capabilities in Plone, you can
download it from http://www.zope.org/Members/mjablonski/Epoz/
------
2004-01-21T14:13:08 ERROR(200) Zope Couldn't install Formulator
Traceback (most recent call last):
File "/home/zopeuser/Zope-2.7/lib/python/OFS/Application.py", line
694, in install_product
get_transaction().commit()
File "/home/zopeuser/Zope-2.7/lib/python/ZODB/Transaction.py", line
233, in commit
ncommitted += self._commit_objects(objects)
File "/home/zopeuser/Zope-2.7/lib/python/ZODB/Transaction.py", line
348, in _commit_objects
jar.commit(o, self)
File "/home/zopeuser/Zope-2.7/lib/python/ZODB/Connection.py", line
420, in commit
s=dbstore(oid,serial,p,version,transaction)
File "/home/zopeuser/Zope-2.7/lib/python/ZODB/FileStorage.py", line
780, in store
serials=(oserial, serial))
ConflictError: database conflict error (oid 000000000000102b, serial
was 035220323085caf7, now 0000000000000000)
Traceback (most recent call last):
File "/home/zopeuser/Zope-2.7/lib/python/Zope/Startup/run.py", line
27, in ?
run()
File "/home/zopeuser/Zope-2.7/lib/python/Zope/Startup/run.py", line
24, in run
start_zope(opts.configroot)
File "/home/zopeuser/Zope-2.7/lib/python/Zope/Startup/__init__.py",
line 50, in start_zope
starter.startZope()
File "/home/zopeuser/Zope-2.7/lib/python/Zope/Startup/__init__.py",
line 221, in startZope
Zope.startup()
File "/home/zopeuser/Zope-2.7/lib/python/Zope/__init__.py", line
46, in startup
_startup()
File "/home/zopeuser/Zope-2.7/lib/python/Zope/App/startup.py", line
95, in startup
OFS.Application.initialize(application)
File "/home/zopeuser/Zope-2.7/lib/python/OFS/Application.py", line
420, in initialize
install_products(app)
File "/home/zopeuser/Zope-2.7/lib/python/OFS/Application.py", line
579, in install_products
folder_permissions, raise_exc=debug_mode)
File "/home/zopeuser/Zope-2.7/lib/python/OFS/Application.py", line
694, in install_product
get_transaction().commit()
File "/home/zopeuser/Zope-2.7/lib/python/ZODB/Transaction.py", line
233, in commit
ncommitted += self._commit_objects(objects)
File "/home/zopeuser/Zope-2.7/lib/python/ZODB/Transaction.py", line
348, in _commit_objects
jar.commit(o, self)
File "/home/zopeuser/Zope-2.7/lib/python/ZODB/Connection.py", line
420, in commit
s=dbstore(oid,serial,p,version,transaction)
File "/home/zopeuser/Zope-2.7/lib/python/ZODB/FileStorage.py", line
780, in store
serials=(oserial, serial))
ZODB.POSException.ConflictError: database conflict error (oid
000000000000102b, serial was 035220323085caf7, now 0000000000000000)
And that is how it ends. Can I fixe this conflict? What are the other
errors?
Cheers,
Gary
-----Original Message-----
From: Jake [mailto:jake at zopezone.com]
Sent: Wednesday, January 21, 2004 11:15 AM
To: Gary Spivey
Cc: Gary Spivey; zope at zope.org; plone-users at lists.sourceforge.net
Subject: RE: [Zope] Zope Database Crash?
My guess is that you are running Siteroot or VHM and somehow that got
messed up. If you are locked out, try this:
http://www.zopezone.com/faq/1071157086
If it is really just breaking try using another Data.fs and see if
that
fixes it. You should also look to your dugging logs when you start up
(start up ZOpe in debug mode and see what it says).
Jake
--
http://www.ZopeZone.com
Gary Spivey said:
>
> Thanks for the response. Actually, you are right about the
503's. I
> get those when Zope wasn't working at all (it was early AM). What I
get
> with the bug is this ..
> ============================================================
Error
> Type: NameError
> Error Value: global name 'func' is not defined
> Troubleshooting Suggestions
>
> This resource may be trying to reference a nonexistent object or
> variable global name 'func' is not defined.
> The URL may be incorrect.
> The parameters passed to this resource may be incorrect.
> A resource that this resource relies on may be encountering an
error.
>
> For more detailed information about the error, please refer to
the
> error log.
>
> If the error persists please contact the site maintainer. Thank
you
> for your patience
> ============================================================
>
> I have tried running with apache shutdown and going to
:8080/manage.
> It just gets this error.
>
> Cheers,
> Gary
>
>
>
> -----Original Message-----
> From: Jake [mailto:jake at zopezone.com]
> Sent: Wednesday, January 21, 2004 9:46 AM
> To: Gary Spivey
> Cc: zope at zope.org; plone-users at lists.sourceforge.net
> Subject: Re: [Zope] Zope Database Crash?
>
> The 503 error sounds like Apache not Zope. It sounds like Apache
> can't
> connect to Zope.
>
> What do you get when you start Zope in debug mode? Does it right
out
> errors? Does it start? If it does not start, try moving (get a
copy)
> the
> Data.fs and see if it starts. Is should give you an error at the
very
> least.
>
> If Zope is starting, but the problem is connecting from Apache
to
> Zope,
> try to log onto Zope through its own IP and port number
> your-domain.com:8080/manage
>
> Jake
> --
> http://www.ZopeZone.com
>
>
> Gary Spivey said:
> > I am using plone ...
> > Zope2.7b3
> > python 2.3.2
> > RedHat9
> > CMF-1.4.2
> > archetypes1.2.3
> > CMFBoard-1.4.2
> > CMFPlone2.0-RC2
> > PortalTransforms-1.0.2
> > Zwiki-0-27-0cvs
> >
> > Yesterday after a reboot, apache is fine, but Zope doesn't
work
> anymore. I
> > get a 503 message. Can't get to the management interface -
nothing.
> So I
> > made a brand new zope instance just to check out everything
else
> and it
> > works fine.
> > Ok - so I think maybe it is the database? And I run the
fsrestore
> on it
> > and
> > it says it deletes zero records. The database stayed the same,
but
> the
> > index
> > changes. However, this does nothing to solve my problem. The
system
> still
> > says 503. I tried copying my database over to the new zope
> instance. That
> > didn't work either.
> >
> > Does anybody have any clear direction on a way ahead? Right
now I
> have an
> > entire website (most relatively new work that hasn't been
backed up
> yet)
> > that is completely useless as it quit working one day. Can I
at
> least
> > retrieve some things from the database? Is the problem the
> database? Any
> > other ideas?
> >
> > If you can point me to any manuals that I can RTFM that would
be
> helpful
> > as
> > well as I found out about fsrestore via that source of all
> information -
> > google.
> >
> > Thanks for any help.
> >
> > Gary
> >
> >
> >
> >
> > _______________________________________________
> > Zope maillist - Zope at zope.org
> > http://mail.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://mail.zope.org/mailman/listinfo/zope-announce
> > http://mail.zope.org/mailman/listinfo/zope-dev )
> >
>
>
More information about the Zope
mailing list