Hello,
i installed dovecot 2.11.1 on ubuntu Linux dadd3041 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:07:11 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
To make it clear, architecture is PowerPC 64bit Then i installed dovecot via apt-get. But the file /usr/lib/dovecot/modules/auth/libdriver_mysql.so is missing.
So i compiled dovecot myself on this system and got a file /usr/lib/dovecot/modules/auth/libdriver_mysql.so
Then i restartetd the server and try to do a login via a webmailer (roundcube), but i get no connection to the database server.
This is found in /var/log/mail.log Mar 11 15:19:04 dadd3041 dovecot: master: Dovecot v2.2.9 starting up (core dumps disabled) Mar 11 15:19:04 dadd3041 postfix/master[3367]: reload -- version 2.11.1, configuration /etc/postfix Mar 11 15:19:04 dadd3041 postfix/master[3367]: terminating on signal 15 Mar 11 15:19:04 dadd3041 postfix/master[3597]: daemon started -- version 2.11.1, configuration /etc/postfix Mar 11 15:19:25 dadd3041 dovecot: auth: Error: dlopen(/usr/lib/dovecot/modules/auth/libdriver_mysql.so) failed: /usr/lib/dovecot/modules/auth/libdriver_mysql.so: wrong ELF class: ELFCLASS32 Mar 11 15:19:25 dadd3041 dovecot: auth: Fatal: Unknown database driver 'mysql' Mar 11 15:19:25 dadd3041 dovecot: master: Error: service(auth): command startup failed, throttling for 2 secs Mar 11 15:19:25 dadd3041 dovecot: imap-login: Disconnected: Auth process broken (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, TLS handshaking, session=<rJpS9AMR9wAAAAAAAAAAAAAAAAAAAAAB>
I know this means it is not a 64bit object but how could i achieve to get right one?
best regards, kaniggl
Am 11.03.2015 um 15:37 schrieb kaniggl:
To make it clear, architecture is PowerPC 64bit Then i installed dovecot via apt-get. But the file /usr/lib/dovecot/modules/auth/libdriver_mysql.so is missing.
install the sub-package "dovecot-mysql" and the next time *ask before* you ruin your system
So i compiled dovecot myself on this system and got a file /usr/lib/dovecot/modules/auth/libdriver_mysql.so
stupid idea, i guess without install the package proper
Mar 11 15:19:25 dadd3041 dovecot: auth: Error: dlopen(/usr/lib/dovecot/modules/auth/libdriver_mysql.so) failed: /usr/lib/dovecot/modules/auth/libdriver_mysql.so: wrong ELF class: ELFCLASS32 Mar 11 15:19:25 dadd3041 dovecot: auth: Fatal: Unknown database driver 'mysql'
likely the result of mix package and self compile instead use google https://packages.debian.org/de/sid/dovecot-mysql
of course i installed dovecot-mysql before, but no file libdriver_msql.so was in there
2015-03-11 15:41 GMT+01:00 Reindl Harald <h.reindl@thelounge.net>:
Am 11.03.2015 um 15:37 schrieb kaniggl:
To make it clear, architecture is PowerPC 64bit Then i installed dovecot via apt-get. But the file /usr/lib/dovecot/modules/auth/libdriver_mysql.so is missing.
install the sub-package "dovecot-mysql" and the next time *ask before* you ruin your system
So i compiled dovecot myself on this system and got a file
/usr/lib/dovecot/modules/auth/libdriver_mysql.so
stupid idea, i guess without install the package proper
Mar 11 15:19:25 dadd3041 dovecot: auth: Error:
dlopen(/usr/lib/dovecot/modules/auth/libdriver_mysql.so) failed: /usr/lib/dovecot/modules/auth/libdriver_mysql.so: wrong ELF class: ELFCLASS32 Mar 11 15:19:25 dadd3041 dovecot: auth: Fatal: Unknown database driver 'mysql'
likely the result of mix package and self compile instead use google https://packages.debian.org/de/sid/dovecot-mysql
Am 11.03.2015 um 15:43 schrieb kaniggl:
of course i installed dovecot-mysql before, but no file libdriver_msql.so was in there
i doubt that you are the only person using debian with dovecot and mysql
however, that's not a dovecot question ask on your OS list how to fix your ruined setup
2015-03-11 15:41 GMT+01:00 Reindl Harald <h.reindl@thelounge.net>:
Am 11.03.2015 um 15:37 schrieb kaniggl:
To make it clear, architecture is PowerPC 64bit Then i installed dovecot via apt-get. But the file /usr/lib/dovecot/modules/auth/libdriver_mysql.so is missing.
install the sub-package "dovecot-mysql" and the next time *ask before* you ruin your system
So i compiled dovecot myself on this system and got a file
/usr/lib/dovecot/modules/auth/libdriver_mysql.so
stupid idea, i guess without install the package proper
Mar 11 15:19:25 dadd3041 dovecot: auth: Error:
dlopen(/usr/lib/dovecot/modules/auth/libdriver_mysql.so) failed: /usr/lib/dovecot/modules/auth/libdriver_mysql.so: wrong ELF class: ELFCLASS32 Mar 11 15:19:25 dadd3041 dovecot: auth: Fatal: Unknown database driver 'mysql'
likely the result of mix package and self compile instead use google https://packages.debian.org/de/sid/dovecot-mysql
On Wed, Mar 11, 2015 at 03:37:48PM +0100, kaniggl wrote:
Hello,
i installed dovecot 2.11.1 on ubuntu Linux dadd3041 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:07:11 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
To make it clear, architecture is PowerPC 64bit Then i installed dovecot via apt-get. But the file /usr/lib/dovecot/modules/auth/libdriver_mysql.so is missing.
According to https://launchpad.net/ubuntu/+source/dovecot, Ubuntu is still on Dovecot 2.2.9. According to http://dovecot.org/, upstream is only at 2.2.15. Where did you find dovecot version 2.11.1 and can you tell us the Lotto numbers, please?
Try "dpkg -L dovecot-mysql" to list files installed by the dovecot-mysql package.
So i compiled dovecot myself on this system and got a file /usr/lib/dovecot/modules/auth/libdriver_mysql.so
Then i restartetd the server and try to do a login via a webmailer (roundcube), but i get no connection to the database server.
This is found in /var/log/mail.log Mar 11 15:19:04 dadd3041 dovecot: master: Dovecot v2.2.9 starting up (core dumps disabled) Mar 11 15:19:04 dadd3041 postfix/master[3367]: reload -- version 2.11.1, configuration /etc/postfix Mar 11 15:19:04 dadd3041 postfix/master[3367]: terminating on signal 15 Mar 11 15:19:04 dadd3041 postfix/master[3597]: daemon started -- version 2.11.1, configuration /etc/postfix Mar 11 15:19:25 dadd3041 dovecot: auth: Error: dlopen(/usr/lib/dovecot/modules/auth/libdriver_mysql.so) failed: /usr/lib/dovecot/modules/auth/libdriver_mysql.so: wrong ELF class: ELFCLASS32 Mar 11 15:19:25 dadd3041 dovecot: auth: Fatal: Unknown database driver 'mysql' Mar 11 15:19:25 dadd3041 dovecot: master: Error: service(auth): command startup failed, throttling for 2 secs Mar 11 15:19:25 dadd3041 dovecot: imap-login: Disconnected: Auth process broken (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, TLS handshaking, session=<rJpS9AMR9wAAAAAAAAAAAAAAAAAAAAAB>
I know this means it is not a 64bit object but how could i achieve to get right one?
best regards, kaniggl
participants (3)
-
Darac Marjal
-
kaniggl
-
Reindl Harald