Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'
Hello,
I have the following fatal error when I uncomment #!include auth-sql.conf.ext in .../conf.d/10-auth.conf
dovecot: auth: Fatal: Support not compiled in for passdb driver 'sql'
I have installed via 'pkg'. Do I have to install the ports tree to get sql support ?
Thanks, -Graham-
Yes, the defaults do not include DB support.
Larry Rosenman mail/dovecot maintainer
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/21/18, 11:25 AM, "dovecot on behalf of Graham S. Jarvis"
Hello,
I have the following fatal error when I uncomment #!include auth-sql.conf.ext
in .../conf.d/10-auth.conf
dovecot: auth: Fatal: Support not compiled in for passdb driver 'sql'
I have installed via 'pkg'.
Do I have to install the ports tree to get sql support ?
Thanks,
-Graham-
The problem from the FreeBSD perspective is that both MySQL and PostgreSQL are supported, but they are large. I might see if I can make flavors, but I won’t have time for that for a few weeks.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
From: "Graham S. Jarvis" gsjarvis@pt.lu Date: Saturday, July 21, 2018 at 12:08 PM To: Larry Rosenman larryrtx@gmail.com, Dovecot List dovecot@dovecot.org Subject: Re: Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'
OK, will do.
Feels like a big hammer for a small nut - has there been any discussion about having loadable modules?
Thanks for the quick reply!
Larry Rosenman wrote on 21/07/18 18:59:
Yes, the defaults do not include DB support.
Larry Rosenman
mail/dovecot maintainer
No rush - I installed ports and made the config with sql support and it all works now :)
I have the "freeBSD mentality" - only install what you need. Never mind, I don't think the ports have filled the disk ;) Who know's I might need something else one day. . .
Thanks again!
-Graham-
Larry Rosenman wrote on 21/07/18 19:12:
The problem from the FreeBSD perspective is that both MySQL and PostgreSQL are supported, but they are large. I might see if I can make flavors, but I won’t have time for that for a few weeks.
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
*From: *"Graham S. Jarvis" gsjarvis@pt.lu *Date: *Saturday, July 21, 2018 at 12:08 PM *To: *Larry Rosenman larryrtx@gmail.com, Dovecot List dovecot@dovecot.org *Subject: *Re: Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'
OK, will do.
Feels like a big hammer for a small nut - has there been any discussion about having loadable modules?
Thanks for the quick reply!
Larry Rosenman wrote on 21/07/18 18:59:
Yes, the defaults do not include DB support. Larry Rosenman mail/dovecot maintainer
Hello,
I was wondering if there was any progress on this.
I just upgraded a FreeBSD box and had the same issue again.
I keep (reasonably) good support notes so I found the one that said I had to install from ports - so all is well. I was just wondering if there was any news.
I look forward to hearing from you.
Thanks,
-Graham-
-- Sent from: http://dovecot.2317879.n4.nabble.com/
I've decided not to change the current behavior.
Get Outlook for Androidhttps://aka.ms/ghei36
From: dovecot dovecot-bounces@dovecot.org on behalf of gsjarvis gsjarvis@pt.lu Sent: Sunday, January 13, 2019 1:14:49 PM To: dovecot@dovecot.org Subject: Re: Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'
Hello,
I was wondering if there was any progress on this.
I just upgraded a FreeBSD box and had the same issue again.
I keep (reasonably) good support notes so I found the one that said I had to install from ports - so all is well. I was just wondering if there was any news.
I look forward to hearing from you.
Thanks,
-Graham-
-- Sent from: http://dovecot.2317879.n4.nabble.com/
On Sun, 13 Jan 2019 at 22:15, gsjarvis gsjarvis@pt.lu wrote:
Hello,
I was wondering if there was any progress on this.
I just upgraded a FreeBSD box and had the same issue again.
I keep (reasonably) good support notes so I found the one that said I had to install from ports - so all is well. I was just wondering if there was any news.
I look forward to hearing from you.
Thanks,
-Graham-
I have run RC versions and well as RELEASE versions on FreeBSD and I always
compile with (/opt path relative to version):
./configure
--prefix=/opt/dovecot2.3
--with-ioloop=kqueue
--with-notify=kqueue
--with-sql=yes
--with-mysql
--with-zlib
--with-bzlib
--with-ssl=openssl
gmake install
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
Ports has the options, I'm just not changing the defaults.
Get Outlook for Androidhttps://aka.ms/ghei36
From: dovecot dovecot-bounces@dovecot.org on behalf of Odhiambo Washington odhiambo@gmail.com Sent: Monday, January 14, 2019 3:47:43 AM To: gsjarvis Cc: Dovecot Mailing List Subject: Re: Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'
On Sun, 13 Jan 2019 at 22:15, gsjarvis
I was wondering if there was any progress on this.
I just upgraded a FreeBSD box and had the same issue again.
I keep (reasonably) good support notes so I found the one that said I had to install from ports - so all is well. I was just wondering if there was any news.
I look forward to hearing from you.
Thanks,
-Graham-
I have run RC versions and well as RELEASE versions on FreeBSD and I always compile with (/opt path relative to version):
./configure
--prefix=/opt/dovecot2.3
--with-ioloop=kqueue
--with-notify=kqueue
--with-sql=yes
--with-mysql
--with-zlib
--with-bzlib
--with-ssl=openssl
gmake install
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
So maybe we should tell the OP that he needs to:
cd /usr/ports/mail/dovecot make config [ select the MySQL option and save] make install clean.
[He's probably coming from Linux world to FreeBSD]
On Mon, 14 Jan 2019 at 13:25, Larry Rosenman larryrtx@gmail.com wrote:
Ports has the options, I'm just not changing the defaults.
Get Outlook for Android https://aka.ms/ghei36
*From:* dovecot dovecot-bounces@dovecot.org on behalf of Odhiambo Washington odhiambo@gmail.com *Sent:* Monday, January 14, 2019 3:47:43 AM *To:* gsjarvis *Cc:* Dovecot Mailing List *Subject:* Re: Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'
On Sun, 13 Jan 2019 at 22:15, gsjarvis gsjarvis@pt.lu wrote:
Hello,
I was wondering if there was any progress on this.
I just upgraded a FreeBSD box and had the same issue again.
I keep (reasonably) good support notes so I found the one that said I had to install from ports - so all is well. I was just wondering if there was any news.
I look forward to hearing from you.
Thanks,
-Graham-
I have run RC versions and well as RELEASE versions on FreeBSD and I always compile with (/opt path relative to version): ./configure
--prefix=/opt/dovecot2.3
--with-ioloop=kqueue
--with-notify=kqueue
--with-sql=yes
--with-mysql
--with-zlib
--with-bzlib
--with-ssl=openssl gmake install-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
participants (4)
-
Graham S. Jarvis
-
gsjarvis
-
Larry Rosenman
-
Odhiambo Washington