Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

contacts on client machine suffer from disk I/O errors

Contacts are running slow if not at all on my client machines. I check the logs and it is having trouble with accessing the files and or writing the files. all other programs seem to work fine. Mail hangs but I think it is because of the contacts issue. It seems to have trouble reading the contacts list and dumps the list and attempts to rebuild from iCloud and the server. there are many .unknown files in the library. The logs state that there is a disk I/O error while accessing /Network/myserver/Volumes/MyBook/Users/username/Library/Address Book (this is from memory but it is close). The contacts work perfectly (as expected) if the user is logged into the server.


I am running 10.8 server and clients with shared home folders. the user folders are on an external drive. the drive does have permissions turned on. I have wiped out the contacts directory in the Library folder and it proceeds to rebuild but the problem is still there.


would rebuilding the clients from scratch help?


David Urban

Mac mini (Mid 2011), OS X Server

Posted on Jul 29, 2012 5:57 AM

Reply
71 replies

Aug 12, 2012 2:31 AM in response to iDash

just go back from holiday but I thought I see (if by magic) it was fixed, Alas no.


Slightly interestingly - I followed the previous fix for corrupt address books i.e. loged out of iCloud (confirmed deletion of contacts etc.), trashed ~/library/application support/address book folder etc. Loged out of account and loged back in.


Emptied the trash (to delete the above folder) and WITHOUT logging back into icloud:

- deleted 'apple contact' in contacts, so it become empty

- started mail (took logger than it should, as only my gmail account is present)

- looked in Console again, and bingo - same problem (corrupted address book + I/O error etc:


12/08/2012 10:22:04.802 Mail[3483]: CoreData: error: (2058) I/O error for database at /Network/Servers/mountainserver/Users/robcousins42/Library/Containers/com.apple .mail/Data/Library/Application Support/AddressBook/AddressBook-v22.abcddb. SQLite error code:2058, 'disk I/O error'

12/08/2012 10:22:04.805 Mail[3483]: Unknown error reading database file, will attempt reimporting: Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." UserInfo=0x7f914a41e9e0 {NSSQLiteErrorDomain=2058, NSUnderlyingException=I/O error for database at /Network/Servers/mountainserver/Users/robcousins42/Library/Containers/com.apple .mail/Data/Library/Application Support/AddressBook/AddressBook-v22.abcddb. SQLite error code:2058, 'disk I/O error'} {

NSSQLiteErrorDomain = 2058;

NSUnderlyingException = "I/O error for database at /Network/Servers/mountainserver/Users/robcousins42/Library/Containers/com.apple .mail/Data/Library/Application Support/AddressBook/AddressBook-v22.abcddb. SQLite error code:2058, 'disk I/O error'";

}

12/08/2012 10:22:04.805 Mail[3483]: Move Address Book store at /Network/Servers/mountainserver/Users/robcousins42/Library/Containers/com.apple .mail/Data/Library/Application Support/AddressBook/AddressBook-v22.abcddb to /Network/Servers/mountainserver/Users/robcousins42/Library/Containers/com.apple .mail/Data/Library/Application Support/AddressBook/AddressBook-v22.abcddb.044B3074-B3A7-4A5E-AD45-C3D23F6AA57D .unknown

12/08/2012 10:22:08.392 Mail[3483]: Restoring DB from MetaData

12/08/2012 10:22:09.066 Mail[3483]: Restoration from MetaData complete (0.674s)

12/08/2012 10:22:09.693 com.apple.dock.extra[3426]: <ABAddressBook: 0x7fca18c7ae30>: Resetting database due to: __CFNotification 0x7fca1a2026e0 {name = ABDistributedDatabaseChangedNotification; object = /Network/Servers/mountainserver/Users/robcousins42/Library/Containers/com.apple .mail/Data/Library/Application Support/AddressBook-0x7f914a4ada30; userInfo = {

ABRestoreFromMetadata = 1;

ABSenderProcessID = 3483;

ABSenderProcessName = Mail;

kABUserUID = 1027;

}}

12/08/2012 10:22:09.694 Contacts[3481]: <ABAddressBook: 0x7f9ea48b63c0>: Resetting database due to: __CFNotification 0x7f9ea34057f0 {name = ABDistributedDatabaseChangedNotification; object = /Network/Servers/mountainserver/Users/robcousins42/Library/Containers/com.apple .mail/Data/Library/Application Support/AddressBook-0x7f914a4ada30; userInfo = {

ABRestoreFromMetadata = 1;

ABSenderProcessID = 3483;

ABSenderProcessName = Mail;

kABUserUID = 1027;

}}

12/08/2012 10:22:09.806 Contacts[3481]: <ABAddressBook: 0x7f9ea48a72d0>: Resetting database due to: __CFNotification 0x7f9ea34057f0 {name = ABDistributedDatabaseChangedNotification; object = /Network/Servers/mountainserver/Users/robcousins42/Library/Containers/com.apple .mail/Data/Library/Application Support/AddressBook-0x7f914a4ada30; userInfo = {

ABRestoreFromMetadata = 1;

ABSenderProcessID = 3483;

ABSenderProcessName = Mail;

kABUserUID = 1027;

}}

