Mail Folder Corrupted?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jgao
Posts: 55
Joined: Tue Feb 14, 2006 11:54 pm

Mail Folder Corrupted?

Postby jgao » Tue Nov 14, 2006 7:18 pm

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

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Tue Nov 14, 2006 7:49 pm

what Scalix version is this on? Any omshowlog, fatal log file or other error messages, e.g. in the Tomcat logfiles?

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

jgao
Posts: 55
Joined: Tue Feb 14, 2006 11:54 pm

Postby jgao » Tue Nov 14, 2006 8:11 pm

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

edo

Postby edo » Tue Dec 12, 2006 10:06 am

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

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Tue Dec 12, 2006 10:08 am

can you...

- upgrade your server to 10.0.5
- run omscan -aA

and see if those fix the issue?

Florian.
Florian von Kurnatowski, Die Harder!

mito
Posts: 194
Joined: Fri Mar 24, 2006 11:33 am

Postby mito » Tue Dec 12, 2006 1:22 pm

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.)

edo

Postby edo » Tue Dec 12, 2006 1:28 pm

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

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

Postby ScalixSupport » Tue Dec 12, 2006 9:52 pm

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

meganet
Posts: 32
Joined: Mon Nov 21, 2005 12:50 pm

Postby meganet » Wed Jan 10, 2007 9:46 pm

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?


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron