[Dovecot] auth: Fatal: Unknown passdb driver 'mysql'
Vaidas Jablonskis
jablonskis at gmail.com
Mon Aug 30 10:18:03 EEST 2010
Hi People,
I am setting up a new dovecot server for testing first prior production
upgrade from 1.2.x to 2.0.x.
I used the RPMs from ATrpms: dovecot-2.0.0-1_117.el5.x86_64.rpm
The errors I am getting:
-----------------------------
Aug 27 18:15:29 testbox dovecot: auth: Debug: Loading modules from
directory: /usr/lib64/dovecot/auth
Aug 27 18:15:29 testbox dovecot: auth: Debug: Module loaded:
/usr/lib64/dovecot/auth/libauthdb_ldap.so
Aug 27 18:15:29 testbox dovecot: auth: Debug: Module loaded:
/usr/lib64/dovecot/auth/libdriver_mysql.so
Aug 27 18:15:29 testbox dovecot: auth: Debug: Module loaded:
/usr/lib64/dovecot/auth/libdriver_pgsql.so
Aug 27 18:15:29 testbox dovecot: auth: Debug: Module loaded:
/usr/lib64/dovecot/auth/libdriver_sqlite.so
Aug 27 18:15:29 testbox dovecot: auth: Debug: Module loaded:
/usr/lib64/dovecot/auth/libmech_gssapi.so
Aug 27 18:15:29 testbox dovecot: auth: Fatal: Unknown passdb driver 'mysql'
Aug 27 18:15:29 testbox dovecot: master: Error: service(auth): command
startup failed, throttling
Aug 27 18:15:59 testbox dovecot: imap-login: Error: Timeout waiting for
handshake from auth server. my pid=4323, input bytes=0
------------------------------
# dovecot --build-options
Build options: ioloop=epoll notify=inotify ipv6 openssl io_block_size=8192
Mail storages: cydir maildir mbox mdbox raw sdbox shared
SQL driver plugins: mysql postgresql sqlite
Passdb: checkpassword ldap pam passwd passwd-file shadow sql
Userdb: checkpassword ldap(plugin) nss passwd prefetch passwd-file sql
# ls -l /usr/lib64/dovecot/*sql*
-rwxr-xr-x 1 root root 15704 Aug 20 16:51
/usr/lib64/dovecot/libdriver_mysql.so
-rwxr-xr-x 1 root root 21464 Aug 20 16:51
/usr/lib64/dovecot/libdriver_pgsql.so
-rwxr-xr-x 1 root root 11848 Aug 20 16:51
/usr/lib64/dovecot/libdriver_sqlite.so
It is clearly seen that mysql drivers are installed and being loaded during
dovecot startup.
-----------------------
/etc/dovecot/conf.d/auth-sql.conf.ext
passdb {
driver = mysql
args = /etc/dovecot/dovecot-sql.conf.ext
}
userdb {
driver = prefetch
}
userdb {
driver = mysql
args = /etc/dovecot/dovecot-sql.conf.ext
}
-------------------------
Any ideas what else could be wrong?
Thanks,
Vaidas
More information about the dovecot
mailing list