Re: How to get out of snapshot mode?

Ed Leafe <[email protected]> Mon, 20 Mar 2006 11:06:39 -0500
Newsgroups gmane.comp.web.zope.zodb.dirstorage
Message-ID <[email protected]>
On Mar 20, 2006, at 10:46 AM, Toby Dickenson wrote:

> You can force it out of snapshot mode manually without a restart,  
> using the
> ZMI and DirectoryStorageToolkit instance.... The management page  
> for the
> toolkit lists the snapshot lock code. It will look something like
> "user/xxxxxx", then browse to htt
> p://xxxx/DirectoryStorageToolkit/leave_snapshot?code=user/xxxxxx
> (but substituting the real lock code you saw in the management page)

	When I go to the toolkit page, it reads:

Snapshot mode
The storage is currently in snapshot mode recombining/startup.

	I then tried to navigate to:

http://leafe.com/DSToolkit/leave_snapshot?code=recombining/startup

but got a Zope error message:

Site Error

An error was encountered while publishing this resource.

Resource not found

Sorry, the requested resource does not exist.
Check the URL and try again.
Resource: http://leafe.com/DSToolkit/leave_snapshot


I also tried:

http://leafe.com/DirectoryStorageToolkit/leave_snapshot? 
code=recombining/startup

but got a similar message. The toolkit is named 'DSToolkit' in the ZMI.

> Both of those options will fail if you still have a stale backup  
> (or other)
> process lying around holding a lock open on the misc/sublock file.
	
	How would I be able to tell if this is the case? And if so, what  
steps would I take?

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642