12/08/2012 10:22:09.964 com.apple.ShareKitHelper[3447]: --warning: [ShareKit-XPC] Received XPC_ERROR_CONNECTION_INVALID

12/08/2012 10:22:09.966 com.apple.ShareKitHelper[3447]: --warning: [ShareKit-XPC] connectionWithClientInterrupted

12/08/2012 10:22:09.966 com.apple.ShareKitHelper[3447]: --warning: [ShareKit] Cancel UI for running services with Client PID: 3481

12/08/2012 10:22:25.707 findNames[3492]: CoreData: error: (2058) I/O error for database at /Network/Servers/mountainserver/Users/robcousins42/Library/Application Support/AddressBook/AddressBook-v22.abcddb. SQLite error code:2058, 'disk I/O error'

12/08/2012 10:22:25.709 findNames[3492]: Unknown error reading database file, will attempt reimporting: Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." UserInfo=0x7f82a401e420 {NSSQLiteErrorDomain=2058, NSUnderlyingException=I/O error for database at /Network/Servers/mountainserver/Users/robcousins42/Library/Application Support/AddressBook/AddressBook-v22.abcddb. SQLite error code:2058, 'disk I/O error'} {

NSSQLiteErrorDomain = 2058;

NSUnderlyingException = "I/O error for database at /Network/Servers/mountainserver/Users/robcousins42/Library/Application Support/AddressBook/AddressBook-v22.abcddb. SQLite error code:2058, 'disk I/O error'";

}

12/08/2012 10:22:25.710 findNames[3492]: Move Address Book store at /Network/Servers/mountainserver/Users/robcousins42/Library/Application Support/AddressBook/AddressBook-v22.abcddb to /Network/Servers/mountainserver/Users/robcousins42/Library/Application Support/AddressBook/AddressBook-v22.abcddb.CFAF4B52-5134-49FD-97FC-9F14347685DC .unknown

12/08/2012 10:22:27.327 findNames[3492]: Restoring DB from MetaData

12/08/2012 10:22:27.794 findNames[3492]: Restoration from MetaData complete (0.465s)

12/08/2012 10:22:28.115 com.apple.dock.extra[3426]: <ABAddressBook: 0x7fca18c7ae30>: Resetting database due to: __CFNotification 0x7fca18cc5920 {name = ABDistributedDatabaseChangedNotification; object = /Network/Servers/mountainserver/Users/robcousins42/Library/Application Support/AddressBook-0x7f82a34274e0; userInfo = {

ABRestoreFromMetadata = 1;

ABSenderProcessID = 3492;

ABSenderProcessName = findNames;

kABUserUID = 1027;

}}

12/08/2012 10:22:28.116 Mail[3483]: <ABAddressBook: 0x7f914a4ada30>: Resetting database due to: __CFNotification 0x7f914b4a96f0 {name = ABDistributedDatabaseChangedNotification; object = /Network/Servers/mountainserver/Users/robcousins42/Library/Application Support/AddressBook-0x7f82a34274e0; userInfo = {

ABRestoreFromMetadata = 1;

ABSenderProcessID = 3492;

ABSenderProcessName = findNames;

kABUserUID = 1027;

}}

12/08/2012 10:25:19.033 talagent[3411]: PersistentUI: CSBackupSetItemExcluded() failed with OSStatus -61



So before I thought the error was only present when logging into iCloud, but this doesn't seem to be the case - just by using using Mail/Address book, er I mean Contacts apps seems to be causing the issue on Client machines.


Regardless, I can't move forward with Mountain Lion Server/Client combo


Come on Apple - will you fix this error in 10.8.1 ????


If there are any beta testers of 10.8.1 out there - can you confirm whether this will be fixed or not??? PLEASE!!

Thanks in advance

Rob

Aug 12, 2012 2:41 AM in response to iDash

Yeah I've seen the exact same messages in console, I'm not using iCloud either, it seems to be just Network Homes unable to read or write to the Container Folder ... switching to mobile homes will fix this but not really desirable for many people.. please report this issue to apple, as I have done, its the only way they will take any notice

Aug 14, 2012 9:10 PM in response to David Urban

Wow this is exactly what is happening to me. I have mac mini running 10.6 server in raid with 5 mountain lion clients. I login to my own client with home directories on that same computer and i have no signficant problems with mail, contacts, or anything else.


However, all my employees login to their clients with network home folders on the mac min. they absolutely cannot access their icloud contacts and their mail works very slow. I get random app crashes and the following error message in contacts:


[NSUnknownKeyException] [<ABCDGroup 0x7ffdde81f9e0> setValue:forUndefinedKey:]: the entity ABCDGroup is not key value coding-compliant for the key "com.apple.addlInfo".


This did not happen when all the clients where 10.6 just like the server.


Apple, HELP? My employees can't look up contacts and struggle to send even basic email.


Aug 18, 2012 1:14 AM in response to iDash

There are two separate problems here.


