[Zope] Zope 2.7.3 database pack fails

Dennis Allison allison at sumeru.stanford.EDU
Tue Nov 30 04:35:27 EST 2004


The pack operation appears to have stopped, but it did not complete
properly.  It left several files from the packing procss in the var
directory:

	Data.fs.index.index-tmp
	Data.fs.pack

so cleanup was incomplete.  Looking at the event log, there's an
OSError: [Errno 1] Operation not permitted from line 1513 in 
FileStorage.py.  The failure is on os.rename().  I checked the 
protections and everything looks ok. (System runs as user zope 
but gets started by root.

The Data.fs file are all read write by anyone and are owned by 
root.

Changing ownership to zope.zope of all the Data.fs files seems to have
fixed the problem.... 

Thanks to all who helped.

On Mon, 29 Nov 2004, Dennis Allison wrote:

> No error messages.
> 
> Control panel says the db size is 3758.6MB but the actual size of the file
> is 3941.2MB.
> 
> Zope is 2.6.4, python is 2.3.4.
> 
> When I tried it again a moment ago it responded saying "already packing".
> Maybe the pack has not completed...
> 
> The var directory includes a Data.fs.pack of about 1.8GB which is slowly 
> growing.  Of course there's Zope thread using lots of CPU...  Perhaps the 
> process is just glacially slow....
> 
> 
> 
> On Tue, 30 Nov 2004, Andreas Jung wrote:
> 
> > 
> > 
> > --On Montag, 29. November 2004 20:11 Uhr -0800 Dennis Allison 
> > <allison at sumeru.stanford.EDU> wrote:
> > 
> > > Well, the ol' Data.fs got bigger (now 3.9GB) and so it's time to cut it
> > > back down to size.  Unfortunately, just clicking "pack" on the control
> > > panel does not seem to do the job.
> > >
> > 
> > Why not? Any errors messages??
> > 
> > -aj
> > _______________________________________________
> > 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 )
> > 
> 
> 
> _______________________________________________
> 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