can't create index (scalix 11.0.4)

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

newbiez
Posts: 20
Joined: Tue Apr 10, 2007 2:53 am

can't create index (scalix 11.0.4)

Postby newbiez » Tue May 15, 2007 5:25 am

hi..

I have problem with indexing in the scalix. if I check /var/opt/scalix/??/ there is no directory name 'indexes'. if I execute sxmkindex, seems everything is normal:

Code: Select all

sxadmin /test1:    No SIS URL for this user
sxqueryadmin /test1: 0
user1 /test1:    No SIS URL for this user
user2 /test1: 0
user3 /MYHOST: 42
realuser1 /MYHOST: 5419
realuser2 /MYHOST: 3
realuser3 /MYHOST: 1893
+Bulletin Boards: 0
Total messages processed: 7357


I have tried to create the directory manually and then execute sxmkindex, but still the index is not created. and sxsearch surely doesn't return any result.

anyone can help? thank u [/code]

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue May 15, 2007 8:10 am

Hi!

Can you run the Scalix installer to re-configure the following components:
Scalix Search and Index
Scalix Messaging Services
Scalix DB

Thanks,
Subir

newbiez
Posts: 20
Joined: Tue Apr 10, 2007 2:53 am

Postby newbiez » Wed May 16, 2007 12:23 am

hi Subir,

I've re-configured the components:
Scalix Search and Index
Scalix Messaging Services
Scalix DB

then I again execute the command sxmkindex. The result is the same as before.
btw, I noticed that in the directory /var/opt/scalix/xx/s/indexwork there are so many files like 1179224692.0, 1179230405.0, etc.. , HEARTBEAT, notify. is it normal or not?

thanks.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed May 16, 2007 2:36 am

Hi!

What are the values for the following in /var/opt/scalix/??/webmail/swa.properties file:
swa.soap.soapRequestTimeout=
swa.platform.url=
swa.search.maxresults=
swa.user.locale=

If SIS is installed on a different machine, edit the following lines in the file, ~sys/general.cfg:
USRL_SIS_URL=sxidx://<FQDN:port>/%u
USRL_BB_SIS_URL=sxidx://<FQDN:port>/BB@<fqdn>
Where FQDN is the host that SIS is install on, and the port is optional, but almost always
is 80. Restart SIS Tomcat and make sure it's initialized.

What is the value for the following in /var/opt/scalix/??/sis/sis.properties file:
index.max.queue.size=
search.max.results=
index.language=

Do the following have similar values in file /var/opt/scalix/??/sis/sis.properties:
search.client.whitelist=
index.client.whitelist=

Thanks,
Subir

newbiez
Posts: 20
Joined: Tue Apr 10, 2007 2:53 am

Postby newbiez » Wed May 16, 2007 3:58 am

hi subir,

/var/opt/scalix/??/webmail/swa.properties

Code: Select all

swa.soap.soapRequestTimeout=60
swa.platform.url=http://mydomain.com/api
swa.search.maxresults=100
swa.user.locale=ja_JP


SIS is installed on the same machine.

/var/opt/scalix/??/sis/sis.properties file:

Code: Select all

index.max.queue.size=10000
search.max.results=10000
index.language=English


for the following are left empty. Before it is empty, I also have tried to set it with the server ip address and 127.0.0.1 (same value for both)
search.client.whitelist=
index.client.whitelist=

I'm wondering is there any thing related with the language? since the server is japanese. but, there's another japanese server which also running scalix and the indexing can run well.

thanks.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed May 16, 2007 6:48 am

Hi!

Can you compare the values I asked in the previous post with the values set in the other
server that is japanese.

Set swa.search.maxresults=10000 in your /var/opt/scalix/??/webmail/swa.properties file
and restart scalix-tomcat service, see if search works.

Check the following bug, where SWA search did not work with Locale set to German,
however this has been resolved:
http://bugzilla.scalix.com/show_bug.cgi?id=14325
make sure that you check out the locale settings mentioned in the bug comments.

For the users who do not have SIS URL, use the following commands to create SIS URL
for them:

Code: Select all

ommodu -o <username>/<mailnode> --index none
ommodu -o <username>/<mailnode> --index auto

Note: <username>/<mailnode> is username and mailnode for the user in question.
Run command sxmkindex now try searching again.

See if this helps.

Thanks,
Subir

metalchaos

Postby metalchaos » Thu May 17, 2007 1:34 am

Hi

I too have this problem. Clean install of 11.0.4 on clean CentOS. The indexes directory is not created and search is not working

scalix-sis-indexer.log:

Code: Select all

2007-05-17 08:21:39,431  INFO [main] [SISConfig.init:46] Starting Scalix Search and Index Service (SIS) version 11.0.4.25
2007-05-17 08:21:39,431  INFO [main] [SISConfig.loadConfigFromFile:131] SIS Indexer configuration loaded from file /var/opt/scalix/rs/sis/sis.properties
2007-05-17 08:21:39,438  INFO [main] [SISConfig.init:89] Index root is /var/opt/scalix/rs/indexes
2007-05-17 08:21:39,451  INFO [main] [SISConfig.load:32] SIS initialized and ready for indexing


