Hi,
we have installed dovecot version 2.1.11
Now we have found 3 problems with doveadm on proxy server:
1 problem: In our configuration we have: protocol doveadm { auth_socket_path = director-userdb }
I have executed this: # doveconf -m doveadm -f service=doveadm auth_socket_path auth_socket_path = director-userdb
Now when We execute doveadm quota get -A we have this error: doveadm(user1): Error: /var/run/dovecot//auth-userdb: Proxy is missing destination host (maybe set auth_socket_path=director-userdb) doveadm: Error: Failed to iterate through some users
with "-o auth_socket_path=director-userdb " it works for the early users.
2 problem when we execute doveadm -o auth_socket_path=director-userdb quota get -A it works for the early users and then return this error on proxy:
doveadm(userabc): Fatal: table formatter doesn't support multi-line values
3 problem I have tested other doveadm command on proxy wich also fails:
# doveadm -o auth_socket_path=director-userdb search -u user mailbox Trash savedbefore 1d
on proxy we have this error: " doveadm(user): Error: xx.xx.xx.xx:24245: Internal failure for user" on mailserver we have this error: "doveadm: Fatal: master: service(doveadm): child 22171 killed with signal 11 (core dumps disabled)"
I put the gdm bt output hope it help you. (mailserver)
Core was generated by `dovecot/doveadm-server'. Program terminated with signal 11, Segmentation fault. #0 auth_master_user_list_next (ctx=0x0) at auth-master.c:680 680 auth-master.c: No such file or directory. in auth-master.c Missing separate debuginfos, use: debuginfo-install dovecot-2.1.11-1_136.el6.x86_64 (gdb) bt full #0 auth_master_user_list_next (ctx=0x0) at auth-master.c:680 No locals. #1 0x00007f2dfe414f23 in mail_storage_service_all_next (ctx=0xf92900, username_r=0x7fff4306cab8) at mail-storage-service.c:1215 __FUNCTION__ = "mail_storage_service_all_next" #2 0x00007f2dfd0b0ed2 in doveadm_expire_mail_init (ctx=0xf89020) at doveadm-expire.c:420 ectx = 0xf89198 dict = 0xf93110 query = <value optimized out> expire_dict = <value optimized out> username = 0x0 value = <value optimized out> username_dup = <value optimized out> #3 0x000000000040aa1a in doveadm_mail_single_user () No symbol table info available. #4 0x00000000004121b9 in client_connection_input () No symbol table info available. #5 0x00007f2dfe14f2c6 in io_loop_call_io (io=0xf8e7a0) at ioloop.c:379 ioloop = 0xf84690 t_id = 2 #6 0x00007f2dfe1502ef in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:213 ---Type <return> to continue, or q <return> to quit--- ctx = 0xf874c0 events = <value optimized out> event = 0xf87530 list = 0xf8e7f0 io = <value optimized out> tv = {tv_sec = 2147483, tv_usec = 0} msecs = <value optimized out> ret = 1 i = <value optimized out> call = <value optimized out> #7 0x00007f2dfe14f268 in io_loop_run (ioloop=0xf84690) at ioloop.c:398 No locals. #8 0x00007f2dfe13ac73 in master_service_run (service=0xf84540, callback=<value optimized out>) at master-service.c:544 No locals. #9 0x00000000004128f1 in main () No symbol table info available.
Thanks in advance!!!!
--
Ramon Frontera Gallardo Universitat de les Illes Balears
El 28/11/2012, a las 23:45, Timo Sirainen escribió:
On 28.11.2012, at 16.50, Ramon Frontera wrote:
Dovecot -n show the correct configuration like you explain. The command doveadm -o auth_socket_path=director-userdb quota get -A works fine on the proxy and now assigns host.
Then doveadm isn't seeing the same configuration as what you're looking at. For example did you restart dovecot since the change? Does this return the correct path? :
doveconf -m doveadm -f service=doveadm auth_socket_path
Now, the problem is that when we execute doveadm -A or doveadm -u *something* the command fails in the mailserver with this error:
dovecot: doveadm: Fatal: master: service(doveadm): child 13482 killed with signal 11 (core dumps disabled)
I fixed several bugs related to this in hg. I think you hit one of them.
This errors occurs when the search finds more than one user. When we execute doveadm -u user it works fine
I send attached the strace of the mailserver<doveadm.log.zip>
strace isn't very useful in debugging crashes. gdb backtraces are: http://dovecot.org/bugreport.html