Mailbox gets corrupted
Hi,
My Mailbox got corrupted when tried to do the following:
I Created one subscriber mailbox under some domain. Deposited some messages in the mailbox. Tried deleting messages one-by-one from Message-Store end-user GUI.
When all the messages are deleted, the mailbox gets corrupted. That is when I login through IMAP using "$telnet <Message-Store-IP> 143",I can login, however while doing "select inbox" command it is giving error "NO Mailbox has an invalid format". Also imap logs from message-store saying:
-> "Store Critical: Flags corrupted: user/uid"
-> "Store Critical: Unable to read index file for
user/uid: Mailbox has an invalid format"
And, now if I try to deposit a new message, the message remains in MTA queues and never gets delivered.
I tried the reconstruct utility, it didnt work.
What are the possible causes for the error "Store Critical: Flags corrupted: user/uid"?
Thanks,
Agatha
# 1
Hi,
Would help heaps if you told us what version of messaging server you are running (./imsimta version).
Also when you say "I tried the reconstruct utility, it didnt work." what command did you use exactly?
Did you run a force reconstruct? (reconstruct -rf user/<uid>)
Regards,
Shane.
# 3
Hi,
Did you try running reconstruct -rf user/<uid> ?
"Created one subscriber mailbox under some domain." How? What commands did you use?
" Deposited some messages in the mailbox." How? Via SMTP, IMAP append, manually added the files, used the deliver command?
"Tried deleting messages one-by-one from Message-Store end-user GUI" Which GUI? Messenger Express/UWC
"When all the messages are deleted, the mailbox gets corrupted." Can you reproduce or was this a once-off?
Regards,
Shane.
# 4
Hi,
Please find my answers inline.
>Did you try running reconstruct -rf user/<uid> ?
Yes, the problem remains the same.
>"Created one subscriber mailbox under some domain." How? >What commands did you use?
using LDAP API
>" Deposited some messages in the mailbox." How? Via SMTP, >IMAP append, manually added the files, used the deliver >command?
Via SMTP
>"Tried deleting messages one-by-one from Message-Store >end-user GUI" Which GUI? Messenger Express/UWC
Messenger Express
>"When all the messages are deleted, the mailbox gets >corrupted." Can you reproduce or was this a once-off?
Tried with different users. Happens the same with all the users.
Thanks,
Agatha
Message was edited by:
Agatha_rane
# 5
Hi,
Had a search for older cases where this behaviour had been reported. The only issues I could see are with _really_ old versions of messaging server (pre iMS5.2 days) or potentially file-system level issues where the store.idx file is updated in a non-atomic fashion (e.g. NFS locking problems).
What storage is used for these accounts? (SAN/NAS/Direct Attached/NFS)?
Have you changed anything else in your environment recently (patches/hardware upgrades etc.)
If none of this rings any bells, I recommend you log a support case so we can actually look into the contents of the store.idx files to see just how they are invalid -- this may provide some guidance.
Regards,
Shane.