Hi Thenx but maby problem is in ssl or core file and gdb was incorrectly used # 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.24 (124e06aa) # OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid Jan 24 16:56:38 thebe-postfix dovecot: master: Dovecot v2.2.36 (1f10bfa63) starting up for imap, pop3, lmtp, sieve Jan 24 16:56:39 thebe-postfix dovecot: master: Error: service(auth): command startup failed, throttling for 2 secs Jan 24 16:56:39 thebe-postfix dovecot: auth: Fatal: master: service(auth): child 11078 killed with signal 11 (core dumped) Jan 24 16:56:39 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly telnet IP 143 .......... Escape character is '^]'. * OK Waiting for authentication process to respond.. * BYE Disconnected: Auth process broken Connection closed by foreign host. Jan 24 16:56:48 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:56:56 thebe-postfix dovecot: master: Error: service(auth): command startup failed, throttling for 16 secs Jan 24 16:56:56 thebe-postfix dovecot: auth: Fatal: master: service(auth): child 11082 killed with signal 11 (core dumped) an 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:57:07 thebe-postfix dovecot: imap-login: Warning: Auth process not responding, delayed sending initial response (greeting): user=<>, rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured, session=<vEwzQzaAtHQu+Kdx> Jan 24 16:57:12 thebe-postfix dovecot: master: Error: service(auth): command startup failed, throttling for 32 secs Jan 24 16:57:12 thebe-postfix dovecot: auth: Fatal: master: service(auth): child 11084 killed with signal 11 (core dumped) Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:57:12 thebe-postfix dovecot: imap-login: Disconnected: Auth process broken (disconnected before auth was ready, waited 15 secs): user=<>, rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured, session=<vEwzQzaAtHQu+Kdx> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server disconnected unexpectedly core: gdb --args /usr/local/dovecot/libexec/dovecot/imap-login /var/run/dovecot/core Starting program: /usr/local/dovecot-2.2.36/libexec/dovecot/imap-login /var/run/dovecot/core [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". process 11878 is executing new program: /usr/local/dovecot-2.2.36/bin/doveconf process 11878 is executing new program: /usr/local/dovecot-2.2.36/libexec/dovecot/imap-login [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Fatal: settings_check(ssl) failed: ssl_verify_client_cert set, but ssl_ca not [Inferior 1 (process 11878) exited with code 0131] Fatal: settings_check(ssl) failed: ssl_verify_client_cert set, but ssl_ca not If this true why works fine in debian 8.x ?> Hi! > > Can you get backtrace from the core file? > > https://dovecot.org/bugreport.html > > Aki >> On 24 January 2019 at 17:10 Maciej Milaszewski IQ PL < >> maciej.milaszewski at iq.pl <mailto:maciej.milaszewski at iq.pl>> wrote: >> >> >> Hi >> Thenx for replay. >> >> Finaly for a test in my lab >> >> I upgrate to latest 2.2.36 and os debian 10 >> In this machine is dovecot director >> >> But if i tested via telnet >> >> root at postfix:~# telnet 46.xxx.xxx.xxx 143 >> Trying 46.xxx.xxx.xxx... >> Connected to 46.xxx.xxx.xxx. >> Escape character is '^]'. >> * BYE Disconnected: Auth process broken >> Connection closed by foreign host. >> >> In log: >> Jan 24 16:02:07 postfix dovecot: master: Dovecot v2.2.36 (1f10bfa63) >> starting up for imap, pop3, lmtp, sieve >> Jan 24 16:02:07 postfix dovecot: master: Error: service(auth): command >> startup failed, throttling for 2 secs >> Jan 24 16:02:07 postfix dovecot: auth: Fatal: master: service(auth): >> child 10443 killed with signal 11 (core dumped) >> Jan 24 16:02:07 postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> >> >> in strace: >> >> ioctl(3, FIONBIO, [1])????????????????? = 0 >> setsockopt(3, SOL_SOCKET, SO_OOBINLINE, [1], 4) = 0 >> select(4, [0 3], [], [3], {tv_sec=0, tv_usec=0}) = 0 (Timeout) >> select(4, [0 3], [], [3], NULL)???????? = 1 (in [3]) >> recvfrom(3, "* BYE Disconnected: Auth process"..., 8191, 0, NULL, >> NULL) = 41 >> select(4, [0 3], [1], [3], {tv_sec=0, tv_usec=0}) = 2 (in [3], out [1], >> left {tv_sec=0, tv_usec=0}) >> write(1, "* BYE Disconnected: Auth process"..., 40* BYE Disconnected: >> Auth process broken >> ) = 40 >> recvfrom(3, "", 8151, 0, NULL, NULL)??? = 0 >> ...... >> ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0 >> ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo >> ...}) = 0 >> ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0 >> ioctl(0, FIONBIO, [0])????????????????? = 0 >> ioctl(1, FIONBIO, [0])????????????????? = 0 >> write(2, "Connection closed by foreign hos"..., 35Connection closed by >> foreign host. >> ) = 35 >> close(-1)?????????????????????????????? = -1 EBADF (Bad file descriptor) >> exit_group(1)?????????????????????????? = ? >> +++ exited with 1 +++ >> >> >> >> >> Second machine (backend with dovecot clinet) is old debian (8.11) and >> 2.2.32 | ( and tested 2.2.36) >> >> telnet 10.0.0.24 143 >> Trying 10.0.0.24... >> Connected to 10.0.0.24. >> Escape character is '^]'. >> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE >> IDLE AUTH=PLAIN AUTH=LOGIN] Imap ready. >> >> and works fine >> >> In productions i have debian 8.11 and 9.x all workings fine (this same >> configurations etc) >> >> Where i found solutions? etc ? >> >> On 23.01.2019 08:35, Aki Tuomi via dovecot wrote: >>> Maybe you should try 2.2.36? >>> Aki >>> On 22.1.2019 16.47, Maciej Milaszewski IQ PL wrote: >>>> Hi >>>> I have little problem with debian10 and dovecot 2.2.33.2 >> >> ps -ax >> >> 21815 ???????? S????? 0:00 dovecot/pop3-login director >> >> 21816 ???????? S????? 0:00 dovecot/pop3-login director >> >> 21817 ???????? S????? 0:00 dovecot/pop3-login director >> >> 21818 ???????? S????? 0:00 dovecot/pop3-login director >> >> 21819 ???????? S????? 0:00 dovecot/pop3-login director >> >> 21821 ???????? S????? 0:00 dovecot/pop3-login director >> >> 21822 ???????? S????? 0:00 dovecot/pop3-login director >> >> >> >> But if I testes via telnet like this: >> >> >> >> telnet 46.xxx.xxx.113 143 >> >> Trying 46.xxx.xxx.113... >> >> Connected to 46.xxx.xxx.113. >> >> Escape character is '^]'. >> >> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE >> >> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Imap ready. >> >> ^] >> >> telnet> q >> >> Connection closed. >> >> >> >> and ps: >> >> 21808 ???????? S????? 0:00 dovecot/imap-login?? >> >> >> ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? >> >> >> 21826 ???????? S????? 0:00 dovecot/imap-login?? >> >> >> ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? >> >> >> >> >> strace: >> >> strace -p 21808 >> >> strace: Process 21808 attached >> >> gettimeofday({tv_sec=1548168193, tv_usec=419420}, NULL) = 0 >> >> epoll_wait(14, >> >> >> >> doveconf: >> >> doveconf -n |head -n 4 >> >> # 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf >> >> # Pigeonhole version 0.4.8 (0c4ae064f307+) >> >> # OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid >> >> auth_cache_negative_ttl = 5 mins >> >> >> >> >> >> >> >> Probably dovecot not closed correctly imap-login and this same for >> >> imap-pop3. Any idea ? >> >> >> >> >> > > --- > Aki Tuomi-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190124/f43573ca/attachment-0001.html>
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> Try </div> <div> <br> </div> <div> gdb /usr/local/dovecot/libexec/dovecot/auth /var/run/dovecot/core </div> <div> bt full </div> <div> <br> </div> <div> Aki </div> <blockquote type="cite"> <div> On 24 January 2019 at 18:53 Maciej Milaszewski IQ PL < <a href="mailto:maciej.milaszewski@iq.pl">maciej.milaszewski@iq.pl</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> Hi </div> <div> Thenx but maby problem is in ssl or core file and gdb was incorrectly used </div> <div> <br> </div> <div> <br> </div> <div> # 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf </div> <div> # Pigeonhole version 0.4.24 (124e06aa) </div> <div> # OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid </div> <div> <br> </div> <div> Jan 24 16:56:38 thebe-postfix dovecot: master: Dovecot v2.2.36 </div> <div> (1f10bfa63) starting up for imap, pop3, lmtp, sieve </div> <div> Jan 24 16:56:39 thebe-postfix dovecot: master: Error: service(auth): </div> <div> command startup failed, throttling for 2 secs </div> <div> Jan 24 16:56:39 thebe-postfix dovecot: auth: Fatal: master: </div> <div> service(auth): child 11078 killed with signal 11 (core dumped) </div> <div> Jan 24 16:56:39 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> <br> </div> <div> telnet IP 143 </div> <div> .......... </div> <div> Escape character is '^]'. </div> <div> * OK Waiting for authentication process to respond.. </div> <div> * BYE Disconnected: Auth process broken </div> <div> Connection closed by foreign host. </div> <div> <br> </div> <div> <br> </div> <div> Jan 24 16:56:48 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:56:56 thebe-postfix dovecot: master: Error: service(auth): </div> <div> command startup failed, throttling for 16 secs </div> <div> Jan 24 16:56:56 thebe-postfix dovecot: auth: Fatal: master: </div> <div> service(auth): child 11082 killed with signal 11 (core dumped) </div> <div> an 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:57:07 thebe-postfix dovecot: imap-login: Warning: Auth process </div> <div> not responding, delayed sending initial response (greeting): user=<>, </div> <div> rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured, session=<vEwzQzaAtHQu+Kdx> </div> <div> Jan 24 16:57:12 thebe-postfix dovecot: master: Error: service(auth): </div> <div> command startup failed, throttling for 32 secs </div> <div> Jan 24 16:57:12 thebe-postfix dovecot: auth: Fatal: master: </div> <div> service(auth): child 11084 killed with signal 11 (core dumped) </div> <div> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:57:12 thebe-postfix dovecot: imap-login: Disconnected: Auth </div> <div> process broken (disconnected before auth was ready, waited 15 secs): </div> <div> user=<>, rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured, </div> <div> session=<vEwzQzaAtHQu+Kdx> </div> <div> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server </div> <div> disconnected unexpectedly </div> <div> <br> </div> <div> core: </div> <div> <br> </div> <div> gdb --args /usr/local/dovecot/libexec/dovecot/imap-login </div> <div> /var/run/dovecot/core </div> <div> Starting program: /usr/local/dovecot-2.2.36/libexec/dovecot/imap-login </div> <div> /var/run/dovecot/core </div> <div> [Thread debugging using libthread_db enabled] </div> <div> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". </div> <div> process 11878 is executing new program: </div> <div> /usr/local/dovecot-2.2.36/bin/doveconf </div> <div> process 11878 is executing new program: </div> <div> /usr/local/dovecot-2.2.36/libexec/dovecot/imap-login </div> <div> [Thread debugging using libthread_db enabled] </div> <div> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". </div> <div> Fatal: settings_check(ssl) failed: ssl_verify_client_cert set, but </div> <div> ssl_ca not </div> <div> [Inferior 1 (process 11878) exited with code 0131] </div> <div> <br> </div> <div> <br> </div> <div> Fatal: settings_check(ssl) failed: ssl_verify_client_cert set, but </div> <div> ssl_ca not </div> <div> <br> </div> <div> <br> </div> <div> If this true why works fine in debian 8.x ? </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <blockquote type="cite"> <div> Hi! </div> </blockquote> <blockquote type="cite"> <div> Can you get backtrace from the core file? </div> </blockquote> <blockquote type="cite"> <div> <a href="https://dovecot.org/bugreport.html" rel="noopener" target="_blank">https://dovecot.org/bugreport.html</a> </div> </blockquote> <blockquote type="cite"> <div> Aki </div> <blockquote type="cite"> <div> On 24 January 2019 at 17:10 Maciej Milaszewski IQ PL < </div> <div> <a href="mailto:maciej.milaszewski@iq.pl">maciej.milaszewski@iq.pl</a> <mailto: <a href="mailto:maciej.milaszewski@iq.pl">maciej.milaszewski@iq.pl</a>>> wrote: </div> </blockquote> </blockquote> <div> >> </div> <div> >> Hi </div> <div> >> Thenx for replay. </div> <div> >> </div> <div> >> Finaly for a test in my lab </div> <div> >> </div> <div> >> I upgrate to latest 2.2.36 and os debian 10 </div> <div> >> In this machine is dovecot director </div> <div> >> </div> <div> >> But if i tested via telnet </div> <div> >> </div> <div> >> root@postfix:~# telnet 46.xxx.xxx.xxx 143 </div> <div> >> Trying 46.xxx.xxx.xxx... </div> <div> >> Connected to 46.xxx.xxx.xxx. </div> <div> >> Escape character is '^]'. </div> <div> >> * BYE Disconnected: Auth process broken </div> <div> >> Connection closed by foreign host. </div> <div> >> </div> <div> >> In log: </div> <div> >> Jan 24 16:02:07 postfix dovecot: master: Dovecot v2.2.36 (1f10bfa63) </div> <div> >> starting up for imap, pop3, lmtp, sieve </div> <div> >> Jan 24 16:02:07 postfix dovecot: master: Error: service(auth): command </div> <div> >> startup failed, throttling for 2 secs </div> <div> >> Jan 24 16:02:07 postfix dovecot: auth: Fatal: master: service(auth): </div> <div> >> child 10443 killed with signal 11 (core dumped) </div> <div> >> Jan 24 16:02:07 postfix dovecot: director: Error: Auth server </div> <div> >> disconnected unexpectedly </div> <div> >> </div> <div> >> </div> <div> >> in strace: </div> <div> >> </div> <div> >> ioctl(3, FIONBIO, [1]) = 0 </div> <div> >> setsockopt(3, SOL_SOCKET, SO_OOBINLINE, [1], 4) = 0 </div> <div> >> select(4, [0 3], [], [3], {tv_sec=0, tv_usec=0}) = 0 (Timeout) </div> <div> >> select(4, [0 3], [], [3], NULL) = 1 (in [3]) </div> <div> >> recvfrom(3, "* BYE Disconnected: Auth process"..., 8191, 0, NULL, </div> <div> >> NULL) = 41 </div> <div> >> select(4, [0 3], [1], [3], {tv_sec=0, tv_usec=0}) = 2 (in [3], out [1], </div> <div> >> left {tv_sec=0, tv_usec=0}) </div> <div> >> write(1, "* BYE Disconnected: Auth process"..., 40* BYE Disconnected: </div> <div> >> Auth process broken </div> <div> >> ) = 40 </div> <div> >> recvfrom(3, "", 8151, 0, NULL, NULL) = 0 </div> <div> >> ...... </div> <div> >> ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0 </div> <div> >> ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo </div> <div> >> ...}) = 0 </div> <div> >> ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0 </div> <div> >> ioctl(0, FIONBIO, [0]) = 0 </div> <div> >> ioctl(1, FIONBIO, [0]) = 0 </div> <div> >> write(2, "Connection closed by foreign hos"..., 35Connection closed by </div> <div> >> foreign host. </div> <div> >> ) = 35 </div> <div> >> close(-1) = -1 EBADF (Bad file descriptor) </div> <div> >> exit_group(1) = ? </div> <div> >> +++ exited with 1 +++ </div> <div> >> </div> <div> >> </div> <div> >> </div> <div> >> </div> <div> >> Second machine (backend with dovecot clinet) is old debian (8.11) and </div> <div> >> 2.2.32 | ( and tested 2.2.36) </div> <div> >> </div> <div> >> telnet 10.0.0.24 143 </div> <div> >> Trying 10.0.0.24... </div> <div> >> Connected to 10.0.0.24. </div> <div> >> Escape character is '^]'. </div> <div> >> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE </div> <div> >> IDLE AUTH=PLAIN AUTH=LOGIN] Imap ready. </div> <div> >> </div> <div> >> and works fine </div> <div> >> </div> <div> >> In productions i have debian 8.11 and 9.x all workings fine (this same </div> <div> >> configurations etc) </div> <div> >> </div> <div> >> Where i found solutions etc ? </div> <div> >> </div> <div> >> On 23.01.2019 08:35, Aki Tuomi via dovecot wrote: </div> <div> >>> Maybe you should try 2.2.36? </div> <div> >>> Aki </div> <div> >>> On 22.1.2019 16.47, Maciej Milaszewski IQ PL wrote: </div> <div> >>>> Hi </div> <div> >>>> I have little problem with debian10 and dovecot 2.2.33.2 </div> <div> >> >> ps -ax </div> <div> >> >> 21815 ? S 0:00 dovecot/pop3-login director </div> <div> >> >> 21816 ? S 0:00 dovecot/pop3-login director </div> <div> >> >> 21817 ? S 0:00 dovecot/pop3-login director </div> <div> >> >> 21818 ? S 0:00 dovecot/pop3-login director </div> <div> >> >> 21819 ? S 0:00 dovecot/pop3-login director </div> <div> >> >> 21821 ? S 0:00 dovecot/pop3-login director </div> <div> >> >> 21822 ? S 0:00 dovecot/pop3-login director </div> <div> >> >> </div> <div> >> >> But if I testes via telnet like this: </div> <div> >> >> </div> <div> >> >> telnet 46.xxx.xxx.113 143 </div> <div> >> >> Trying 46.xxx.xxx.113... </div> <div> >> >> Connected to 46.xxx.xxx.113. </div> <div> >> >> Escape character is '^]'. </div> <div> >> >> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE </div> <div> >> >> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Imap ready. </div> <div> >> >> ^] </div> <div> >> >> telnet> q </div> <div> >> >> Connection closed. </div> <div> >> >> </div> <div> >> >> and ps: </div> <div> >> >> 21808 ? S 0:00 dovecot/imap-login </div> <div> >> >> </div> <div> >> ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? </div> <div> >> </div> <div> >> >> 21826 ? S 0:00 dovecot/imap-login </div> <div> >> >> </div> <div> >> ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? </div> <div> >> </div> <div> >> >> </div> <div> >> >> strace: </div> <div> >> >> strace -p 21808 </div> <div> >> >> strace: Process 21808 attached </div> <div> >> >> gettimeofday({tv_sec=1548168193, tv_usec=419420}, NULL) = 0 </div> <div> >> >> epoll_wait(14, </div> <div> >> >> </div> <div> >> >> doveconf: </div> <div> >> >> doveconf -n |head -n 4 </div> <div> >> >> # 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf </div> <div> >> >> # Pigeonhole version 0.4.8 (0c4ae064f307+) </div> <div> >> >> # OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid </div> <div> >> >> auth_cache_negative_ttl = 5 mins </div> <div> >> >> </div> <div> >> >> </div> <div> >> >> </div> <div> >> >> Probably dovecot not closed correctly imap-login and this same for </div> <div> >> >> imap-pop3. Any idea ? </div> <div> >> >> </div> <div> >> >> </div> <div> >> </div> <div> > </div> <blockquote type="cite"> <div> --- </div> <div> Aki Tuomi </div> </blockquote> </blockquote> <div> <br> </div> <div class="io-ox-signature"> --- <br>Aki Tuomi </div> </body> </html>
Hi Thenx. Dump core: Core was generated by `dovecot/auth'. Program terminated with signal SIGSEGV, Segmentation fault. #0? 0x00007fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt full #0? 0x00007fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1? 0x00005604e6f98bc8 in password_scheme_register_crypt () at password-scheme-crypt.c:144 ??????? i = 0 ??????? crypted = <optimized out> #2? 0x00005604e6f988dc in password_schemes_init () at password-scheme.c:875 ??????? i = <optimized out> #3? 0x00005604e6f737fb in main_preinit () at main.c:188 ??????? mod_set = {abi_version = 0x119a20dc <error: Cannot access memory at address 0x119a20dc>, binary_name = 0x7fa9102c95e0 <_gnutls_log_level> "", setting_name = 0x0, ????????? filter_callback = 0x7fa910241cfb, filter_context 0x756e654700000004, require_init_funcs = 1, debug = 0, ignore_dlopen_errors = 1, ignore_missing = 0} ??????? services = <optimized out> ??????? mod_set = <optimized out> ??????? services = <optimized out> #4? main (argc=<optimized out>, argv=<optimized out>) at main.c:396 ??????? c = <optimized out> On 24.01.2019 18:16, Aki Tuomi wrote:> Try > > gdb /usr/local/dovecot/libexec/dovecot/auth /var/run/dovecot/core > bt full > > Aki >> On 24 January 2019 at 18:53 Maciej Milaszewski IQ PL < >> maciej.milaszewski at iq.pl <mailto:maciej.milaszewski at iq.pl>> wrote: >> >> >> Hi >> Thenx but maby problem is in ssl or core file and gdb was incorrectly >> used >> >> >> # 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf >> # Pigeonhole version 0.4.24 (124e06aa) >> # OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid >> >> Jan 24 16:56:38 thebe-postfix dovecot: master: Dovecot v2.2.36 >> (1f10bfa63) starting up for imap, pop3, lmtp, sieve >> Jan 24 16:56:39 thebe-postfix dovecot: master: Error: service(auth): >> command startup failed, throttling for 2 secs >> Jan 24 16:56:39 thebe-postfix dovecot: auth: Fatal: master: >> service(auth): child 11078 killed with signal 11 (core dumped) >> Jan 24 16:56:39 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> >> telnet IP 143 >> .......... >> Escape character is '^]'. >> * OK Waiting for authentication process to respond.. >> * BYE Disconnected: Auth process broken >> Connection closed by foreign host. >> >> >> Jan 24 16:56:48 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 16:56:56 thebe-postfix dovecot: master: Error: service(auth): >> command startup failed, throttling for 16 secs >> Jan 24 16:56:56 thebe-postfix dovecot: auth: Fatal: master: >> service(auth): child 11082 killed with signal 11 (core dumped) >> an 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 16:57:07 thebe-postfix dovecot: imap-login: Warning: Auth process >> not responding, delayed sending initial response (greeting): user=<>, >> rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured, >> session=<vEwzQzaAtHQu+Kdx> >> Jan 24 16:57:12 thebe-postfix dovecot: master: Error: service(auth): >> command startup failed, throttling for 32 secs >> Jan 24 16:57:12 thebe-postfix dovecot: auth: Fatal: master: >> service(auth): child 11084 killed with signal 11 (core dumped) >> Jan 24 16:5Core was generated by `dovecot/auth'. >> Program terminated with signal SIGSEGV, Segmentation fault. >> #0? 0x00007fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 >> (gdb) bt full >> #0? 0x00007fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 >> No symbol table info available. >> #1? 0x00005604e6f98bc8 in password_scheme_register_crypt () at >> password-scheme-crypt.c:144 >> ??????? i = 0 >> ??????? crypted = <optimized out> >> #2? 0x00005604e6f988dc in password_schemes_init () at >> password-scheme.c:875 >> ??????? i = <optimized out> >> #3? 0x00005604e6f737fb in main_preinit () at main.c:188 >> ??????? mod_set = {abi_version = 0x119a20dc <error: Cannot access >> memory at address 0x119a20dc>, binary_name = 0x7fa9102c95e0 >> <_gnutls_log_level> "", setting_name = 0x0, >> ????????? filter_callback = 0x7fa910241cfb, filter_context >> 0x756e654700000004, require_init_funcs = 1, debug = 0, >> ignore_dlopen_errors = 1, ignore_missing = 0} >> ??????? services = <optimized out> >> ??????? mod_set = <optimized out> >> ??????? services = <optimized out> >> #4? main (argc=<optimized out>, argv=<optimized out>) at main.c:396 >> ??????? c = <optimized out>7:12 thebe-postfix dovecot: director: >> Error: Auth server >> disconnected unexpectedly >> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 16:57:12 thebe-postfix dovecot: imap-login: Disconnected: Auth >> process broken (disconnected before auth was ready, waited 15 secs): >> user=<>, rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured, >> session=<vEwzQzaAtHQu+Kdx> >> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> >> core: >> >> gdb --args /usr/local/dovecot/libexec/dovecot/imap-login >> /var/run/dovecot/core >> Starting program: /usr/local/dovecot-2.2.36/libexec/dovecot/imap-login >> /var/run/dovecot/core >> [Thread debugging using libthread_db enabled] >> Using host libthread_db library >> "/lib/x86_64-linux-gnu/libthread_db.so.1". >> process 11878 is executing new program: >> /usr/local/dovecot-2.2.36/bin/doveconf >> process 11878 is executing new program: >> /usr/local/dovecot-2.2.36/libexec/dovecot/imap-login >> [Thread debugging using libthread_db enabled] >> Using host libthread_db library >> "/lib/x86_64-linux-gnu/libthread_db.so.1". >> Fatal: settings_check(ssl) failed: ssl_verify_client_cert set, but >> ssl_ca not >> [Inferior 1 (process 11878) exited with code 0131] >> >> >> Fatal: settings_check(ssl) failed: ssl_verify_client_cert set, but >> ssl_ca not >> >> >> If this true why works fine in debian 8.x ? >> >> >> >>> Hi! >>> Can you get backtrace from the core file? >>> https://dovecot.org/bugreport.html >>> Aki >>>> On 24 January 2019 at 17:10 Maciej Milaszewski IQ PL < >>>> maciej.milaszewski at iq.pl <mailto:maciej.milaszewski at iq.pl> <mailto: >>>> maciej.milaszewski at iq.pl <mailto:maciej.milaszewski at iq.pl>>> wrote: >> >> >> >> Hi >> >> Thenx for replay. >> >> >> >> Finaly for a test in my lab >> >> >> >> I upgrate to latest 2.2.36 and os debian 10 >> >> In this machine is dovecot director >> >> >> >> But if i tested via telnet >> >> >> >> root at postfix:~# telnet 46.xxx.xxx.xxx 143 >> >> Trying 46.xxx.xxx.xxx... >> >> Connected to 46.xxx.xxx.xxx. >> >> Escape character is '^]'. >> >> * BYE Disconnected: Auth process broken >> >> Connection closed by foreign host. >> >> >> >> In log: >> >> Jan 24 16:02:07 postfix dovecot: master: Dovecot v2.2.36 (1f10bfa63) >> >> starting up for imap, pop3, lmtp, sieve >> >> Jan 24 16:02:07 postfix dovecot: master: Error: service(auth): >> command >> >> startup failed, throttling for 2 secs >> >> Jan 24 16:02:07 postfix dovecot: auth: Fatal: master: service(auth): >> >> child 10443 killed with signal 11 (core dumped) >> >> Jan 24 16:02:07 postfix dovecot: director: Error: Auth server >> >> disconnected unexpectedly >> >> >> >> >> >> in strace: >> >> >> >> ioctl(3, FIONBIO, [1])????????????????? = 0 >> >> setsockopt(3, SOL_SOCKET, SO_OOBINLINE, [1], 4) = 0 >> >> select(4, [0 3], [], [3], {tv_sec=0, tv_usec=0}) = 0 (Timeout) >> >> select(4, [0 3], [], [3], NULL)???????? = 1 (in [3]) >> >> recvfrom(3, "* BYE Disconnected: Auth process"..., 8191, 0, NULL, >> >> NULL) = 41 >> >> select(4, [0 3], [1], [3], {tv_sec=0, tv_usec=0}) = 2 (in [3], out >> [1], >> >> left {tv_sec=0, tv_usec=0}) >> >> write(1, "* BYE Disconnected: Auth process"..., 40* BYE Disconnected: >> >> Auth process broken >> >> ) = 40 >> >> recvfrom(3, "", 8151, 0, NULL, NULL)??? = 0 >> >> ...... >> >> ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0 >> >> ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo >> >> ...}) = 0 >> >> ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0 >> >> ioctl(0, FIONBIO, [0])????????????????? = 0 >> >> ioctl(1, FIONBIO, [0])????????????????? = 0 >> >> write(2, "Connection closed by foreign hos"..., 35Connection >> closed by >> >> foreign host. >> >> ) = 35 >> >> close(-1)?????????????????????????????? = -1 EBADF (Bad file >> descriptor) >> >> exit_group(1)?????????????????????????? = ? >> >> +++ exited with 1 +++ >> >> >> >> >> >> >> >> >> >> Second machine (backend with dovecot clinet) is old debian (8.11) and >> >> 2.2.32 | ( and tested 2.2.36) >> >> >> >> telnet 10.0.0.24 143 >> >> Trying 10.0.0.24... >> >> Connected to 10.0.0.24. >> >> Escape character is '^]'. >> >> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE >> >> IDLE AUTH=PLAIN AUTH=LOGIN] Imap ready. >> >> >> >> and works fine >> >> >> >> In productions i have debian 8.11 and 9.x all workings fine (this >> same >> >> configurations etc) >> >> >> >> Where i found solutions? etc ? >> >> >> >> On 23.01.2019 08:35, Aki Tuomi via dovecot wrote: >> >>> Maybe you should try 2.2.36? >> >>> Aki >> >>> On 22.1.2019 16.47, Maciej Milaszewski IQ PL wrote: >> >>>> Hi >> >>>> I have little problem with debian10 and dovecot 2.2.33.2 >> >> >> ps -ax >> >> >> 21815 ???????? S????? 0:00 dovecot/pop3-login director >> >> >> 21816 ???????? S????? 0:00 dovecot/pop3-login director >> >> >> 21817 ???????? S????? 0:00 dovecot/pop3-login director >> >> >> 21818 ???????? S????? 0:00 dovecot/pop3-login director >> >> >> 21819 ???????? S????? 0:00 dovecot/pop3-login director >> >> >> 21821 ???????? S????? 0:00 dovecot/pop3-login director >> >> >> 21822 ???????? S????? 0:00 dovecot/pop3-login director >> >> >> >> >> >> But if I testes via telnet like this: >> >> >> >> >> >> telnet 46.xxx.xxx.113 143 >> >> >> Trying 46.xxx.xxx.113... >> >> >> Connected to 46.xxx.xxx.113. >> >> >> Escape character is '^]'. >> >> >> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID >> ENABLE >> >> >> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Imap ready. >> >> >> ^] >> >> >> telnet> q >> >> >> Connection closed. >> >> >> >> >> >> and ps: >> >> >> 21808 ???????? S????? 0:00 dovecot/imap-login?? >> >> >> >> >> >> ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? >> >> >> >> >> >> 21826 ???????? S????? 0:00 dovecot/imap-login?? >> >> >> >> >> >> ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? >> >> >> >> >> >> >> >> >> strace: >> >> >> strace -p 21808 >> >> >> strace: Process 21808 attached >> >> >> gettimeofday({tv_sec=1548168193, tv_usec=419420}, NULL) = 0 >> >> >> epoll_wait(14, >> >> >> >> >> >> doveconf: >> >> >> doveconf -n |head -n 4 >> >> >> # 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf >> >> >> # Pigeonhole version 0.4.8 (0c4ae064f307+) >> >> >> # OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid >> >> >> auth_cache_negative_ttl = 5 mins >> >> >> >> >> >> >> >> >> >> >> >> Probably dovecot not closed correctly imap-login and this same for >> >> >> imap-pop3. Any idea ? >> >> >> >> >> >> >> >> >> > >>> --- >>> Aki Tuomi > > --- > Aki Tuomi-- Maciej Mi?aszewski IQ PL Sp. z o.o. Starszy Administrator Systemowy Biuro Obs?ugi Klienta: e-mail: bok at iq.pl tel.: +48 58 326 09 90 - 94 fax: +48 58 326 09 99 Dzia? pomocy: https://www.iq.pl/pomoc Informacja dotycz?ca przetwarzania danych osobowych: https://www.iq.pl/kontakt Jako?? gwarantuje: ISO 9001:2000 IQ PL Sp. z o.o. z siedzib? w Gda?sku (80-298), ul. Geodet?w 16, KRS 0000007725, S?d rejestrowy: S?d Rejonowy w Gda?sku VII Wydzia? KRS, kapita? zak?adowy: 140.000 PLN, NIP 5832736211, REGON 192478853 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190124/6eff5ab0/attachment-0001.html>