"The connection to service named com.apple.lsd.modifydb was invalidated"

I have a MacPro Mid 2010 5,1 running 10.13.4, Boot ROM version MP51.0089.B00. I noticed the problem about a month ago when I would be in normal mode and the computer would crash after attempting to do two things at once, like have the internet open, then open a random app...the pizza wheel would spin and I'd have to press the power button to bring it back up. The problem got quickly worse so that every time it would come back up, it would crash after a few minutes. Going into Safe mode however and the Mac seemed to be fine. I checked in Activity Monitor and 'secd' and 'lsd' both took up over 120% of the CPU. In Console I kept getting the continual message "The connection to service named com.apple.lsd.modifydb was invalidated". I noticed that the Security Update 2019-002 10.13.6 was available so I tried to do the update thinking that this might help, and although it would go through the motions of downloading and restarting, the Mac was still in 10.13.4 with the update still in the 'Updates Available' area of the app store. I then booted into Recovery Mode and ran Disk Utility and ran First Aid on all my volumes and everything came back ok. I also used my original start up disk and ran the extended Apple Hardware Test, and after an hour and half, it came back as okay as well. I also tried to install the Combo version of the High Sierra, but this also either did not help or update the computer. Finally tried a PRAM and SMC reset, in addition to a virus scan, which also came back as clean. Now run out of ideas I thought I'd do a clean install of High Sierra so I wiped my SSD (which I use for the OS and apps) and my HDD (to store everything else) and reinstalled it using a USB backup. With just High Sierra installed, and nothing else, the computer would work fine, no issues at all. So I decided to bring back everything from a Time Machine backup from over a month ago (when I believed my system was running okay), but it's back to the same constant "The connection to service named com.apple.lsd.modifydb was invalidated" message in Console with Activity Monitor Showing CPU usage at over 120% for 'secd', basically right where I started again. A call into Apple offered no help since they said I've done pretty much everything that they would have suggested. Is there anything else that I can do?? Please help!!


Mac Pro, macOS 10.13

Posted on May 22, 2019 7:28 AM

Reply
Question marked as Top-ranking reply

Posted on May 23, 2019 8:57 AM

Safe Boot from the HD, (holding Shift key down at bootup), does the problem occur in Safe Mode?


You may have better luck doing all this in Safe Mode.


Avast has been known to cause big problems in OSX. Remove per their instructions.


Get rid of any Symantec/Norton items.


Unistall Trusteer.


Do you really need WD drivers? Dealing with NTFS volumes maybe?


I'd remove all those Startup Items: except the FXLicense Manager.


Whew, f-secure also??? more than 1 Anti-virus app is plenty of problems, no idea on f-secure itself.


Oh wait... fsavd (10) 626.04 % (? - /usr/local/f-secure/fssp/sbin)... uninstall it.


I'd remove the very old...

com.micromat.TechToolProDaemon.plist

com.prosofteng.DriveGenius.locum.plist

xxx.qnation.PeerGuardian.locum.plist


OH NO, get rid of MacKeeper!


o1dbrowserplugin is a fake plugin a disguised replacement for oldbrowserplugin


Delete all those plists under Executable not found.


To get rid of Spigot Searchme, try  Malwarebytes…


https://www.malwarebytes.com/mac/ m

Similar questions

34 replies

Jun 4, 2019 11:57 AM in response to BDAqua

Thanks for checking on that keychain issue for me. It must have been something we checked on a long time ago under some setup page, but I was unware it was something I was actually using until now!

As far as the OS update, on my Mac I use an SSD drive for my OS and apps, and another regular HDD to store all my movies, photos, etc, and another HDD for my Time Machine, all being internal.

Jun 4, 2019 8:09 PM in response to BDAqua

Yes, that is exactly the screen that I got! But I’m a bit confused...so if I hit “Delete from this Mac” but then bring the file back from TM, I should be okay? And also why is it asking to delete from my Mac when this screen is within the iCloud preferences? You would think if I wanted to delete from iCloud, it should retain the file on the Mac?? And where in TM do I retrieve this file from?

Jun 5, 2019 9:20 PM in response to greg sahli

Thanks for helping out Greg! I checked out the /etc/sysctl.conf file and it belongs to the TunnelBlick app which is a free VPN creator app. When I double clicked it, it comes up with a warning message from the app basically saying that the VPN configuration you are trying to install may take control of your computer and do you still wish to install it. So I think it’s a safe file. Just in case, I removed it and the app still worked okay so I put it back since I think it’s an important warning mechanism. As far as the hosts file goes, everything in there all seems to check out as i recognize them all, except for the last entry:

# 74.208.10.249 gs.apple.com

Not sure where it came from or what I should do with it....

but as I mentioned before, when I try the 10.13.6 update, it downloads the entire thing through the software updater, asks to do the reboot, does the reboot, comes back up fine, but when I check, it still says the 10.13.6 update is available! I tried it again tonight and still no go...

Jun 5, 2019 9:26 PM in response to BDAqua

Ok I think I understand now! I clicked on the box to uncheck the Keychain, then told it to Keep on the Mac, then rebooted, but the ‘secd’ was still there for about five minutes again when it came back up. So turning off iCloud altogether solved the Safaribookmarkssyncagent issue, but turning off Keychain didn’t help with ‘secd’. :/

Oh and when I rebooted, my Time Machine disappeared from my desktop again!

Jun 7, 2019 12:04 PM in response to BDAqua

I see that link refers to Cydia, but no my iPhone is not jailbroken. Lol

Ive noticed other posts with references to it, some people seem to have it, some don’t, others with a slightly different IP address in front of it. Do you guys have it in your hosts file? It shouldn’t actually be doing anything anyways in mine since it has the # in front of it, correct?

Ill delete it anyways and reboot and see if it makes any difference...

Jun 7, 2019 12:19 PM in response to Mojo27

My hosts file is 1,234 lines long, 34.2K, & does not Have it.


I believe the original one was...


##

# Host Database

#

# localhost is used to configure the loopback interface

# when the system is booting. Do not change this entry.

##

127.0.0.1 localhost

255.255.255.255 broadcasthost

::1 localhost

fe80::1%lo0 localhost


Correct, the # in front should make it a comment.

Jul 22, 2019 5:47 AM in response to BDAqua

So, my computer still won't update out of 10.13.4, but has been running very well otherwise for the past month and a half. Until last night. Now that is the least of my worries. I was on my computer last night when all of a sudden the screen went grey with straight white lines running across it, then after about 20 seconds, the computer shutdown and rebooted itself and was stuck trying to bring itself back up again, with the monitor now being completely black (as in no signal getting to it). I tried manually shutting it on and off with the power button, trying the various reset commands (Safe mode, PRAM reset etc...) but no luck. I'm guessing my video card has suddenly gone, but how do I confirm this? Could it also be some other piece of hardware such as a RAM card or the motherboard itself?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

"The connection to service named com.apple.lsd.modifydb was invalidated"

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