Updated mysql - dovecot fails
Andreas Westvik <[email protected]> Mon, 07 Sep 2009 19:54:14 +0200
| Newsgroups | gmane.mail.exim.vexim.devel |
|---|---|
| Message-ID | <C6CB1566.52%[email protected]> |
Yesterday I ran a full update using apt-get update and such. Now I got the option to update dovecot, but I believe that I choosed to leave the conf like before. But Im sure mysql got updated. Now, dovecot cannot connect to the mysql server. I thought that mysql would give me minimal with problems but.. (The rest of my stuff thats using mysql is working as normal, IE websites and such) This is what the logs are telling me: ==> /var/log/dovecot.log <== dovecot: Sep 06 12:52:48 Info: IMAP([email protected]): Disconnected: Logged out bytes=350/1001 dovecot: Sep 06 12:52:48 Info: IMAP([email protected]): Disconnected: Logged out bytes=115/973 dovecot: Sep 06 12:52:48 Info: IMAP([email protected]): Disconnected: Logged out bytes=875/4761 dovecot: Sep 06 13:40:49 Warning: Killed with signal 15 dovecot: Sep 06 13:40:50 Info: dovecot v1.1.16 starting up (core dumps disabled) dovecot: Sep 06 13:40:50 Error: auth-worker(default): mysql: Connect failed to localhost (vexim): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - waiting for 1 seconds before retry dovecot: Sep 06 13:40:50 Warning: Killed with signal 15 dovecot: Sep 06 13:40:50 Info: dovecot v1.1.16 starting up (core dumps disabled) dovecot: Sep 06 13:40:50 Error: auth-worker(default): mysql: Connect failed to localhost (vexim): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - waiting for 1 seconds before retry dovecot: Sep 06 13:40:51 Warning: Killed with signal 15 This is how dovecot-sql.conf is setup: driver = mysql connect = host=localhost dbname=vexim user=vexim password=mypasswd default_pass_scheme = PLAIN password_query = SELECT clear AS password FROM users,domains WHERE users.username = '%u' AND users.enabled = '1' AND us$ user_query = SELECT pop as home, uid, gid FROM users WHERE username = '%u' So where do I start to fix this? (Ok, mister Washington helped me last time to set up dovecot) :) -Andreas _______________________________________________ Vexim mailing list [email protected] http://silverwraith.com/mailman/listinfo/vexim