You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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 Top-ranking reply

Posted on Feb 10, 2016 6:29 PM

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!

20 replies

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