Announcement: Get Ready for macOS Mojave


With features like Dark Mode, Stacks, and four new built-in apps, macOS Mojave helps you get more out of every click. Prepare for macOS Mojave > https://support.apple.com/macos/mojave

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

Question:

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

Reply

Page content loaded

Jan 19, 2016 10:47 AM in response to jjtitan92 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 10:47 AM

Reply Helpful

Jan 19, 2016 10:58 AM in response to Cary Wolfson In response to Cary Wolfson

I haven't the functional issues that you say.

I Only have some errors reported by the console whithout any fuctionnal consequences


I Agree with etresoft. You should begin by using the apple utilities like disk util in the Applications/Utilities to verify your disk

Jan 19, 2016 10:58 AM

Reply Helpful

Jan 19, 2016 11:40 AM in response to jjtitan92 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.

Jan 19, 2016 11:40 AM

Reply Helpful

Jan 19, 2016 12:32 PM in response to etresoft In response to etresoft

Thank you everyone. If anyone cares to review, here are the results from Linc's script: http://pastebin.com/3ap3d1eH (this link will expire in two weeks).


Coincidentally, I had a previously scheduled appointment to rip apart this iMac and install an SSD (using an iFixIt kit), so I guess I'll be having the physical hard drive replaced as well.

Jan 19, 2016 12:32 PM

Reply Helpful
Question marked as Helpful

Feb 10, 2016 6:29 PM in response to jjtitan92 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!

Feb 10, 2016 6:29 PM

Reply Helpful (6)
User profile for user: jjtitan92

Question: Same launchd error in console each 10 second