The first problem is: When run two different releases of OS X in a client/server configuration, the Spotlight service on the server will corrupt the users' address book databases. The databases between different AddressBook/Contacts versions are not compatible with each other, so the Spotlight importer on the server does not understand the different format of the client. In an attempt to "repair" this unknown format, the database will be damaged.


Apple knows about this bug for years and they don't care. It affects all file service protocols.


The second problem is different and only affects AFP clients running Mountain Lion: In this case, a user on a client cannot run Mail and Contacts at the same time. There are compatibility problems with the locking implementation of AFP which causes Mail on the client to also damage that user's address book database.


This is a new problem, but Apple is also aware about it.


A possible (but not very practicable) workaround is to create a dummy address book folder on the local hard drive, and then create a symbolic link from Mail's sandbox container to that folder. This will disable most contacts features of Mail, but the Contacts application and the actual contact database remain intact.


Another possible workaround is to switch from AFP to NFS. It won't show these locking problems and is much faster, however, depending on what other features a user needs, there might be new issues affecting Spotlight, Extended Attributes and Access Control Lists.

Aug 18, 2012 1:46 AM in response to mbresink

this sums it up very well, we are definitely seing the second problem as it is affecting the one mac here running mountain lion (new mac purchase - we didn't upgrade)


I'm about to test if the problem still exist when this mac logs into a mountain lion server instead of Lion server, though I don't really want to be running mountain lion server yet, I feel its too early and needs time to mature a few versions.


We are always going to have a mixed environment, due to the fact that some of out macs can only upgrade as far as Lion, and new macs (we need to buy 3 new iMacs in the next few months) will be running Mountain Lion.


And as Mountain Lion Clients don't seem to like Lion Server, our only option will be to run Mountain Lion Server and hope that the Lion Clients don't have any issues

Aug 20, 2012 10:12 AM in response to Kevin Neal

ok I set up Mountain Lion Server completely from scratch, fresh install, freshly created all new users, didn't import anything from previous installation. And have found that Mountain Lion clients are completely unable to log into mountain lion server!! whereas clients still on Lion can log in with no problem.


I'm wondering if the fact that the server is using link aggregation could be a factor? Though that doesn't really explain why Lion is fine and Mountain Lion isn't


Are there not that many people using OD ,network homes and Mountain Lion these days, I would have though this is would be getting a lot more attention

Aug 20, 2012 11:31 AM in response to Kevin Neal

Apple's engineers have been gently pushing the education community away from network homes for the last few years at their tech updates. As the applications get more powerful and i/o intensive, even Gig networks can't keep a video editing tool supplied with its file needs.


We've always had issues with various applications that aren't "network aware". Combinations of Workgroup Manger tools and redirections to local machines have been the usual work arounds until now.


The idea, I think, is to implement your network services as a "private cloud", not as managed network homes. Works great for the consumer devices, but not so great for elementary and middle schools, especially the younger grades. It is disturbing to hear that we may be coming to the end of network homes entirely as support slowly and silently ends.


As Apple focuses more on the Consumer Market, they seem to be pushing the management pieces to outside 'partner' vendors.


Change is the only constant.

Aug 20, 2012 12:24 PM in response to Mike in CT

Whats the alternative to network homes in a business environment, having a central location for users to log into from any mac is important to us, I've lost count of the number of times a users mac could be playing up or physically need reparing and they just jump on a spare mac, log in and carry on, zero downtime.


Are we really heading towards a stage where this isn't going to possible, I'm fine with apples attention being on consumer devices cos we all love them, but the business side still needs to function even if its not high on the priorities anymore

Aug 22, 2012 10:30 AM in response to Kevin Neal

Agreed and further more, one's home directory (when you consider photos, music and documents) are simply far to big to live on a client Mac's - esp Portables (in this case MBA's) with small 64 and 128GB SSD drives.


In addition I upgraded my desktop mini (2011 model) to a 128GB SSD in an attempt to replicate teh performance of MBA's ( I simply can't afford to put in a larger SSD in - and why should I, if the Server is supposed to do what its meant to?). Of course, I can't upgrade MBA's SSD drives.


Note that the performance of iTunes and iPhoto are perfectable acceptable over (Apple's latest) Extreme basestation which served from a server - so I disagree with Mike's view on this.


Regardless, Apple needs to resolve this problem as Server/Client combination is worthless if one needs to user contacts and/or mail!


I would be intersted to hear from other server users who are using Contacts/Mail on 10.8 and are NOT having the same issue as we are??

Aug 24, 2012 2:26 AM in response to iDash

Given this has NOT been resolved by 10.8.1 on Client and/or Server Macs I've has not choice but to revert back to Lion on Client Macs.


So the Combination of Mountain Lion Server (10.8.1) and Lion Client Macs (10.7.4), seems to work ok for the moment but naturally very disappointed I've been forced to do this. 😟


I've left one MBA Client Mac on 10.8.1 to see if there suitable work arounds in the mean time (obviously I can't use if for networked accounts)

contacts on client machine suffer from disk I/O errors

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.