[Dovecot] General questions about TCP replication with dsync
Robert Schetterer
rs at sys4.de
Wed Jun 4 17:41:42 UTC 2014
Am 04.06.2014 19:35, schrieb Patrick De Zordo:
> Hi Guys,
>
> I would like to question why I see this errors in my logs.
>
>
>
> Let explain me!
>
>
>
> Dovecot version: 2.2.9 (on Ubuntu 14.04 LTS)
>
>
>
> I’ve configured our dovecot servers (2 servers) to do the TCP replication
> with dsync.
>
> This is working flawless.
>
>
>
> 1. Question:
>
> In logs I can see this errors on every sync (on the “slave” server / server
> without changes which should be updated):
>
> ---8<-----------------------------------------------------------------------
> ----------------------------------------------------------------------------
> ----
>
> dsync-server(email at example.com): Error:
> net_connect_unix(/var/run/dovecot/replicator-doveadm) failed: Permission
> denied
>
> ---8<-----------------------------------------------------------------------
> ----------------------------------------------------------------------------
> ----
>
>
>
> Googling a bit gave me the information “This should be normal”..?
>
> Well ok, errors in logs are not nice to see, but can someone confirm this is
> really ok? Timo?
>
>
>
> 2. Question (much more important):
>
> We are using sieve scripts for our users, they are replicated to the
> replica-host but this errors appears in logs on every synchronized message:
>
> ---8<-----------------------------------------------------------------------
> ----------------------------------------------------------------------------
> ----
>
> dsync-server(email at example.com): Error: Failed to access mailbox
> dovecot/sieve: Internal error occurred. Refer to server log for more
> information.
>
> dsync-server(email at example.com): Error:
> stat(/var/vmail/example.com/email/.dovecot.sieve/tmp) failed: Not a
> directory
>
> ---8<-----------------------------------------------------------------------
> ----------------------------------------------------------------------------
> ----
>
>
>
> So what’s going on there?
>
> This is strange and should not be, right?
>
> Any hints?
>
>
>
> Thank you very much!
>
>
>
> ---------------------------------------------------------------------
>
> Mit freundlichen Grüßen / Distinti saluti / Kind regards
>
> De Zordo Patrick
>
> patrick at spamreducer.eu
>
>
>
2.2.9 is not recent, before debug you might upgrade
see
http://hg.dovecot.org/dovecot-2.2/log?rev=replicator
also you missed to attach your dove conf
Best Regards
MfG Robert Schetterer
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
More information about the dovecot
mailing list