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

2011-12-12 Thread A Dovecot User
Over the weekend I updated the OS on the machine in question to Fedora
15, which should have updated libcurl in the process, and I'm still
getting the same error message. I also moved Solr to another server
instead of trying to use it on the local box, but that didn't seem to
make a difference.


On 12/07/2011 11:22 PM, Timo Sirainen wrote:
 On Fri, 2011-12-02 at 12:47 -0600, A Dovecot User wrote:
 [root@mymailserver ~]# doveadm -D index -u username mailbox inbox
 The mailbox isn't necessary above.

 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)
 This happens every time? It can't index any mails at all? Have you tried
 with Dovecot v2.0?

 I can't reproduce it. Anyway I guess either I'm using libcurl wrong
 somehow, or there's a bug in libcurl..




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

2011-12-08 Thread A Dovecot User
It happens every time. Also, I just recompiled for version 2.0.16 and it
gives me the same error (pasted below). I'll be updating the OS on this
machine soon, which will update libcurl as well.

Panic: file solr-connection.c: line 501 (solr_connection_post_more):
assertion failed: (maxfd = 0)
Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x3aa41)
[0xbd5a41] -
/usr/local/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x47)
[0xbd5b57] - /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xbab8de]
-
/usr/local/lib/dovecot/lib21_fts_solr_plugin.so(solr_connection_post_more+0x293)
[0x191d53] - /usr/local/lib/dovecot/lib21_fts_solr_plugin.so(+0x2723)
[0x18f723] -
/usr/local/lib/dovecot/lib20_fts_plugin.so(fts_backend_build_more+0x1f)
[0x45d2ff] - /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x5515)
[0x460515] - /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x5928)
[0x460928] -
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_deinit+0x3a)
[0xf3d03a] -
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x55)
[0xf3d0f5] - doveadm() [0x805184d] - doveadm() [0x804ef55] -
doveadm(doveadm_mail_single_user+0x5b) [0x804f3ab] - doveadm() [0x804f813]
- doveadm(doveadm_mail_try_run+0x12e) [0x804fc6e] - doveadm(main+0x3a4)
[0x8055b64] - /lib/libc.so.6(__libc_start_main+0xe6) [0x729e36] -
doveadm() [0x804ed61]


On Thu, 08 Dec 2011 07:22:22 +0200, Timo Sirainen t...@iki.fi wrote:
 On Fri, 2011-12-02 at 12:47 -0600, A Dovecot User wrote:
 [root@mymailserver ~]# doveadm -D index -u username mailbox inbox
 
 The mailbox isn't necessary above.
 
 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)
 
 This happens every time? It can't index any mails at all? Have you tried
 with Dovecot v2.0?
 
 I can't reproduce it. Anyway I guess either I'm using libcurl wrong
 somehow, or there's a bug in libcurl..


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

2011-12-07 Thread Timo Sirainen
On Fri, 2011-12-02 at 12:47 -0600, A Dovecot User wrote:
 [root@mymailserver ~]# doveadm -D index -u username mailbox inbox

The mailbox isn't necessary above.

 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)

This happens every time? It can't index any mails at all? Have you tried
with Dovecot v2.0?

I can't reproduce it. Anyway I guess either I'm using libcurl wrong
somehow, or there's a bug in libcurl..




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

2011-12-03 Thread A Dovecot User
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@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/
}