Page 1 of 1

Internet Mail Gateway Stops

Posted: Thu Sep 20, 2007 4:11 am
by gonenc
Hello,

I have installed Scalix on an OpenSuse 10.1 64 bit AMD machine. Everything seems to work ok, but when I try to send an email to an external email adress, Internet Mail Gateway service stops. In omshowlog I have the following errors;

--------------------------------

SERIOUS ERROR Browser (Service 14 ) 03.12.08 07:15:05
[OM 23661] Attempt to set the process language to an invalid value.
Current errno value: 2
<- im_ItemRef2FName
<- im_OpenItem
<- sfl_OpenSfl
<- sfl_OpenItem
<- im_OpenItem
<- ct_RawOpenCtner 3001
-> ct_FindRecNum 3001 RecNum=10
<- ct_FindRecNum 3001 RecNum=10
-> ct_CloseCtner 3001
-> sfl_CloseItem
<- sfl_CloseItem
<- ct_CloseCtner 3001
<- decodeParams
-> browseMessage
<- /build/11.0.4/src/lib/ombase/lng/lng_main.c:673[100,23661]
<- /build/11.0.4/src/bin/mbrw/mbrw_main.c:214[100,23661]


ERROR Administration(Install Servic) 03.12.08 07:15:17
[SYS 2] No such file or directory
File Name: /var/opt/scalix/vn/s/nls/AMERiCAN
Current errno value: 2
-> ccs_DoInitTables
-> ccs_AttemptSMem
<- ccs_AttemptSMem
<- ccs_DoInitTables
<- /build/11.0.4/src/lib/ombase/os/os_opendir.c:64[1,2]


---------------------------------


Why does it search for AMERiCAN while there is a folder named AMERICAN? We usually encounter this kind of problem with Turkish locale in projects. Turkish i in caps is I with a dot, but the machine is configured as UTF8 so I think it shouldnt be a problem.

The mail gateway does not stop itself when there are no messages in the queue, but when it tries to process some email it stops it self.

I checked if it does Mail (with console command Mail) external adresses and it does. My problem seems to be with Scalix and its language settings.

Any ideas would be appreciated. Thanx in advance

Gonenc Ercan

Posted: Mon Sep 24, 2007 6:12 am
by gren
This is very strange.

I am also puzzled that an attempt is being made to open the directory :
/var/opt/scalix/vn/s/nls/AMERiCAN
This contains a lowercase "i" when you would expect an uppercase "I".

What locale are you using when starting up the internet mail gateway.
Use the "locale" command to determine this.

Are you setting OM_LANG and OM_CHAR environment variables anywhere? (Note that this would not be recommended. These are only retained for legacy reasons)

Is there any mention of "AMERICAN" or "AMERiCAN" in your general.cfg file?

Does the string "AMERiCAN" appear anywhere in any of the files in :
/var/opt/scalix/vn/s/sys/
What are the contents of the file :
/var/opt/scalix/vn/s/nls/om_langs

Regards,
Gren.

Posted: Mon Sep 24, 2007 6:45 am
by gonenc
Hi Gren,

Thanx for your reply. Here are the things you asked for;

locale is en_US.UTF-8

om_langs;

C
AMERICAN
ZH_CN
ENGLISH
FINNISH
FRENCH
GERMAN
ITALIAN
KOREAN
NIPPON
PT_BR
SPANISH
SWEDISH

/var/opt/scalix/vn/s/sys/LCMap.bin
contains wrong language names. could this be the problem? What does this do? How to correct it if it is the problem.

Posted: Mon Sep 24, 2007 9:01 am
by gren
Hi,

If you shutdown Scalix, move the LCMap.bin file aside to, say, LCMap.bin.bad and then startup Scalix. A new LCMap.bin file should be created. Hopefully not suffering from the same problem as the previous file!

This file is a fast cache of the information in the CharMap and LangMap files - I assume those files are fine?

Regards,
Gren.

Posted: Mon Sep 24, 2007 10:05 am
by gonenc
Solved my problem, thank you very much.

I probably did change the encoding after installing the server. So that probably caused the problem.