Emmanuel Chanel
2015-Mar-06 15:12 UTC
dovecot auth-worker error happens when I enabled the dovecot to consider both the system account and the MySQL virtual mailbox databases.
Version: 2.2.9 & 2.2.15 ( http://ppa.launchpad.net/malte.swart/dovecot-2.2/ubuntu ) OS: Ubuntu 14.04 Server LTS I installed Ubuntu 14.04.2 LTS newly on my new server... And I try to configure the mail server considering both my system account and the virtual mailboxes, by seeing https://www.exratione.com/2014/05/a-mailserver-on-ubuntu-1404-postfix-dovecot-mysql/ But when I configured by uncommenting #!include auth-sql.conf.ext , it doesn't auth... Possibly, it's a trouble with the configurations of postfix and of dovecot. But I don't understand why... When I enable either auth-system.conf.ext or auth-sql.conf.ext , it works... My doveconf -n http://pastebin.com/MU1LL63d dovecot-sql.conf.ext http://pastebin.com/PJkTnPB3 tail /var/log/mail.log by debug mode / dovecot 2.2.15 http://pastebin.com/1TRQL49d Mar 6 07:45:12 gateway dovecot: auth: Debug: client in: AUTH#0114#011PLAIN#011service=imap#011secured#011session=xS6uSpIQvQDAqAAC#011lip=192.168.0.1#011rip=192.168.0.2#011lport=143#011rport=38333 Mar 6 07:45:12 gateway dovecot: auth: Debug: client passdb out: CONT#0114#011 Mar 6 07:45:12 gateway dovecot: auth: Debug: client in: CONT<hidden> Mar 6 07:45:12 gateway dovecot: auth-worker(22933): Debug: pam(emmanuel,192.168.0.2): lookup service=dovecot Mar 6 07:45:12 gateway dovecot: auth: Error: auth worker: Aborted PASSV request for emmanuel: Worker process died unexpectedly Mar 6 07:45:12 gateway dovecot: auth-worker(22936): Debug: sql(emmanuel,192.168.0.2): query: SELECT username as user, password, '/home/vmail//emmanuel' as userdb_home, 'maildir:/home/vmail//emmanuel' as userdb_mail, 65000 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'emmanuel' AND active = '1' Mar 6 07:45:12 gateway dovecot: auth-worker(22933): Fatal: master: service(auth-worker): child 22933 killed with signal 11 (core dumped) Mar 6 07:45:12 gateway dovecot: auth-worker(22936): sql(emmanuel,192.168.0.2): unknown user Mar 6 07:45:12 gateway dovecot: auth-worker(23755): Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth Mar 6 07:45:12 gateway dovecot: auth-worker(23755): Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so Mar 6 07:45:14 gateway dovecot: auth: Debug: client passdb out: FAIL#0114#011user=emmanuel#011temp Mar 6 07:45:14 gateway dovecot: auth: Debug: client in: AUTH#0115#011LOGIN#011service=imap#011secured#011session=xS6uSpIQvQDAqAAC#011lip=192.168.0.1#011rip=192.168.0.2#011lport=143#011rport=38333 Mar 6 07:45:14 gateway dovecot: auth: Debug: client passdb out: CONT#0115#011VXNlcm5hbWU6 Mar 6 07:45:14 gateway dovecot: auth: Debug: client in: CONT<hidden> Mar 6 07:45:14 gateway dovecot: auth: Debug: client passdb out: CONT#0115#011UGFzc3dvcmQ6 Mar 6 07:45:14 gateway dovecot: auth: Debug: client in: CONT<hidden> Mar 6 07:45:14 gateway dovecot: auth-worker(22936): Debug: pam(emmanuel,192.168.0.2): lookup service=dovecot Mar 6 07:45:14 gateway dovecot: auth: Error: auth worker: Aborted PASSV request for emmanuel: Worker process died unexpectedly Mar 6 07:45:14 gateway dovecot: auth-worker(23755): Debug: sql(emmanuel,192.168.0.2): query: SELECT username as user, password, '/home/vmail//emmanuel' as userdb_home, 'maildir:/home/vmail//emmanuel' as userdb_mail, 65000 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'emmanuel' AND active = '1' Mar 6 07:45:14 gateway dovecot: auth-worker(22936): Fatal: master: service(auth-worker): child 22936 killed with signal 11 (core dumped) Mar 6 07:45:14 gateway dovecot: auth-worker(23755): sql(emmanuel,192.168.0.2): unknown user Mar 6 07:45:14 gateway dovecot: auth-worker(23764): Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth Mar 6 07:45:14 gateway dovecot: auth-worker(23764): Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so Mar 6 07:45:16 gateway dovecot: auth: Debug: client passdb out: FAIL#0115#011user=emmanuel#011temp Mar 6 07:45:16 gateway dovecot: auth: Debug: client in: AUTH#0116#011PLAIN#011service=imap#011secured#011session=xS6uSpIQvQDAqAAC#011lip=192.168.0.1#011rip=192.168.0.2#011lport=143#011rport=38333#011resp=<hidden> Mar 6 07:45:16 gateway dovecot: auth-worker(23755): Debug: pam(emmanuel,192.168.0.2): lookup service=dovecot Mar 6 07:45:16 gateway dovecot: auth: Error: auth worker: Aborted PASSV request for emmanuel: Worker process died unexpectedly Mar 6 07:45:16 gateway dovecot: auth-worker(23764): Debug: sql(emmanuel,192.168.0.2): query: SELECT username as user, password, '/home/vmail//emmanuel' as userdb_home, 'maildir:/home/vmail//emmanuel' as userdb_mail, 65000 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'emmanuel' AND active = '1' Mar 6 07:45:16 gateway dovecot: auth-worker(23755): Fatal: master: service(auth-worker): child 23755 killed with signal 11 (core dumped) Mar 6 07:45:16 gateway dovecot: auth-worker(23764): sql(emmanuel,192.168.0.2): unknown user Mar 6 07:45:16 gateway dovecot: auth-worker(23767): Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth Mar 6 07:45:16 gateway dovecot: auth-worker(23767): Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so Mar 6 07:45:18 gateway dovecot: auth: Debug: client passdb out: FAIL#0116#011user=emmanuel#011temp -- Emmanuel Chanel( emmanuelchanel at gmail.com )
Emmanuel Chanel
2015-Mar-08 15:45 UTC
dovecot auth-worker error happens when I enabled the dovecot to consider both the system account and the MySQL virtual mailbox databases.
This is the configuration... ------- $ sudo doveconf -n # 2.2.15: /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.6 (3e924b1b6c5c+) # OS: Linux 3.16.0-31-generic x86_64 Ubuntu 14.04.2 LTS auth_debug = yes auth_mechanisms = plain login auth_verbose = yes first_valid_uid = 1000 mail_debug = yes mail_location = maildir:~/Maildir namespace inbox { inbox = yes location mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix } passdb { driver = pam } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { sieve = file:~/sieve;active=~/.dovecot.sieve } postmaster_address = emmanuelchanel at gmail.com protocols = " imap" service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } } ssl_cert = </etc/dovecot/dovecot.pem ssl_cipher_list = ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS ssl_key = </etc/dovecot/private/dovecot.pem ssl_protocols = !SSLv2 !SSLv3 userdb { driver = passwd } userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } On 2015?03?07? 00:12, Emmanuel Chanel wrote:> Version: 2.2.9 & 2.2.15 ( > http://ppa.launchpad.net/malte.swart/dovecot-2.2/ubuntu ) > OS: Ubuntu 14.04 Server LTS > I installed Ubuntu 14.04.2 LTS newly on my new server... > And I try to configure the mail server considering both my system > account and the virtual mailboxes, by seeing > https://www.exratione.com/2014/05/a-mailserver-on-ubuntu-1404-postfix-dovecot-mysql/ > But when I configured by uncommenting #!include auth-sql.conf.ext , it > doesn't auth... > Possibly, it's a trouble with the configurations of postfix and of > dovecot. But I don't understand why... > When I enable either auth-system.conf.ext or auth-sql.conf.ext , it > works... > > My doveconf -n http://pastebin.com/MU1LL63d > dovecot-sql.conf.ext http://pastebin.com/PJkTnPB3 > tail /var/log/mail.log by debug mode / dovecot 2.2.15 > http://pastebin.com/1TRQL49d > > Mar 6 07:45:12 gateway dovecot: auth: Debug: client > in: > AUTH#0114#011PLAIN#011service=imap#011secured#011session=xS6uSpIQvQDAqAAC#011lip=192.168.0.1#011rip=192.168.0.2#011lport=143#011rport=38333 > > > Mar 6 07:45:12 gateway dovecot: auth: Debug: client passdb out: > CONT#0114#011 > Mar 6 07:45:12 gateway dovecot: auth: Debug: client in: CONT<hidden> > Mar 6 07:45:12 gateway dovecot: auth-worker(22933): Debug: > pam(emmanuel,192.168.0.2): lookup service=dovecot > Mar 6 07:45:12 gateway dovecot: auth: Error: auth worker: Aborted > PASSV request for emmanuel: Worker process died unexpectedly > Mar 6 07:45:12 gateway dovecot: auth-worker(22936): Debug: > sql(emmanuel,192.168.0.2): query: SELECT username as user, password, > '/home/vmail//emmanuel' as userdb_home, > 'maildir:/home/vmail//emmanuel' as userdb_mail, 65000 as userdb_uid, 8 > as userdb_gid FROM mailbox WHERE username = 'emmanuel' AND active = '1' > Mar 6 07:45:12 gateway dovecot: auth-worker(22933): Fatal: master: > service(auth-worker): child 22933 killed with signal 11 (core dumped) > Mar 6 07:45:12 gateway dovecot: auth-worker(22936): > sql(emmanuel,192.168.0.2): unknown user > Mar 6 07:45:12 gateway dovecot: auth-worker(23755): Debug: Loading > modules from directory: /usr/lib/dovecot/modules/auth > Mar 6 07:45:12 gateway dovecot: auth-worker(23755): Debug: Module > loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so > Mar 6 07:45:14 gateway dovecot: auth: Debug: client passdb out: > FAIL#0114#011user=emmanuel#011temp > Mar 6 07:45:14 gateway dovecot: auth: Debug: client in: > AUTH#0115#011LOGIN#011service=imap#011secured#011session=xS6uSpIQvQDAqAAC#011lip=192.168.0.1#011rip=192.168.0.2#011lport=143#011rport=38333 > Mar 6 07:45:14 gateway dovecot: auth: Debug: client passdb out: > CONT#0115#011VXNlcm5hbWU6 > Mar 6 07:45:14 gateway dovecot: auth: Debug: client in: CONT<hidden> > Mar 6 07:45:14 gateway dovecot: auth: Debug: client passdb out: > CONT#0115#011UGFzc3dvcmQ6 > Mar 6 07:45:14 gateway dovecot: auth: Debug: client in: CONT<hidden> > Mar 6 07:45:14 gateway dovecot: auth-worker(22936): Debug: > pam(emmanuel,192.168.0.2): lookup service=dovecot > Mar 6 07:45:14 gateway dovecot: auth: Error: auth worker: Aborted > PASSV request for emmanuel: Worker process died unexpectedly > Mar 6 07:45:14 gateway dovecot: auth-worker(23755): Debug: > sql(emmanuel,192.168.0.2): query: SELECT username as user, password, > '/home/vmail//emmanuel' as userdb_home, > 'maildir:/home/vmail//emmanuel' as userdb_mail, 65000 as userdb_uid, 8 > as userdb_gid FROM mailbox WHERE username = 'emmanuel' AND active = '1' > Mar 6 07:45:14 gateway dovecot: auth-worker(22936): Fatal: master: > service(auth-worker): child 22936 killed with signal 11 (core dumped) > Mar 6 07:45:14 gateway dovecot: auth-worker(23755): > sql(emmanuel,192.168.0.2): unknown user > Mar 6 07:45:14 gateway dovecot: auth-worker(23764): Debug: Loading > modules from directory: /usr/lib/dovecot/modules/auth > Mar 6 07:45:14 gateway dovecot: auth-worker(23764): Debug: Module > loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so > Mar 6 07:45:16 gateway dovecot: auth: Debug: client passdb out: > FAIL#0115#011user=emmanuel#011temp > Mar 6 07:45:16 gateway dovecot: auth: Debug: client in: > AUTH#0116#011PLAIN#011service=imap#011secured#011session=xS6uSpIQvQDAqAAC#011lip=192.168.0.1#011rip=192.168.0.2#011lport=143#011rport=38333#011resp=<hidden> > Mar 6 07:45:16 gateway dovecot: auth-worker(23755): Debug: > pam(emmanuel,192.168.0.2): lookup service=dovecot > Mar 6 07:45:16 gateway dovecot: auth: Error: auth worker: Aborted > PASSV request for emmanuel: Worker process died unexpectedly > Mar 6 07:45:16 gateway dovecot: auth-worker(23764): Debug: > sql(emmanuel,192.168.0.2): query: SELECT username as user, password, > '/home/vmail//emmanuel' as userdb_home, > 'maildir:/home/vmail//emmanuel' as userdb_mail, 65000 as userdb_uid, 8 > as userdb_gid FROM mailbox WHERE username = 'emmanuel' AND active = '1' > Mar 6 07:45:16 gateway dovecot: auth-worker(23755): Fatal: master: > service(auth-worker): child 23755 killed with signal 11 (core dumped) > Mar 6 07:45:16 gateway dovecot: auth-worker(23764): > sql(emmanuel,192.168.0.2): unknown user > Mar 6 07:45:16 gateway dovecot: auth-worker(23767): Debug: Loading > modules from directory: /usr/lib/dovecot/modules/auth > Mar 6 07:45:16 gateway dovecot: auth-worker(23767): Debug: Module > loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so > Mar 6 07:45:18 gateway dovecot: auth: Debug: client passdb out: > FAIL#0116#011user=emmanuel#011temp >-- Emmanuel Chanel( emmanuelchanel at gmail.com )
Emmanuel Chanel
2015-Mar-08 16:35 UTC
dovecot auth-worker error happens when I enabled the dovecot to consider both the system account and the MySQL virtual mailbox databases.
Core Dump(?) from /var/log/apport.log on Ubuntu Server 14.04 LTS... ---------------------------------- ERROR: apport (pid 29249) Mon Mar 9 01:26:31 2015: called for pid 29239, signal 11, core limit 0 ERROR: apport (pid 29249) Mon Mar 9 01:26:31 2015: executable: /usr/lib/dovecot/auth (command line "dovecot/auth -w") ERROR: apport (pid 29249) Mon Mar 9 01:26:31 2015: Unhandled exception: Traceback (most recent call last): File "/usr/share/apport/apport", line 391, in <module> if is_closing_session(pid, pidstat.st_uid): File "/usr/share/apport/apport", line 213, in is_closing_session env = e.read().split('\0') File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xab in position 0: ordinal not in range(128) ERROR: apport (pid 29249) Mon Mar 9 01:26:31 2015: pid: 29249, uid: 0, gid: 0, euid: 0, egid: 0 ERROR: apport (pid 29249) Mon Mar 9 01:26:31 2015: environment: environ({}) ERROR: apport (pid 29260) Mon Mar 9 01:26:37 2015: called for pid 29241, signal 11, core limit 0 ERROR: apport (pid 29260) Mon Mar 9 01:26:37 2015: executable: /usr/lib/dovecot/auth (command line "dovecot/auth -w") ERROR: apport (pid 29260) Mon Mar 9 01:26:37 2015: Unhandled exception: Traceback (most recent call last): File "/usr/share/apport/apport", line 391, in <module> if is_closing_session(pid, pidstat.st_uid): File "/usr/share/apport/apport", line 213, in is_closing_session env = e.read().split('\0') File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xab in position 0: ordinal not in range(128) ERROR: apport (pid 29260) Mon Mar 9 01:26:37 2015: pid: 29260, uid: 0, gid: 0, euid: 0, egid: 0 ERROR: apport (pid 29260) Mon Mar 9 01:26:37 2015: environment: environ({}) ERROR: apport (pid 29264) Mon Mar 9 01:26:43 2015: called for pid 29250, signal 11, core limit 0 ERROR: apport (pid 29264) Mon Mar 9 01:26:43 2015: executable: /usr/lib/dovecot/auth (command line "dovecot/auth -w") ERROR: apport (pid 29264) Mon Mar 9 01:26:43 2015: Unhandled exception: Traceback (most recent call last): File "/usr/share/apport/apport", line 391, in <module> if is_closing_session(pid, pidstat.st_uid): File "/usr/share/apport/apport", line 213, in is_closing_session env = e.read().split('\0') File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xab in position 0: ordinal not in range(128) ERROR: apport (pid 29264) Mon Mar 9 01:26:43 2015: pid: 29264, uid: 0, gid: 0, euid: 0, egid: 0 ERROR: apport (pid 29264) Mon Mar 9 01:26:43 2015: environment: environ({}) -- Emmanuel Chanel( emmanuelchanel at gmail.com )
Maybe Matching Threads
- dovecot auth-worker error happens when I enabled the dovecot to consider both the system account and the MySQL virtual mailbox databases.
- dovecot auth-worker error happens when I enabled the dovecot to consider both the system account and the MySQL virtual mailbox databases.
- [Bug 93932] New: Xorg/Nouveau crashes with Segmentation fault when setting i7-Skylake iGPU as primary grapics device in BIOS
- [Bug 93875] New: Random Xorg Crash when Away from Computer
- Crash!!!