swa.properties:

Code: Select all

swa.soap.soapRequestTimeout=60
swa.platform.url=http://<FQDN>/api
swa.search.maxresults=200
swa.user.locale=en_GB


sis.properties:

Code: Select all

index.max.queue.size=200
search.max.results=200
index.language=English

search.client.whitelist=127.0.0.1, <public ip>
index.client.whitelist=127.0.0.1, <public ip>

Everyuser has a SIS URL:
omshowu -n alexandru
...
SIS URL : sxidx://<FQDN>/0f400000b60e5464-4.701.43.98

So what to do? I should mention that the HTTP port used is 8080 not 80.... does this affects in any way?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu May 17, 2007 3:02 am

Hi metalchaos!

Run the command "sxmkindex -r 00:00:00", what summary do you get similar to the
one below:
Total messages processed: 1264

Thanks,
Subir

metalchaos

Postby metalchaos » Thu May 17, 2007 4:06 am

Yes, sxmkindex works and I do get something like that.

And I've done something else... I've put in general.cfg:
USRL_SIS_URL=sxidx://<FQDN>:8080/%u
USRL_BB_SIS_URL=sxidx://<FQDN>:8080>/BB@<FQDN>
restarted tomcat and
ommodu -o <username>/<mailnode> --index auto

Now the SIS URL is SIS URL : sxidx://<FQDN>:8080/0f400000b60e5464-4.701.43.98 and this index is created for user alexandru but search still is not working and I get

Code: Select all

ERROR [TP-Processor38] [SearchEngine.search:51] Index for user 0f400000b60e5464-4.701.43.98 does not exist
ERROR [TP-Processor38] [WebUtil.errorResponse:63] Error in search engine
ERROR [TP-Processor36] [SearchEngine.search:51] Index for user 0f400000b60e5464-4.701.43.98 does not exist
ERROR [TP-Processor36] [WebUtil.errorResponse:63] Error in search engine

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu May 17, 2007 5:36 am

Hi metalchaos!

Create indexes for user "alexandru" using command "sxmkindex -r 00:00:00 alexandru"
to stop the error message "Index for user 0f400000b60e5464-4.701.43.98 does not exist".

In my previous post, I aksed, when you ran the command sxmkindex for all users what
value you got for "Total messages processed", this value would indicate the number of
search results that SIS is generating, this might be getting restricted due to the values set
for "swa.search.maxresults" in file swa.properties currently set to 200 files, and also in
sis.properties file "index.max.queue.size" and "search.max.results" are restricting search to
200, these values need to be edited accordingly and on restarting scalix-tomcat, search
should work fine.

Thanks,
Subir

metalchaos

Postby metalchaos » Thu May 17, 2007 6:22 am

I get
...
+Bulletin Boards: No SIS URL for the Public Folders
0
Total messages processed: 5072

I raised the limit to 200000 but nothing has changed.
sxmkindex -r 00:00:00 alexandru does nothing

I've put back
USRL_SIS_URL=sxidx://<FQDN>:8080/%u
USRL_BB_SIS_URL=sxidx://<FQDN>:8080>/BB@<FQDN>

and ran ommodu -o alexandru/<mailnode> --index auto and I got
INFO [TP-Processor40] [InternalAdminServlet.doGet:65] Index for userID 01500000b60e5464-4.701.43.98 does not exist
Indexes folder also doesn't exist

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu May 17, 2007 7:19 am

Hi!

Following the sequence would be important.

Every time you run "ommodu -o alexandru/<mailnode> --index auto" a new SIS URL
would be allocated to the user, so since you have run once now do not run it again for
user "alexandru".

Entries in the file general.cfg,
USRL_SIS_URL=sxidx://<FQDN>:8080/%u
USRL_BB_SIS_URL=sxidx://<FQDN>:8080>/BB@<FQDN>
are required when SIS is installed on a machine other than the Scalix Server. So, if all
the Scalix components are installed in just one machine remove these entries from
general.cfg file.

Change the limit from 200000 to 10000, this should be enough, and restart scalix-tomcat
service.

Now, try recreating index for alexandru, using command "sxmkindex -r 00:00:00
alexandru". Reply to me what happens does searching work.

Thanks,
Subir

metalchaos

Postby metalchaos » Thu May 17, 2007 7:47 am

ok, I've done everything you said... there are no errors, but it's not working and the indexes directory is not created. I even created a new user... same thing.

I've put those entries in general.cfg because I thought I needed to, since I've change the port.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu May 17, 2007 8:07 am

Hi!

Scalix 11 onwards, 8080 was not required to be used with the server name. For web
access port 80 is being used. Check the file, for VirtualHost settings:
/etc/opt/scalix-tomcat/connector/jk/instance-<server-hostname>.conf

Thanks,
Subir

metalchaos

Postby metalchaos » Thu May 17, 2007 8:20 am

I've configure scalix with port 8080 because I wanted so... 80 is required for another service.


Return to “Installation”



Who is online

Users browsing this forum: Bing [Bot] and 10 guests