[Zope] Data.fs Recovering...

Miguel Rodríguez mrodriguez@catenon.com
Thu, 28 Feb 2002 10:47:38 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0017_01C1C045.56997AE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail.catenon.com id g1S9hob30091

My zope doesn't starts and I believe that my Data.fs file is broken. So I
have tried to recover it using the fsrecover.py script, but I get the
following error:

[root@ZOPE zope]# python lib/python/ZODB/fsrecover.py /var/zope/var/Data.=
fs
Traceback (most recent call last):
  File "lib/python/ZODB/fsrecover.py", line 92, in ?
    import FileStorage
  File "/usr/share/zope/lib/python/ZODB/FileStorage.py", line 197, in ?
    from zLOG import LOG, WARNING, ERROR, PANIC, register_subsystem
ImportError: No module named zLOG

Then I tried with tranalyzer.py but with this script I have another probl=
em.
my Data.fs is 1354027379 but when I execute:
python tranalyzer.py Data.fs | tail -500

as last transaction I get:

TID: 3426D352AE07955 @ 4923894 obs 2 len 601 By  mrodriguez
"/GestDoc/Index/1/manage_changeIcon"
        OID: 1889 len 256
        OID: 1a97 len 201

16 322732752888

of course there is a "little" difference between 4923894 and 134027379, s=
o I
can=B4t make Data.fs truncate.

Any idea??




**************************** DISCLAIMER ******************************
This message is intended exclusively for the named person. It may contain
confidential, propietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it an notify th=
e
sender. Your must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Any views expressed in this message are those of the individua=
l
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of 'C=C1TENON'. Please note that
internet e-mail neither guarantees the confidentiality nor the proper
receipt of the message sent. If the addressee of this message does not
consent to the use of internet e-mail, please communicate it to us
immediately.

*************************** AVISO LEGAL *****************************
Este mensaje es solamente para la persona a la que va dirigido. Puede
contener informaci=F3n confidencial o legalmente protegida. No hay renunc=
ia a
la confidencialidad o privilegio por cualquier transmisi=F3n mala/ err=F3=
nea. Si
usted ha recibido este mensaje por error, le rogamos que borre de su sist=
ema
inmediatamente el mensaje as=ED como todas sus copias, destruya todas las
copias del mismo de su disco duro y notifique al remitente. No debe, dire=
cta
o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de
las partes de este mensaje si no es usted el destinatario. Cualquier opin=
i=F3n
expresada en este mensaje proviene del remitente, excepto cuando el mensa=
je
establezca lo contrario y el remitente est=E9 autorizado para establecer =
que
dichas opiniones provienen de 'C=C1TENON'. N=F3tese que el correo electr=F3=
nico
v=EDa Internet no permite asegurar ni la confidencialidad de los mensajes=
 que
se transmiten ni la correcta recepci=F3n de los mismos. En el caso de que=
 el
destinatario de este mensaje no consintiera la utilizaci=F3n del correo
electr=F3nico v=EDa Internet, rogamos lo ponga en nuestro conocimiento de=
 manera
inmediata.
************************************************************************





------=_NextPart_000_0017_01C1C045.56997AE0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3502.4373" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D406234708-28022002>My =
zope doesn't=20
starts and I believe that my Data.fs file is broken. So I have tried to =
recover=20
it using the fsrecover.py script, but I get the following=20
error:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D406234708-28022002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[root@ZOPE zope]# python=20
lib/python/ZODB/fsrecover.py /var/zope/var/Data.fs<BR>Traceback (most =
recent=20
call last):<BR>&nbsp; File "lib/python/ZODB/fsrecover.py", line 92, in=20
?<BR>&nbsp;&nbsp;&nbsp; import FileStorage<BR>&nbsp; File=20
"/usr/share/zope/lib/python/ZODB/FileStorage.py", line 197, in=20
?<BR>&nbsp;&nbsp;&nbsp; from zLOG import LOG, WARNING, ERROR, PANIC,=20
register_subsystem<BR>ImportError: No module named zLOG</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D406234708-28022002>Then I =
tried with=20
tranalyzer.py but with this script I have another problem. my Data.fs is =

