[Dovecot] dovecot 2.2.10 & fts_lucene: Failed to initialize backend

Benjamin Podszun dar at darklajid.de
Thu Apr 3 10:13:49 UTC 2014


On Thursday, April 3, 2014 11:28:17 AM CEST, Peter Chiochetti wrote:
> Am 2014-04-03 11:18, schrieb Benjamin Podszun:
>> My problem: The lucene backend isn't working, I get this error whenever
>> I try to access it (be it doveadm fts or a search, triggering an index):
>> 
>> # doveadm fts rescan -u dar at darklajid.de
>> doveadm(dar at darklajid.de): Error: fts: Failed to initialize backend
>> 'lucene': Unknown backend
>  ...
>
> Ben, in the wiki it says, lucene has to be v2.1+
>
> Dont know enough of freebsd naming schemes, but to me this 
> looks like you only have lucene v1?
>
>> Shared Libs required:
>> libclucene-shared.so.1
>> libclucene-core.so.1

Thanks, good idea. But

--

# pkg info clucene
clucene-2.3.3.4_3
Name           : clucene
Version        : 2.3.3.4_3
Installed on   : Mon Mar 31 17:14:25 CEST 2014
Origin         : textproc/clucene
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : textproc
Licenses       : LGPL21 or APACHE20
Maintainer     : office at FreeBSD.org
WWW            : http://sourceforge.net/projects/clucene/
Comment        : CLucene is a C++ port of Lucene
Shared Libs provided:
	libclucene-shared.so.2.3.3.4
	libclucene-core.so.2.3.3.4
	libclucene-contribs-lib.so.2.3.3.4


# ls -l /usr/local/lib/libclucene*so
lrwxr-xr-x  1 root  wheel  28 Feb 13 11:03 
/usr/local/lib/libclucene-contribs-lib.so -> libclucene-contribs-lib.so.1
lrwxr-xr-x  1 root  wheel  20 Feb 13 11:03 
/usr/local/lib/libclucene-core.so -> libclucene-core.so.1
lrwxr-xr-x  1 root  wheel  22 Feb 13 11:03 
/usr/local/lib/libclucene-shared.so -> libclucene-shared.so.1

--

So the version should be fine I guess. On top of that: I hope that the port 
itself isn't broken (possible of course, but I'd rather expect the f-up in 
my installation/my configuration?).

Thanks,
Ben


More information about the dovecot mailing list