Displaying 20 results from an estimated 84 matches for "mbox_lock".
Did you mean:
mbox_locks
2017 Sep 16
2
dsync panic in mbox_lock
Hello
I am trying to setup replication with dovecot-2.2.29.1, and for some
users, I get a reproductible panic:
# doveadm -v -o plugin/mail_replica=remoteprefix:root at mail2.example.net
sync -d -u jdoe
dsync-local(jdoe): Panic: file mbox-lock.c: line 799 (mbox_lock):
assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
F_RDLCK)
Abort
User is not overquota, and filesystem permissions are correct.
kernel trace shows it happens just after a stat() on INBOX/dovecot.ind
ex.log. Here is doveadm backtrace:
#0 0x00007f7ff650e6fa in _lwp_kill () f...
2017 Sep 16
0
dsync panic in mbox_lock
...> Hello
>
> I am trying to setup replication with dovecot-2.2.29.1, and for some
> users, I get a reproductible panic:
>
> # doveadm -v -o plugin/mail_replica=remoteprefix:root at mail2.example.net
> sync -d -u jdoe
> dsync-local(jdoe): Panic: file mbox-lock.c: line 799 (mbox_lock):
> assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
> F_RDLCK)
> Abort
>
> User is not overquota, and filesystem permissions are correct.
>
> kernel trace shows it happens just after a stat() on INBOX/dovecot.ind
> ex.log. Here is doveadm backtrace:
&...
2014 Aug 26
0
Running dsync results in Panic: file mbox-lock.c: line 799 (mbox_lock)
...ting mbox'es to Maildir format. I'm using latest
Dovecot2 available as FreeBSD pkg - 2.2.13.
I'm trying to use dsync, which results in:
./dsync -vfu ppaczyn -o
mail_location=mbox:~/mail:INBOX=/var/mail/ppaczyn mirror
maildir:~/Maildir
dsync(ppaczyn): Panic: file mbox-lock.c: line 799 (mbox_lock):
assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
F_RDLCK)
Abort trap (core dumped)
gdb ./dsync doveadm.core
(gdb) bt
#0 0x00000008014aae1a in kill () from /lib/libc.so.7
#1 0x00000008014a9ac9 in abort () from /lib/libc.so.7
#2 0x00000008010f0b52 in default_fatal_finish (t...
2017 Sep 17
1
dsync panic in mbox_lock
Aki Tuomi <aki.tuomi at dovecot.fi> wrote:
> We have seen this before but so far the actual bug has not been
> reproducible for us. Can you post your doveconf -n
Here it is:
https://ftp.espci.fr/shadow/manu/conf.log
> and also logs with
> doveadm -Dv -o plugin/mail_replica=remoteprefix:root at mail2.example.net
> sync -d -u jdoe
https://ftp.espci.fr/shadow/manu/sync.log
2016 Apr 21
2
Setting up replication?
...at the other
errors I'm getting? Nothing has changed in the configurations from the
previous posts in this thread. If you need any more information please
let me know. Thanks!
dovecot version 2.2.13
Apr 21 14:30:19 knute5 dovecot: dsync-server(penny): Panic: file
mbox-lock.c: line 799 (mbox_lock): assertion failed: (lock_type ==
F_RDLCK || mbox->mbox_lock_type != F_RDLCK)
Apr 21 14:30:19 knute5 dovecot: dsync-server(penny): Fatal: master:
service(doveadm): child 2417 killed with signal 6 (core dumps disabled)
Apr 21 14:30:58 knute5 dovecot: dsync-local(knute): Error:
read(knutejohnso...
2003 Jun 13
2
Quotas once again
Its been a while since I tried dovecot on my mail server where I have
quota issues. I am using mbox file format. There still seems to be a
quota problem. I have only /var with quotas and basedir is under /usr
(not quotaed). default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u.
I tried with mbox_locks = dotlock fcntl (1st set of logs below) and with
mbox_locks = fcntl (2nd set of logs)
dotlock:
Jun 12 17:02:49 newrook pop3(mike): open(/var/mail/mike.lock) failed:
Disk quota exceeded
Jun 12 17:02:49 newrook pop3(mike): file_lock_dotlock() failed with mbox
file /var/mail/mike: Disk quota excee...
2020 Oct 11
2
Preparing for replication: dsync-local(testaccount): Panic: file mbox-lock.c
...appears. Does this mean I
will have problems with setting up replication between these two
servers?
[1]
[@ ~]# doveadm sync -n inbox -u testaccount tcp:mail.local:542
[2]
[@ ~]# doveadm sync -n inbox -u testaccount tcp:mail.local:542
dsync-local(testaccount): Panic: file mbox-lock.c: line 799 (mbox_lock):
assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
F_RDLCK)
dsync-local(testaccount): Error: Raw backtrace:
/usr/lib64/dovecot/libdovecot.so.0(+0xa192e) [0x7fd4f827992e] ->
/usr/lib64/dovecot/libdovecot.so.0(default_fatal_handler+0x2a)
[0x7fd4f827999a] -> /usr/lib64/...
2003 May 03
2
0.99.9.1 OpenBSD and mbox
Hi, compiled perfectly, so the patch of course work ;), but seems that I
had the conf a bit broken, because he doesn't read the new messages in
/var/mail/user, does the line:
#default_mail_env = mbox:~/Mail:INBOX=/var/mail/username
look good?, I also tryed with %h instead of username, the rest of the
conf is pretty standard, I can create folders and so on.
Regards
Alvaro
2017 Sep 26
3
dsync: assert panic on mbox // no INBOX sync on hybrid mbox/maildir
...RESULTS:
1) doveadm sync -f -u david tcp:otherhost
synchronises the folders, but does not touch INBOXes.
2) doveadm sync -f -m INBOX -u david tcp:otherhost
Does not touch INBOXes
3) doveadm sync -n '#mbox/' -f -u david tcp:otherhost
dsync-local(david): Panic: file mbox-lock.c: line 800 (mbox_lock):
assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
F_RDLCK)
I added some debug code, the assertion failure is being triggered by a
call to mbox-lock() with:
locktype=F_WRCLK mbox->mbox_lock_type=F_RDLCK, mbox->external_transactions=1
The config files on the 2 hosts on...
2013 May 31
1
dsync assert failure in 2.2.2
Hi,
with 2.2.2 and today's hg, dsync crashes with
dsync(root): Panic: file ../../../../../src/lib-storage/index/mbox/mbox-lock.c: line 797 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK)
when I run
USER=root 2.2-hg/bin/dsync -c etc/dovecot.conf -f -o mail_location=mbox:/tmp/imap/fwadmin.tmp:INBOX=/tmp/imap/fwadmin.tmp/INBOX mirror mdbox:/tmp/imap/fwadmin
It seems to happen for all mailboxes that are no...
2005 Apr 27
0
Assertion Failures in Current CVS version
...p/INBOX/dovecot.index.log.2: invalid indexid (1114564800 != 1114571103)
dovecot: Apr 26 23:13:30 Error: 3536 IMAP(support): UIDVALIDITY changed (1114570968 -> 1114571601) in mbox file /mailhome/new/m/2/support/mbox
dovecot: Apr 26 23:13:30 Error: 3536 IMAP(support): file mbox-lock.c: line 518 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK)
dovecot: Apr 26 23:13:31 Error: child 3536 (imap) killed with signal 6
(gdb) bt full
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xbffff518 in ?? ()
No symbol table info available.
#2 0x00000006 in ?...
2005 Oct 14
0
1.0a3: assert and core dump
...nts outside file
Oct 14 11:59:39 emerald dovecot: [ID 107833 mail.error] imap(epmccull): Corrupted index cache file /home/students/e/epmccull/.imap/INBOX/dovecot.index.cache: used_file_size too small
Oct 14 11:59:39 emerald dovecot: [ID 107833 mail.error] imap(epmccull): file mbox-lock.c: line 518 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK)
Attached is a gdb session on the core dump. Thanks.
Jeff Earickson
Colby College
-------------- next part --------------
Script started on Fri Oct 14 13:02:45 2005
%gdb imap core.epmccull
GNU gdb 6.3
Copyright 2004...
2016 Apr 21
2
Setting up replication?
On 4/21/2016 04:33, Aropalo Tommi wrote:
>> I'm trying to set up replication between two servers and I've hit a
>> snag. I have two users and am using mbox files. If anybody has a
>> sample config file for a simple system like mine I would really be
>> grateful to see it.
>> Thanks,
>> The error I'm getting is:
>> Mar 23 14:07:31 knute2
2005 Nov 18
0
Two new Assert Failures
...e "ret" is not available.
(gdb) p (*map)->hdr.log_file_int_offset
$1 = 103944
(gdb) p hdr
No symbol "hdr" in current context.
------------------------------------------------------------------
dovecot: Nov 17 11:38:40 Error: 5202 imap(username): file mbox-lock.c:
line 518 (mbox_lock): assertion failed: (lock_type == F_RDLCK ||
mbox->mbox_lock_type != F_RDLCK)
dovecot: Nov 17 11:38:40 Error: child 5202 (imap) killed with signal 6
(gdb) bt full
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xbffff4f8 in ?? ()
No symbol table info available.
#2 0x00000006 in ?...
2014 May 16
0
syncing problems Dovecot 2.2.13
...dont get all mails synced.
first I sync backup the mbox to a maildir-NEW, than copy mbox to a new
name, mv maildir-NEW to maildir.
Now some problematic mailusers miss some mails from the old mbox, so I
start a dsync mirror and BAM crash.
e.g.:
dsync(s108019): Panic: file mbox-lock.c: line 799 (mbox_lock): assertion
failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK)
dsync(s108019): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0
[0x333fe67f2a] ->
/usr/lib64/dovecot/libdovecot.so.0(default_fatal_handler+0x35)
[0x333fe68025] -> /usr/lib64/dovecot/libdovecot.so.0 [0x33...
2020 Oct 12
0
Preparing for replication: dsync-local(testaccount): Panic: file mbox-lock.c
...t tcp:mail.local:542
</div>
<div>
<br>
</div>
<div>
[2]
</div>
<div>
[@ ~]# doveadm sync -n inbox -u testaccount tcp:mail.local:542
</div>
<div>
dsync-local(testaccount): Panic: file mbox-lock.c: line 799 (mbox_lock):
</div>
<div>
assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
</div>
<div>
F_RDLCK)
</div>
<div>
dsync-local(testaccount): Error: Raw backtrace:
</div>
<div>
/usr/lib64/dovecot/libdovecot....
2003 Sep 10
1
Patch for auto-creating home directories
...uot;chdir(%s) failed: %m", full_home_dir);
}
***************
*** 188,194 ****
env_put("MAILDIR_CHECK_CONTENT_CHANGES=1");
if (set->mail_full_filesystem_access)
env_put("FULL_FILESYSTEM_ACCESS=1");
- (void)umask(set->umask);
env_put(t_strconcat("MBOX_LOCKS=", set->mbox_locks, NULL));
env_put(t_strdup_printf("MBOX_LOCK_TIMEOUT=%u",
--- 229,234 ----
*** ./src/master/master-settings.h.orig Wed Sep 10 12:13:45 2003
--- ./src/master/master-settings.h Wed Sep 10 12:13:47 2003
***************
*** 51,56 ****
--- 51,57 ----
int mbox_r...
2005 Apr 05
2
Dovecot 1.0 POP3 login but no mail
...in fine I see in maillog the result,
no other errors in maillog. Cannot see what is wrong. Here are the important
bits of my dovecot.conf, everything else is std. i.e. commented out
protocols = pop3
login = imap
login = pop3
default_mail_env = maildir:%h/.maildir
client_workarounds = outlook-idle
mbox_locks = fcntl
auth = default
auth_userdb = passwd
auth_passdb = pam
auth_user = root
auth_verbose = yes
Ideas on where to look next?
Thx
David
2005 Sep 18
1
Can't connect to auth server at default: Connection refused
...we're seeing include
1) pread_full() failed with mbox file /export/mail/c/37/sau04djp/INBOX:
No such file or directory (when there is!)
2) mbox sync: UID inserted in the middle of mailbox (especially with
.prayer folders - configuration folders for our Webmail)
3) file mbox-lock.c: line 505 (mbox_lock): assertion failed: (lock_type
== F_RDLCK || ibox->mbox_lock_type != F_RDLCK)
presumably some of these are fixed in alpha2.
Best Wishes,
Chris
--
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin, c.d.wakelin at reading.ac...
2004 Jan 08
3
no such file or directory
...ies. Here
is a copy of my dovecot.conf and I've removed all the commented out
lines to save space...
protocols = imap
imap_listen = *
ssl_disable = yes
login_dir = /var/run/dovecot-login
login = imap
default_mail_env = maildir:~/Maildir
client_workarounds = oe6-fetch-no-newmail outlook-idle
mbox_locks = fcntl
auth = default
auth_mechanisms = plain
auth_userdb = passwd
auth_passdb = shadow
auth_user = root
auth_verbose = yes
Also, I created the maildir manually and placed a copy in my /etc/skel
so that all new users receive a copy. Here is the structure and
permissions from the home directory...