1354027379 but when I execute:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D406234708-28022002>python =
tranalyzer.py=20
Data.fs | tail -500</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D406234708-28022002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D406234708-28022002>as =
last transaction=20
I&nbsp;get:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D406234708-28022002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D406234708-28022002>TID: =
3426D352AE07955=20
@ 4923894 obs 2 len 601 By&nbsp;=20
mrodriguez<BR>"/GestDoc/Index/1/manage_changeIcon"<BR>&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;=20
OID: 1889 len 256<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OID: =
1a97 len=20
201</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D406234708-28022002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D406234708-28022002>16=20
322732752888</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D406234708-28022002>&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D406234708-28022002>of =
course there is a=20
"little" difference between 4923894 and 134027379, so I can=B4t make =
Data.fs=20
truncate.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D406234708-28022002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D406234708-28022002>Any =
idea??=20
</SPAN></FONT></DIV>
<P>
<P>
<P><A href=3D"http://www.catenon.com/"><IMG border=3D0=20
src=3D"http://www.catenon.com/email/banner_catenon.gif"></A>=20
<P><FONT=20
color=3D#808080><SMALL><SMALL><SMALL><SMALL><SMALL>**********************=
******=20
DISCLAIMER ******************************<BR>This message is intended=20
exclusively for the named person. It may contain confidential, =
propietary or=20
legally privileged information. No confidentiality or privilege is =
waived or=20
lost by any mistransmission. If you receive this message in error, =
please=20
immediately delete it and all copies of it from your system, destroy any =
hard=20
copies of it an notify the sender. Your must not, directly or =
indirectly, use,=20
disclose, distribute, print, or copy any part of this message if you are =
not the=20
intended recipient. Any views expressed in this message are those of the =

individual sender, except where the message states otherwise and the =
sender is=20
authorised to state them to be the views of 'C=C1TENON'. Please note =
that internet=20
e-mail neither guarantees the confidentiality nor the proper receipt of =
the=20
message sent. If the addressee of this message does not consent to the =
use of=20
internet e-mail, please communicate it to us=20
immediately.</SMALL></SMALL></SMALL></SMALL></SMALL></FONT>=20
<P><FONT=20
color=3D#808080><SMALL><SMALL><SMALL><SMALL><SMALL>**********************=
*****=20
AVISO LEGAL *****************************<BR>Este mensaje es solamente =
para la=20
persona a la que va dirigido. Puede contener informaci=F3n confidencial =
o=20
legalmente protegida. No hay renuncia a la confidencialidad o privilegio =
por=20
cualquier transmisi=F3n mala/ err=F3nea. Si usted ha recibido este =
mensaje por=20
error, le rogamos que borre de su sistema inmediatamente el mensaje =
as=ED como=20
todas sus copias, destruya todas las copias del mismo de su disco duro y =

notifique al remitente. No debe, directa o indirectamente, usar, =
revelar,=20
distribuir, imprimir o copiar ninguna de las partes de este mensaje si =
no es=20
usted el destinatario. Cualquier opini=F3n expresada en este mensaje =
proviene del=20
remitente, excepto cuando el mensaje establezca lo contrario y el =
remitente est=E9=20
autorizado para establecer que dichas opiniones provienen de =
'C=C1TENON'. N=F3tese=20
que el correo electr=F3nico v=EDa Internet no permite asegurar ni la=20
confidencialidad de los mensajes que se transmiten ni la correcta =
recepci=F3n de=20
los mismos. En el caso de que el destinatario de este mensaje no =
consintiera la=20
utilizaci=F3n del correo electr=F3nico v=EDa Internet, rogamos lo ponga =
en nuestro=20
conocimiento de manera=20
inmediata.<BR>***********************************************************=
*************</SMALL></SMALL></SMALL></SMALL></SMALL></FONT>=20

<P>
<P></P>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0017_01C1C045.56997AE0--