Page 1 of 1

Mail Folder Corrupted?

Posted: Tue Nov 14, 2006 7:18 pm
by jgao
For one of my users, some mail folders under Inbox have weird problem: You can see and read the emails in these folders from Outlook/Scalix Connector, but can not see any email or access them from SWA.

How to put these mail folders back to work?

Thanks,
Jian

Posted: Tue Nov 14, 2006 7:49 pm
by florian
what Scalix version is this on? Any omshowlog, fatal log file or other error messages, e.g. in the Tomcat logfiles?

Cheers,
Florian.

Posted: Tue Nov 14, 2006 8:11 pm
by jgao
There's nothing in fatal. The recent output of omshowlog is:

WARNING Administration(omstat ) 11.13.06 20:09:52
[OM.DMON 2205] Failed to connect to Session Monitor: mdc_connect: No such file or directory


WARNING IMAP Server Da(IMAP Server Pr) 11.13.06 20:10:14
[OM 3419] A container cannot be closed until all its children have been closed.
User Name: Ian Bennyworth / user, cirrata/CN=Ian Bennyworth
Last Folder: UserFolder - Inbox
-> ct_GetSyncDirName
<- ct_GetSyncDirName
<- ct_OfsLogTidyUp
-> ct_OpenUserFolder
-> ct_OpenStandAloneCtner
-> im_OpenItem
-> sfl_OpenItem
-> im_ItemRef2FName
<- im_ItemRef2FName
<- sfl_OpenItem
<- im_OpenItem
<- ct_OpenStandAloneCtner
<- ct_OpenUserFolder
-> ct_CloseCtner 3001
<- /build/10.0.1.3/src/lib/ct/ct_inclose.c:224[3,3419]
<- /build/10.0.1.3/src/lib/ct/ct_inclose.c:466[3,3419]


WARNING Administration(omshutint ) 11.14.06 16:29:51
[OM.DMON 2205] Failed to connect to Session Monitor: mdc_connect: No such file or directory


WARNING Administration(omstat ) 11.14.06 16:29:51
[OM.DMON 2205] Failed to connect to Session Monitor: mdc_connect: No such file or directory


WARNING Administration(omstat ) 11.14.06 16:29:51
[OM.DMON 2205] Failed to connect to Session Monitor: mdc_connect: No such file or directory


WARNING Administration(omstat ) 11.14.06 16:29:51
[OM.DMON 2205] Failed to connect to Session Monitor: mdc_connect: No such file or directory


WARNING Administration(omsearch ) 11.14.06 16:55:13
[OM 16073] Unknown attribute specified.

-> uni_Utf8ToUcs2
<- uni_Utf8ToUcs2
-> uni_GetConfigFromIndex
<- uni_GetConfigFromIndex
-> uni_GetConfigFromIndex
<- uni_GetConfigFromIndex
-> uni_GetTableFromIndex
<- uni_GetTableFromIndex
<- cvc_ConvertString2
-> da_ParseEntry2
-> da_ParseAttribEntry
-> da_FindAttribIntName
<- da_FindAttribIntName
<- /build/10.0.1.3/src/lib/ombase/da/da_PrsEnt.c:1189[3,16073]
<- /build/10.0.1.3/src/lib/ombase/da/da_PrsEnt.c:1196[3,16073]

Thanks,
Jian

Posted: Tue Dec 12, 2006 10:06 am
by edo
I'm having the same problem. Two clients cannot connect using IMAP or webmail but if they try getting their mail using Outlook it works. I have similar output in the imap log. Any suggestions?

edo

Posted: Tue Dec 12, 2006 10:08 am
by florian
can you...

- upgrade your server to 10.0.5
- run omscan -aA

and see if those fix the issue?

Florian.

Posted: Tue Dec 12, 2006 1:22 pm
by mito
Not to step on Florian's heels, but I just fixed this problem.

I was troubleshooting this problem when I ran accross the problem referenced in this post:
http://www.scalix.com/community/viewtop ... 8210#18210

When I got done doing the fix for that, the mailbox folders that were showing up empty (for me they were Sent Items and Deleted Items) were now showing the proper contents.

(For reference, here is the post that describes the problem that I ran into when troubleshooting this initial problem and how I found the fix for both.)

Posted: Tue Dec 12, 2006 1:28 pm
by edo
I am using scalix 11 RC1
But looks like a reboot (due to a new kernel) did 'solve' the problem. I noticed that the imap server had problems with too many open files (there were about 25k open files according to lsof ) and just stopping and starting scalix processes did't help. But after the reboot everything looks OK.

Any ideas how to prevent this situation? (too many open files)

thanks

edo

Posted: Tue Dec 12, 2006 9:52 pm
by ScalixSupport
Have a look at this article:

http://www.netadmintools.com/art295.html

It has a good discussion on open files.

To get the standard value with the command:

cat /proc/sys/fs/file-max
-> 102550

Double the value, in this case to 205510 by

echo 205510 > /proc/sys/fs/file-max

Add the following line to
/etc/sysctl.conf
sys.fs.file-max = 205510

Regards,
Don

Posted: Wed Jan 10, 2007 9:46 pm
by meganet
florian wrote:can you...

- upgrade your server to 10.0.5
- run omscan -aA

and see if those fix the issue?

Florian.


what does omscan -aA actuall accomplish? All I see is a report that I can't decipher?