On Sun, 07 Aug 2011 13:13:05 +0200, Patrick Westenberg wrote:
Vincent Richomme schrieb:
I have tested and there is still an issue with mysql because I get the following error :
Aug 07 12:51:20 auth: Fatal: Unknown passdb driver 'mysql' Aug 07 12:51:20 master: Error: service(auth): command startup failed, throttling
It looks like you haven't compiled dovecot with mysql support.
dpkg-buildpackage -rfakeroot -b
sh configure --with-ldap=plugin
--with-ssl=openssl
--with-sql=plugin
--with-pgsql
--with-mysql
--with-sqlite
--with-gssapi=plugin
--with-ioloop=best
--host=i686-linux-gnu
--build=i686-linux-gnu
--prefix=/usr
--sysconfdir=/etc
--libexecdir=\${prefix}/lib
--localstatedir=/var
--mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info
--with-moduledir=\${prefix}/lib/dovecot/modules
--disable-rpath
--disable-static
...
checking for mysql_config... mysql_config
checking for mysql_init in -lmysqlclient... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking for mysql_ssl_set in -lmysqlclient... yes
...
Install prefix . : /usr
File offsets ... : 64bit
I/O polling .... : epoll
I/O notifys .... : inotify
SSL ............ : yes (OpenSSL)
GSSAPI ......... : plugin
passdbs ........ : static passwd passwd-file shadow pam checkpassword
ldap (plugin) sql
: -bsdauth -sia -vpopmail
userdbs ........ : static prefetch passwd passwd-file checkpassword
ldap (plugin) sql nss
: -vpopmail
SQL drivers .... : pgsql mysql sqlite (plugins)
The only weird lines are :
dpkg-shlibdeps: warning: dependency on librt.so.1 could be avoided if "debian/dovecot-mysql/usr/lib/dovecot/modules/libdriver_mysql.so" were not uselessly linked against it (they use none of its symbols). dpkg-shlibdeps: warning: debian/dovecot-sqlite/usr/lib/dovecot/modules/libdriver_sqlite.so contains an unresolvable reference to symbol sql_query_s: it's probably a plugin. dpkg-shlibdeps: warning: 15 other similar warnings have been skipped (use -v to see them all).
but not even sure it means there was an error during compilation.