[Csync2] csync2 stop if cannot stat file/dir

Ali Nebi anebi at iguanait.com
Thu Nov 15 11:50:30 CET 2012


Hi,

I have 3 servers and i have installed csync2 on each. I have set conflict
resolution to be younger. I have a very busy web site and its cache change
very often.

When i run csync -xv on one of the servers i get following error:

This should not happen: Can't stat
/var/www/var/ezflow_site/cache/ezmutex/575cf8b73520dd064648e178b78bbae0_meta.

Same happens also for few dirs. I checked in file system and I see that
files and folders that csync2 complains for do not exists. I suppose these
folders/files were deleted during sync time.

It is ok to complain, but problem is that csync2 stop sync process because
of the errors. Shouldn't be better if it just mark this error (do nothing
about it) and continue its sync process instead of stopping to work?

I use lsyncd together with csync2 and lsyncd stops to work, because csync2
stop to work when such error occurs.

What is the best solution for such situations?

I'm sorry if I do it wrong way. I'm still newbie with csync2 ;)

Awaiting for your reply.

Regards,
Ali



-- 
Iguana Information Technologies, SL
Calle López de Hoyos 35, 1º
28002 Madrid, España (Spain)
+34 915569100
+34 649336286
http://www.iguanait.com/

Advertencia
-----------
Este mensaje contiene información privada y confidencial. Si usted
no es el destinatario, no está autorizado a leer, imprimir, retener,
copiar o difundir este mensaje o parte de él. En caso de que usted
reciba este mensaje por error debe borrarlo. Gracias.

Confidentiality notice
----------------------
This message contains private and confidential information. If you
are not the named addressee, you are not authorized to read, print,
retain, copy or disseminate this message or any part of it. In case
you receive this message by mistake you should delete it. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20121115/32c05281/attachment.htm>


More information about the Csync2 mailing list