Webmail search not working

Discuss the Scalix web client

Moderators: ScalixSupport, admin

sgreen
Posts: 211
Joined: Tue Mar 03, 2009 1:23 pm
Location: Installs.com

Webmail search not working

Postby sgreen » Fri Sep 24, 2010 4:31 pm

I am running latest scalix on centos 5 and I have tried using sxmindex yet still searches in webmail never work.

LANG="en_US.UTF-8" so it is not that and I have also tried rebuilding the users imap-cache.

I get the WARNING Notification M(Notification M) 09.24.10 16:24:51
[SYS 11] Resource temporarily unavailable
-> nf_GetFileDir
<- nf_GetFileDir
<- nf_GetFileName
<- getClientFDs
<- /build/11.4.6/src/lib/nf/nf_flag.c:370[1,11]
<- nf_FlagNotif
-> nf_FlagNotif
-> getClientFDs
-> nf_GetFileName
-> nf_GetFileBaseName
<- nf_GetFileBaseName
-> nf_GetFileDir
<- nf_GetFileDir
<- nf_GetFileName
<- getClientFDs
<- /build/11.4.6/src/lib/nf/nf_flag.c:370[1,11]

Right about whenever a user runs a search.

The log shows
2010-09-24 13:07:52,943 FATAL [TP-Processor106] [SearchEngine.fetchResultsWithRefs:331] Could not get indexID from hit
java.io.IOException: Bad file descriptor
2010-09-24 13:07:52,966 ERROR [TP-Processor106] [WebUtil.errorResponse:63] Error in search engine
2010-09-24 16:26:46,186 WARN [TP-Processor10] [SearchEngine.search:77] Index for user 022d00007268c194-581.54.732.36 does not exist
2010-09-24 16:26:46,255 ERROR [TP-Processor10] [WebUtil.errorResponse:63] Error in search engine

sgreen
Posts: 211
Joined: Tue Mar 03, 2009 1:23 pm
Location: Installs.com

Re: Webmail search not working

Postby sgreen » Fri Oct 15, 2010 1:47 pm

The following steps might help:

1) stop the indexer
kill $(omsetsvc -p indexer)

2) make sure it is dead, if not wait a couple minutes and goto 1) but consider using -9
ps -ef | grep indexer

3) remove the indexwork and indexes dirs
rm -f /var/opt/scalix/??/indexes/*
rm -f /var/opt/scalix/??/s/indexwork/*

4) total reindex
sxmkindex -r 0


Depending on IO speed and email amount the last step could take days.

sgreen
Posts: 211
Joined: Tue Mar 03, 2009 1:23 pm
Location: Installs.com

Re: Webmail search not working

Postby sgreen » Fri Oct 15, 2010 2:56 pm

here is the wiki page on the subject
http://www.scalix.com/wiki/index.php?title=HowTos/RebuildIndex


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 4 guests

cron