xapian problems

"Gabriele Bulfon via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <1266361625.6718.1622714018473@www>
Hi,
 
now that I have upgraded a cloned test machine to cyrus 3.4.1 with latest squatter running fine, I'm trying to switch to Xapian.
I have all previous squatter files in place, changed imapd.conf with these:

#search_engine: squat
conversations: 1
sync_log: on
sync_log_channels: squatter
search_engine: xapian
search_index_headers: no
search_batchsize: 8192
defaultpartition: default
defaultsearchtier: t1
t1searchpartition-default: /sonicle/var/cyrus/search
#debug: 0
#chatty: 0
 
Then restarted cyrus.
 
If I now run a "squatter -v -i -s60 -a" everything i skipped, though I expected a first complete indexing on the new t1 partition.
So I ran "sqatter -v" to index all, but I get an error:
 
sonicle@wwwclone:/sonicle/etc$ squatter -v
Indexing mailbox user/[email protected]...
Indexing mailbox user/[email protected]...
Indexing mailbox user/[email protected]... terminate called after throwing an instance of 'Xapian::DatabaseNotFoundError'
Abort (core dumped)
 
the same error also trying to index some selected mailboxes.
Here is the output of "mdb core":
 
sonicle@wwwclone:/sonicle/etc$ mdb core
Loading modules: [ libc.so.1 ld.so.1 ]
> $C
ffffdf7fffdfea30 libc.so.1`_lwp_kill+0xa()
ffffdf7fffdfea60 libc.so.1`raise+0x20(6)
ffffdf7fffdfeab0 libc.so.1`abort+0x98()
ffffdf7fffdfeb00 0xffffdf7fdae3f7a3()
ffffdf7fffdfeb30 libstdc++.so.6.0.13`_ZN10__cxxabiv111__terminateEPFvvE+0x15()
ffffdf7fffdfeb40 libstdc++.so.6.0.13`_ZN10__cxxabiv112__unexpectedEPFvvE()
ffffdf7fffdfeb70 0xffffdf7fd8c6e9a1()
ffffdf7fffdfeda0 libxapian-1.5.so.0.0.0`_ZN12GlassVersion4readEv+0x25c()
ffffdf7fffdfede0 libxapian-1.5.so.0.0.0`_ZN13GlassDatabase11open_tablesEi+0x56()
ffffdf7fffdfee60 libxapian-1.5.so.0.0.0`_ZN13GlassDatabaseC1ERKSsij+0x450()
ffffdf7fffdfeed0 libxapian-1.5.so.0.0.0`_ZN21GlassWritableDatabaseC1ERKSsii+0x2f()
ffffdf7fffdff0d0 libxapian-1.5.so.0.0.0`_ZN6Xapian16WritableDatabaseC1ERKSsii+0x69c()
ffffdf7fffdff220 libcyrus_imap.so.0.0.0`xapian_dbw_open+0xd3()
ffffdf7fffdff260 libcyrus_imap.so.0.0.0`end_message_update+0x7c()
ffffdf7fffdff380 libcyrus_imap.so.0.0.0`index_getsearchtext+0x801()
ffffdf7fffdff3e0 libcyrus_imap.so.0.0.0`flush_batch+0xf8()
ffffdf7fffdff460 libcyrus_imap.so.0.0.0`search_update_mailbox+0x1d3()
ffffdf7fffdff8d0 index_one+0x463()
ffffdf7fffdff900 do_indexer+0x7e()
ffffdf7fffdff9c0 main+0x776()
ffffdf7fffdff9d0 _start+0x6c()
 
What may have happened?
Is there any initialization I should run for xapian?
 
Gabriele
 
 
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
 


------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T2283fae2a8d66d65-Mb3702303a3bf66772122659f
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.