Mailbox Compaction Error?
Help!
I have an iMac (Mac OS X 10.2.8) and suddely I am having trouble deleting emails from my mailbox. When I attempt to delete emails (both from my inbox as well as from my sent files) a dialog box pops up that reads:
Compaction Error
There was a failure while writing to the disk. The disk may be full. The mailbox will be restored to its state before compaction.
Any advice on how to fix this problem without having to pay a $49.95 technical support fee?
Thanks!
What is your hard drive capacity and available free space?
Similar Messages
-
Compaction Error in Mail etc.
Yesterday I started getting a compaction error from Mail when I tried to delete large portions of the Inbox. Although I could delete a few emails at a time and then quit. they were back after the next compaction. Today I tried to troubleshoot it, and I think I made it worse. Note: I was unaware of the "Rebuild" mailbox option.
I eventually found this forum discussion and it sounded like my problem, so I tried it:
With the Mail.app quit and using the Finder, go to Home > Library > Mail > this POP account named folder (named by the user name and incoming mail server for the account).
Move the account named folder to the Desktop. The account named folder contains all mailboxes associated with the account such as the account's Inbox and Sent mailbox.
Launch Mail and a new account named folder will be created automatically by Mail within the Mail folder.
I tried Mail again, and now I somehow had lots of junk mail back which I'd long since deleted, in my old Inbox. I was also missing some emails, from Jan. 2, 2007 'til now. I "got new mail", and it's only from Feb. 5 2007 'til now (1 month on the server.)
The size of the old Inbox was 96.4 MB. After importing it, it's 87.2 MB. Would that account for the missing emails? If so, how do I get them back?
iBook G4 Mac OS X (10.3.9) 22 GB free on hard driveThanks for the response. Sorry that was so confusing.
I found the "instructions to import the old mailboxes from the original POP account named folder moved to the Desktop" in another thread, and I'll be darned if I can find that thread again today.
(This should be a bit more clear.)
I removed the PoP account to the Desktop, opened mail so it recreated the Inbox, and imported the contents of the original PoP folder into mail.
After importing, I had the imported Old Inbox containing deleted junk mail which somehow returned, and some emails were missing. I tried the same deletion of large blocks of mail that caused the error message in the original Inbox, only now it worked perfectly.
> I "got new mail", and it's only from Feb. 5
2007 'til now (1 month on the server.)
This is for/within the old Inbox mailbox that was
imported from the old account named folder moved to
the Desktop?
Nope, the new mail was in the original Inbox-mailbox, which was clear until I hit Shift-Command-N. The Old Inbox is in its own, newly-created-when-imported mailbox.
Pre-import Old Inbox contents:
content_index 3.7 MB
content_index-(null)-303 2.4 MB
content_index-localhost-257 2.6 MB
content_index-localhost-393 948 KB
Info.plist 4 KB
mbox 86.4 MB
tableofcontents 232 KB
iBook Mac OS X (10.3.9) -
Error message: Compaction error
My mail program is not sending or receiving. Error message: "Compaction Error There was a failure while writing to the disc. The disc may be full. The mailbox will be returned to its state before compaction."
What is your hard drive capacity and available free space?
-
I continue to get a "compaction error" when I try to delete emails/move them to my junk. It says my mailbox is too full and yet I can't delete anything because it is too full! I've tried all sorts of combinations of deleting, etc. Help please!
Hirschee's message of 30 May (and others previously) describes the same problem I am experiencing. It seems to arise when the Inbox gets too full.
I solved it once before by freeing up space on the hard disk, but that has not worked this time. It is nightmarish not being able to delete.
I have a POP account.
Any advice gratefully received.
Ben.
iBook dual USB 500MHz G3 Mac OS X (10.2.x) (10.2.8)
replying to -
Hello, and welcome to the Discussions.
What type of account do you have -- POP, IMAP or
.mac?
If IMAP (or .mac) what are your selections in Mail
Preferences/Accounts/Special Mailboxes (assumes you
are running Panther as your Profile reports)? It
appears you may be leaving deleted messages in the
Inbox?
Ernie
iBook dual USB 500MHz G3 Mac OS X (10.2.x) (10.2.8) -
Help! Mail Compaction Error - Lost Messages
I had too many e-mails in my inbox and was selectively deleting e-mails. I got a message about a "compaction" error, and when my e-mail restarted, I had gone from 5,000 messages to 75.
I need to keep many of the lost messages -- that's why I was selectively deleting them. This happened to me once before a year or two ago, and I know there's a way to get those messages back -- but I can't find my notes.
Help! What do I do?Hello Emily.
The folder it created contained a folder called
"split_mailboxes" but nothing ever appeared in there.
What did appear were files called "Sent Messages-0001",
"Sent Messages-0002" etc...
I believe these files are the parts into which the script breaks the troublesome mbox file within the Sent Messages.mbox package. They are in the same mbox format, just named differently, and are to be imported into Mail using the Other data format option. I believe the script should do this automatically, but apparently it didn't for some reason.
In Mail, do File > Import Mailboxes, choose Other as the data format, and follow the instructions to import all these files. You'll have to select the folder that contains the files, rather than the files themselves, when telling Mail what to import. -
I had found a good discussion on this, but the fix didn't suit my situation. Because it had been considered answered by the original poster, I could not post a reply. So here we are with a new one.
Now that disclaimer is done, a user has gotten this error message:
Compaction Error. There was a failure while writing to the disk. The disk maybe full. The mailbox will be restored to its state before compaction.
while trying to delete his email messages. The first thing I looked at was to view the file size of his inbox. It is a paltry 112Kb. Too small and there were only 3 messages in his inbox. I moved his mail folder to the top of his home directory and recreated his mail, however, any previous mails are missing. Here are the following steps taken to get to the point of missing email.
He opens Mail
He deletes message with big attachments
He gets the compaction error
He clicks OK
He closes Mail
He opens Mail
There is no more mail
The mail file size reduces dramatically.
Is it at all possible to get this person's mail back?I would also like to mention that I have a copy of this Mail file on a CD so that I can still some how some way try to retrieve it. Most importantly, this is Panther and its Mail.
Finally, there is 18G available free space on this computer with the mail problem, so drive space is not an issue. Because this was not my computer and this user can't give me as detailed information as size of box or number of messages before the crash, this is the best I can provide for details. Thanks all. -
I continue to have an issue with apple Mail. This started when I had too little hard drive free space. I have now upgraded and added an external hard drive with 2 partitions and have deleted a ton of stuff from my original 8.5gig hard drive to leave me with about 3gigs of free space. I began using Carbon Copy Cloner to back everything up on a weekly basis. Now my issue is that e-mails wont delete and mail will shut down occasionally. It will also give me "compaction errors" and revert the mailbox to original settings. I have tried all of Allan Sampsons suggestions, like going to Applications/Library/ etc. and moving the Inbox to my desktop. etc. etc. etc. ALL has not helped and is just seeming to compound the issue....things keep getting worse. Until just the last few days I was also having shut down issues and "sleep" issues. I ran disk utility and this seems to have been cleared up. I really believe that I have some corruption in my Mail program and would like to remove Mail and reinstall it fresh. Does anybody have any other suggestions? I think I can reinstall with no problem, but I'm unclear how to remove the old corrupted version of Mail. Could someone give me other suggestions or help me through the removal of the corrupted old Mail?
Hello Alana.
Deleting and re-installing the Mail.app rarely resolve this or any problem.
All Mail.app data is stored in the Mail folder at Home > Library > Mail and all email account information and general Mail.app settings are stored in the Mail.app preference file.
Since your hard drive did not have adequate free hard drive space required for OS X to function properly until recently, it sounds like some of your mailboxes (mbox files) have some corruption (not the application itself). If so, re-installing the Mail.app will not resolve this since no data is stored in the application.
Quit Mail first and using the Finder, go to Home > Library > Mail. Move the entire Mail folder to the external hard drive for later use.
Launch Mail and a new Mail folder and account named folders within will be created automatically. All mailboxes will be empty and any created rules and signatures will not be available along with Junk Mail "learned" settings lost but this will determine if the problem lies within the old Mail folder which I believe it does.
If this allows the Mail.app to function properly, you can use the Import Mailboxes function to import selected mailboxes from within the old Mail folder moved to the external hard drive and I would import only a number of available mailboxes at one time since one or a number of the existing mailboxes probably have some corruption due to the lack of free hard drive space you had previously. -
MailBox Move Error With Exchange 2010 sp3
I initiated a mailbox move for a specific mailbox and let it run all night. The next day, the user stated he cannot log into is mailbox and the error stated "mailbox is moving, check back later".
Exchange stated the status of the move is "CompletedWithError". I noticed that the mailbox is still in the old database.
I tried to remove the move request and received an error "couldn't find a move request that corresponds to this identity".
I rebooted the exchange server.
Exchange still shows the user in the old database
There is no move requests in exchange
The user is still experiencing the same error "You weren't able ti sign in because the mailbox is being move"
I tried to initiated another move and received:
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:00
John, Doe
Failed
Error:
Couldn't switch the mailbox into Sync Source mode.
This could be because of one of the following reasons:
Another administrator is currently moving the mailbox.
The mailbox is locked.
The Microsoft Exchange Mailbox Replication service (MRS) doesn't have the correct permissions.
Network errors are preventing MRS from cleanly closing its session with the Mailbox server. If this is the case, MRS may continue to encounter this error for up to 2 hours - this duration is controlled by the TCP KeepAlive settings on the Mailbox server.
Wait for the mailbox to be released before attempting to move this mailbox again.
MapiExceptionMailboxInTransit: Unable to open message store. (hr=0x80004005, ec=1292)
Diagnostic context:
Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=163]
Lid: 43559 EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=264][latency=0]
Lid: 23226 --- ROP Parse Start ---
Lid: 27962 ROP: ropLogon [254]
Lid: 17082 ROP Error: 0x50C
Lid: 26937
Lid: 21921 StoreEc: 0x50C
Lid: 27962 ROP: ropExtendedError [250]
Lid: 1494 ---- Remote Context Beg ----
Lid: 26426 ROP: ropLogon [254]
Lid: 22787 Error: 0x0
Lid: 13032 StoreEc: 0x8004010F
Lid: 25848
Lid: 7588 StoreEc: 0x8004010F
Lid: 25840
Lid: 6564 StoreEc: 0x8004010F
Lid: 50999
Lid: 2567 StoreEc: 0x50C
Lid: 19452
Lid: 2199 StoreEc: 0x50C
Lid: 56415
Lid: 48223 StoreEc: 0x50C
Lid: 17097 StoreEc: 0x50C
Lid: 8620 StoreEc: 0x50C
Lid: 1750 ---- Remote Context End ----
Lid: 26849
Lid: 21817 ROP Failure: 0x50C
Lid: 26297
Lid: 16585 StoreEc: 0x50C
Lid: 32441
Lid: 1706 StoreEc: 0x50C
Lid: 24761
Lid: 20665 StoreEc: 0x50C
Lid: 25785
Lid: 29881 StoreEc: 0x50C
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.140).aspx?v=14.3.224.2&t=exchgf1&e=ms.exch.err.Ex7E66C2
Exchange Management Shell command attempted:
'ab.ad/CD/Users/doe, john' | New-MoveRequest -TargetDatabase 'Carlsbad_Mailbox'
Elapsed Time: 00:00:00
At this point, when trying to access the mailbox, exchange states its being moved... when trying to remove the move... Exchange does not see the move.
any help is appreciated,Hi Cudflyn,
Base on my search, you can try to increase the TCP Keep Alive Time for the servers involved in the move.You can refer to the following
article to increase it:
Mailbox Move Error - 'Couldn't switch the mailbox into Sync Source mode'
Note: Just REMEMBER to DELETE the registry entry when the mailbox moves are compete!
Best regards,
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Niko Cheng
TechNet Community Support -
I keep getting an invalid mailbox name error every 5 minutes
I keep getting an invalid mailbox name error every five minutes. I am able to send and recieve mail, this is just very annoying. Can anyone help? Seem like it must be an easy fix. I was on the phone with Apple Care for over an hour and they could not figure it out.
I have the same issue. Dont have a clue
-
More Lost Mail After Compacting Error
I've seen this problem in a few posts, but still have not been able to get back the missing email. While deleting a bunch of messages, I got the compaction error message, and when I restarted the email, almost all the messages were gone. I followed the steps to put the inbox on the desktop and import it back to mail, but due to its absurdly large size (1.49G, and yes, I imagine that's the root of all my problems) the mail crashed. I tried using mboxbreaker, but got "Error-48 already an item with that name" and "Error- 2753 the variable spec is not defined". Any help will be much appreciated; while the vast majority of the lost messages should have been deleted long ago, there are some important personal things amongst the sludge.
yeah, i just don't get it. the settings are exactly the same...i've made sure of that. connection doctor says everything is fine...and outmail mail works. but new mail just sits in my web based inbox, and mac mail never pulls it off...frustrating. out of all the problems i thought i might have when doing a fresh install, i didn't expect this one.
jon. -
Compaction Error when saving to disk
I desperatly need help. Everytime I open mail it is ok then it freezes when saving to disk - and error message "compaction error" cleared out folders still no luck. Please help!!!
What is your hard drive capacity and available free space?
-
Exchange 2010: Remove high available mailbox database error
Hello everyone,
I have a two node DAG exchange 2010 and recently split one mailbox database into two databases.
Now when removing the original database I get the following error:
Please provide specific details.
The following was done thus far:
Deleted all softdeleted items
this is not the default mailbox database
Suspended the second mail server and removed it from mailbox, leaving now just one mail server attached to the mailbox database.
HelpTry to check mailbox import request is there or no by this command. Get-MailboxImportRequest. If you can see any requests listed. Remove it by this command Get-MailboxImportRequest | Remove-MailboxImportRequest.
Thanks, MAS
Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. -
Exchange 2007 mailbox creation error
Hi,
We are having problems with our standard AD/Exchange adapter when creating users with a mailbox.
We currently have the following setup:
- Sun IdM 8.1.0.7
- There are 4 DC, and two Exchange 2007 Servers.
- The gateway runs on a seperate Win2003 R2 32 bit server (but is a member of the AD).
The error we are getting is this:
PowerShell:41b59779-b9cb-487f-b200-4b9836dc176d is not a mailbox user.
It seems like the gateway has a preferred DC when creating accounts.
But when creating the Exchange account, the Exchange server has a different preferred DC,
where the AD account is not yet present. (there is an 5 minute replication interval)
We don't have a test enviroment with the same setup, which makes it a bit tricky to find the problem,
and testing possible solutions for it. Out test enviroment consists only of 1 DC, and 1 Exchange server so
the errors does not exist there.
Is there anyone who has seen something like this before, and in that case, is there a solution for it?
Or it's maybe better if a put it like this: Is there anyone who is running multiple DC:s and multiple Exchange Servers
without these problems? And in that case, are you creating the user and the mailbox at the same time?
I would gladly provide some more info and logs, if you specify what might be interesting to see.
Thanks and kind regards,
HenrikSome additional info:
Today the process goes like this:
First we create the user and does not set the RecipientType -> The user is created in AD (without Mailbox)
Second we set the following attributes when we want the user to get a Mailbox: (5 min delay)
EmailAddressPolicyEnabled = false
PrimarySmtpAddress = [email protected]
RecipientType = MailboxUser
Database = <our-db-here>
The user now gets his mailbox, but the email generated by Exchange is used when I look at the user.
And also the EmailAddressPolicy stays enabled.
Any ideas about the attributes I'm trying to set here?
Regards,
Henrik
Edited by: user1154522 on Apr 12, 2011 8:44 AM -
MfE: "Maximum number of mailboxes defined" error
I have had to wipe/reset and reinstall my E72. I have recreated my POP and Hotmail messaging accounts OK using Nokia EMail (www.email.nokia.com), but when I try to create my company Exchange account I get the error message "Maximum number of mailboxes defined. Delete an existing mailbox and try again". I have four non-Exchange mailboxes on the phone (no existing Exchange mailboxes), so I duly deleted an account and tried again. However I still get the same message. How can I add my MfE account back on my phone again? Previously, before I reset my phone I had four POP/Hotmail accounts and my single company MfE account working fine. Any ideas?
Dial *#7370# 12345 reformat, you'll lose all data. Make a backup first and restore without the settings.
‡Thank you for hitting the Blue/Green Star button‡
N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009 -
I was able to compact a large (>10GB) BDB using db_compact, and then I decided to compact again, to see what effect it had. I get this exception each time when using version 4.6.21:
java.lang.IllegalArgumentException: Invalid argument: DB_ENV->log_put: record larger than maximum file size (18094568 > 10485760)
at com.sleepycat.db.internal.db_javaJNI.Db_compact(Native Method)
at com.sleepycat.db.internal.Db.compact(Db.java:277)
at com.sleepycat.db.Database.compact(Database.java:66)
I could try to see if increasing the max log file size will help, but how I can I be certain that the log_put call won't exceed that size?try this and see if it solves,
also, Emp_name data type is int. it should be varchar.
I suspect the reason is because you already have some data in student table but you identity seeds were not updated and hence it is trying to insert a row with emp_id value that already exists.and hence the primary key violation. also, your table DDL did
not really have an primary key but it would still error since you are inserting duplicate row in the identity column.
so, try resetting the identity seed value to the max(emp_id) in the table.
select max(Emp_ID) from student
--use the output of the above statement
DBCC CHECKIDENT ('Student', RESEED,<<--use the output of the above statement-->>)
--your max(emp_id) should match with last_value column in the below( do not if this query would run in compact DB though)
select seed_value,increment_value,last_value from sys.identity_columns where object_id=object_id('Student')
now, try your insert.
Hope it Helps!!
Maybe you are looking for
-
I've been using LR with my Nikon D3200 for a year or so. Shooting in RAW/NEF no issues with import etc until I updated LR and now I can't get LR to allow me to select when I try to import. It does show the images but they're grayed out and not able t
-
Activate BI Business Content in production system
Hi experts I have a doubt, someone activated business content in production system, what are the consecuences in the future? Are there any procedure to follow to activate business content from developement system and then to transport to QAS and PRS?
-
Unknown error (4251)
Hi, I have been doing a lot of research all night on my problem and I see that not many people know how to get past it. The one person who posted that their problem was solved by using this forum. Anyway, when I tried to burn an audio book that I dow
-
Mackintosh user - unable to resize screen using pinch
I am unable to use the pinch feature on my Mac to resize the Firefox browser. I read the community blog about another Mac user who experienced the same problem and his solution is beyond my expertise. Nevertheless, I would really like to use Firefox
-
Adobe Flash CS4 crashes after OS X Lion install
Hi everyone, Yesterday I installed OS X Lion on my iMac, and now my eyedropper tool in Flash is not working, and it is force quitting about every ten minutes. This is NOT good at all for me, as I am in the middle of an advanced Flash class at my coll