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

Same launchd error in console each 10 second

Hi

I see the following messages on my console each 10 Seconds:


2/01/2016 20:10:31,844 xpcproxy[2034]: CFPreferences could not connect to its daemon.

Preferences using the connection 0x0 will be volatile and will not be persisted to disk.

12/01/2016 20:10:31,864 xpcproxy[2034]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:31,864 xpcproxy[2034]: LaunchServices: Database mapping failed with result -10822, retrying

12/01/2016 20:10:31,864 xpcproxy[2034]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:31,864 com.apple.xpc.launchd[1]: (com.apple.photostream-agent[2034]) Could not find and/or execute program specified by service: 149: Could not find a bundle of the given identifier through LaunchServices: com.apple.photostream-agent

12/01/2016 20:10:31,865 com.apple.xpc.launchd[1]: (com.apple.photostream-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

12/01/2016 20:10:41,876 xpcproxy[2036]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:41,876 xpcproxy[2036]: LaunchServices: Database mapping failed with result -10822, retrying

12/01/2016 20:10:41,876 xpcproxy[2036]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:41,880 xpcproxy[2036]: CFPreferences could not connect to its daemon.

Preferences using the connection 0x0 will be volatile and will not be persisted to disk.

12/01/2016 20:10:41,900 xpcproxy[2036]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:41,900 xpcproxy[2036]: LaunchServices: Database mapping failed with result -10822, retrying

12/01/2016 20:10:41,900 xpcproxy[2036]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:41,901 com.apple.xpc.launchd[1]: (com.apple.photostream-agent[2036]) Could not find and/or execute program specified by service: 149: Could not find a bundle of the given identifier through LaunchServices: com.apple.photostream-agent


I think that the problem is photostream-agent. But I have no more iPhoto, and I don't find a com.apple.photostream-agent on my Mac

How I can remove this call from com.apple.pc.launchd ?

Thanks

iMac (21.5-inch, Late 2012), OS X El Capitan (10.11.2), Bad uninstall iPhoto

Posted on Jan 14, 2016 7:50 AM

Reply
Question marked as Best reply

Posted on Jan 14, 2016 8:29 AM

Please triple-click anywhere in the line below on this page to select it:

/System/Library/Caches/com.apple.xpchelper.cache

Right-click or control-click the highlighted line and select

Services Show Info in Finder (or just Show Info)

from the contextual menu.* An Info dialog should open. Close it. If instead of the Info dialog, you get a notice that "the item can't be found," ask for further instructions.

*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

20 replies

Jan 19, 2016 10:47 AM in response to jjtitan92

i'm having the same issue as @jjtitan92. I have two functional issues: Safari hangs for a while and puts up a beachball almost any time I click on something. The other is the "Backup Failed: There isn't enough space on Time Machine" that is reported on multiple threads. I don't think this one is relevant, but what's happening with Safari may be. This only started happening a few days ago, long after I upgraded to El Capitan.

Jan 19, 2016 11:40 AM in response to jjtitan92

Hello jjtitan92,

There is a misconception that the "Repair Disk" function of "Disk Utility" will physically repair the disk. It does not. It will only repair the logical structure of the data on the disk, i.e. the filesystem. If the disk is physically failing, Disk Utility cannot help. Like the SMART utility, it can even be harmful by giving users a "verified" message and making them think that there is no problem with the disk.


For disk errors, use the "duck test". If it looks like a failed disk, sounds like a failed disk, and acts like a failed disk, then it probably is.

Feb 10, 2016 6:29 PM in response to jjtitan92

I've solved this!


The problem is not with Spotlight, but with Launch Services. There are two steps to solving the problem:


  1. sudo mkdir /private/var/db/lsd
  2. sudo /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fra mework/Support/lsregister -kill -seed -lint -r -f -v -dump -domain local -domain system -domain user -domain network


The first one creates the folder that the launch services daemon needs to store the database. That's why LaunchServices is getting an -10822 error, because it can't create the database, so it keeps resetting the connection. The second command tells launch services to kill the old database and create a new one from scratch. Voila!

Same launchd error in console each 10 second

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