[Dovecot] problems with 1.0beta[78] on RHEL3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I've been running 0.99.13 on RHEL 3 for over a year now and finally decided to upgrade to the 1.0 series.
unfortunately, I only have one RHEL 3 machine which is my production machine. So, while doing all my preliminary testing I was doing so on a FC 3 machine. I got everything to a stage where I felt comfortable doing the upgrade but I'm running into some problems on the RHEL 3 system.
if I download the tarball, it compiles without problem. If I download the cvs or the src.rpm then I get autoconf errors complaining about not supporting AC_CONFIG_HEADER but requiring AM_CONFIG_HEADER.
it also complains that the installed version of autoconf is too old, although it's the latest package for RHEL 3 (which means it has the same version number as the original installed package but all the updates are back-ported to it, right?)
anyways, that's all trivial as the source compiles. the problem I'm running into is this:
the quota plugin is returning the following errors in the mail log:
May 13 02:02:13 mail dovecot: POP3(real_user): dlopen(/usr/lib/dovecot/pop3/lib01_quota_plugin.so) failed: /usr/lib/dovecot/pop3/lib01_quota_plugin.so: undefined symbol: mount point_get
and also:
May 13 02:03:03 mail dovecot: IMAP(real_user): quotactl(Q_GETQUOTA, /dev/sdb1) failed: Invalid argument
can anyone offer any assistance with this?
oh yeah, one last thing. following the wiki, during the upgrade i renamed the .subscription files to subscription in each user's Maildir directory (oh yeah, i'm using maildir format) but, the subscription information wasn't persistant. anything else i need to be aware of related to that?
thanks
alan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEZMCtE2gsBSKjZHQRAjRVAKCPgSxLQzyJ7lrhCYBSxnVeTJixtgCaA8G5 NtAoCZZWpdetBLGQsA0llrU= =K+09 -----END PGP SIGNATURE-----
On Sat, 2006-05-13 at 02:06 +0900, alan premselaar wrote:
if I download the tarball, it compiles without problem. If I download the cvs or the src.rpm then I get autoconf errors complaining about not supporting AC_CONFIG_HEADER but requiring AM_CONFIG_HEADER.
Probably because you're trying to use automake 1.4, which is too old.
it also complains that the installed version of autoconf is too old, although it's the latest package for RHEL 3 (which means it has the same version number as the original installed package but all the updates are back-ported to it, right?)
2.57 is probably new enough for Dovecot, if you have that.
May 13 02:02:13 mail dovecot: POP3(real_user): dlopen(/usr/lib/dovecot/pop3/lib01_quota_plugin.so) failed: /usr/lib/dovecot/pop3/lib01_quota_plugin.so: undefined symbol: mount point_get
I forgot to add this workaround for POP3, since I originally forgot that quota plugin is actually useful with POP3 too. Fixed in: http://dovecot.org/list/dovecot-cvs/2006-May/005569.html
But that requires you to run automake again..
May 13 02:03:03 mail dovecot: IMAP(real_user): quotactl(Q_GETQUOTA, /dev/sdb1) failed: Invalid argument
And you really have quota enabled in that filesystem? I don't have quota enabled anywhere, so I haven't been able to test that it's really working, but the code looks that it matches the quotactl()'s man page..
oh yeah, one last thing. following the wiki, during the upgrade i renamed the .subscription files to subscription in each user's Maildir directory (oh yeah, i'm using maildir format) but, the subscription information wasn't persistant. anything else i need to be aware of related to that?
What do you mean wasn't persistant? That users had to subscribe again? That renaming should have worked..
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Timo Sirainen wrote:
On Sat, 2006-05-13 at 02:06 +0900, alan premselaar wrote:
if I download the tarball, it compiles without problem. If I download the cvs or the src.rpm then I get autoconf errors complaining about not supporting AC_CONFIG_HEADER but requiring AM_CONFIG_HEADER.
Probably because you're trying to use automake 1.4, which is too old.
RHEL 3 apparently has 3 versions of automake RPMS installed:
automake14-1.4p6-6 automake15-1.5-7 automake-1.6.3-5
(which one should I keep?)
it also complains that the installed version of autoconf is too old, although it's the latest package for RHEL 3 (which means it has the same version number as the original installed package but all the updates are back-ported to it, right?)
2.57 is probably new enough for Dovecot, if you have that.
autoconfig213-2.13-6 autoconf-2.57.3
(it's apparently finding 2.57 because it reported something about needing 2.59 and only having 2.57)
May 13 02:02:13 mail dovecot: POP3(real_user): dlopen(/usr/lib/dovecot/pop3/lib01_quota_plugin.so) failed: /usr/lib/dovecot/pop3/lib01_quota_plugin.so: undefined symbol: mount point_get
I forgot to add this workaround for POP3, since I originally forgot that quota plugin is actually useful with POP3 too. Fixed in: http://dovecot.org/list/dovecot-cvs/2006-May/005569.html
But that requires you to run automake again..
May 13 02:03:03 mail dovecot: IMAP(real_user): quotactl(Q_GETQUOTA, /dev/sdb1) failed: Invalid argument
And you really have quota enabled in that filesystem? I don't have quota enabled anywhere, so I haven't been able to test that it's really working, but the code looks that it matches the quotactl()'s man page..
yes, i really have quota enabled on that filesystem could it be that the raw device name (/dev/sdb1) doesn't show up in /etc/fstab? I have an entry like this:
LABEL=/home /home ext3 defaults,usrquota,grpquota 1 2
oh yeah, one last thing. following the wiki, during the upgrade i renamed the .subscription files to subscription in each user's Maildir directory (oh yeah, i'm using maildir format) but, the subscription information wasn't persistant. anything else i need to be aware of related to that?
What do you mean wasn't persistant? That users had to subscribe again? That renaming should have worked..
yes, exactly, had to subscribe again. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEZNIiE2gsBSKjZHQRAldmAKCw0obse7jXCo4CX5aQS9bTCyq5VwCgv+M/ O7wnozQP/r2nixh1MiepmyU= =pN0P -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Just to follow up on my own post...
alan premselaar wrote:
Timo Sirainen wrote:
On Sat, 2006-05-13 at 02:06 +0900, alan premselaar wrote:
if I download the tarball, it compiles without problem. If I download the cvs or the src.rpm then I get autoconf errors complaining about not supporting AC_CONFIG_HEADER but requiring AM_CONFIG_HEADER. Probably because you're trying to use automake 1.4, which is too old.
RHEL 3 apparently has 3 versions of automake RPMS installed:
automake14-1.4p6-6 automake15-1.5-7 automake-1.6.3-5
I did a 'find / -name "automake*"' and it appears that the system is using automake 1.6.3.
(which one should I keep?)
it also complains that the installed version of autoconf is too old, although it's the latest package for RHEL 3 (which means it has the same version number as the original installed package but all the updates are back-ported to it, right?) 2.57 is probably new enough for Dovecot, if you have that.
autoconfig213-2.13-6 autoconf-2.57.3
same with autoconf ... 2.57
(it's apparently finding 2.57 because it reported something about needing 2.59 and only having 2.57)
May 13 02:02:13 mail dovecot: POP3(real_user): dlopen(/usr/lib/dovecot/pop3/lib01_quota_plugin.so) failed: /usr/lib/dovecot/pop3/lib01_quota_plugin.so: undefined symbol: mount point_get I forgot to add this workaround for POP3, since I originally forgot that quota plugin is actually useful with POP3 too. Fixed in: http://dovecot.org/list/dovecot-cvs/2006-May/005569.html
But that requires you to run automake again..
May 13 02:03:03 mail dovecot: IMAP(real_user): quotactl(Q_GETQUOTA, /dev/sdb1) failed: Invalid argument And you really have quota enabled in that filesystem? I don't have quota enabled anywhere, so I haven't been able to test that it's really working, but the code looks that it matches the quotactl()'s man page..
yes, i really have quota enabled on that filesystem could it be that the raw device name (/dev/sdb1) doesn't show up in /etc/fstab? I have an entry like this:
LABEL=/home /home ext3 defaults,usrquota,grpquota 1 2
I tried changing the fstab entry to be /dev/sdb1 and rebooting to see if this had any impact, and it didn't.
oh yeah, one last thing. following the wiki, during the upgrade i renamed the .subscription files to subscription in each user's Maildir directory (oh yeah, i'm using maildir format) but, the subscription information wasn't persistant. anything else i need to be aware of related to that? What do you mean wasn't persistant? That users had to subscribe again? That renaming should have worked..
yes, exactly, had to subscribe again.
i double checked file permissions on this, and everything looks ok.
/home/<user>/Maildir/subscriptions and /home/<user>/Maildir/dovecot-keywords both have the following permissions:
- -rw------- <user> <group>
which coincides with the permissions on the .subscriptions and .customflags files -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEZo+0E2gsBSKjZHQRAlTMAKC1RdiQTDDcFRStoabPEmI27XjGqgCgsPNc brufgHfHpHs1P9DoRvyTFg8= =xtpX -----END PGP SIGNATURE-----
participants (2)
-
alan premselaar
-
Timo Sirainen