[Dovecot] Panic when attempting index with Apache Solr : fts_solr plugin

A Dovecot User dovecot at digitalforplay.com
Fri Dec 2 20:47:16 EET 2011


Dovecot version: 2.1.rc1
Expat version: expat-2.0.1-10
Libcurl version: libcurl-7.21.0-10
OS: Fedora 14 i686

Configure command: ./configure --with-solr

Solr version: 1.4.1 (also tried 3.5.0)
Java version: java-1.6.0-openjdk-1.6.0.0-55.1.9.10 (also tried Oracle
Java 6u29)

[root at mymailserver ~]# doveadm -D index -u username mailbox inbox

doveadm(username): Info: INBOX: Caching mails seq=1..466
doveadm(username): Panic: file solr-connection.c: line 545
(solr_connection_post_more): assertion failed: (maxfd >= 0)
doveadm(username): Error: Raw backtrace:
/usr/local/lib/dovecot/libdovecot.so.0(+0x3b9b1) [0x14b9b1] ->
/usr/local/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x47)
[0x14bac7] -> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x1211ae] ->
/usr/local/lib/dovecot/lib21_fts_solr_plugin.so(solr_connection_post_more+0x293)
[0xb1a7d3] -> /usr/local/lib/dovecot/lib21_fts_solr_plugin.so(+0x2599)
[0xb16599] ->
/usr/local/lib/dovecot/lib20_fts_plugin.so(fts_backend_update_build_more+0x31)
[0x2273f1] ->
/usr/local/lib/dovecot/lib20_fts_plugin.so(fts_build_mail+0x3b2)
[0x228272] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0xa74e)
[0x22d74e] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(mail_precache+0xf)
[0x937a6f] -> doveadm() [0x80520b6] -> doveadm() [0x804f4b5] ->
doveadm(doveadm_mail_single_user+0x5b) [0x804f8db] -> doveadm()
[0x804fd3f] -> doveadm(doveadm_mail_try_run+0x12e) [0x805019e] ->
doveadm(main+0x3a4) [0x8056444] ->
/lib/libc.so.6(__libc_start_main+0xe6) [0x729e36] -> doveadm() [0x804f2c1]

----------------------
mail_plugins = acl antispam fts fts_solr

plugin {
  fts = solr
  fts_solr = break-imap-search debug url=http://127.0.0.1:8983/solr/
}







More information about the dovecot mailing list