An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Previous Thread
Next Thread
Print Thread
DirectoryService borked !?
#12140 10/01/10 01:45 PM
Joined: Oct 2010
gjoseph Offline OP
OP Offline

Joined: Oct 2010
Hey there,

This is a bottle-at-the-sea type of message. 2 days ago, my mac started going bananas. Couldn't even start Activity Monitor, nor even a "top" in an already opened terminal. I managed to quit most applications, but I think I had to force the shutdown of the machine.

Since then, booting takes forever, and I can't login.

I've tried booting on the install dvd,
* resetting my password
* reinstalling the system
* messing about with dscl
* dropping various cache files

.. all to no avail.
I'd still to avoid having to backup all of my disk (whose content seems intact, except for... see further) format and reinstall. It seems the only issue is with DirectoryService. If I boot in single user mode, I can see in crashes/restarts "permanently" in system.log; I was hoping to find a way to simply rebuild the user database and my account. No google-luck so far.

If anyone here has any tip on how to proceed, I'd be grateful !

Cheers,


Re: DirectoryService borked !?
gjoseph #12141 10/01/10 02:00 PM
Joined: Aug 2009
Likes: 7
Offline

Joined: Aug 2009
Likes: 7
Did you check SMART status with Disk Utility or, better still, run a surface scan with TechTool Pro or Drive Genius? It's possible that the hard drive is failing.


Jon

macOS 11.7.10, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365
Re: DirectoryService borked !?
gjoseph #12145 10/02/10 12:18 AM
Joined: Aug 2009
Likes: 15
Online

Joined: Aug 2009
Likes: 15
Some details about your Mac and the OS it's running would be helpful, but, in the meantime, have you run Disk Utility > Repair Disk while booted from your install DVD or, even better, DiskWarrior, TechTool Pro, or Drive Genius?


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: DirectoryService borked !?
gjoseph #12162 10/03/10 02:34 AM
Joined: Aug 2009
Offline

Joined: Aug 2009
directory services is the registry of the macintosh. if your ds database is corrupt and causing ds to crash, you may be in for a very rough time. (unlike windows, it's extremely rare) I don't know of any tools for repairing that, and it can interfere with migrations and archive and installs.

I've ran into a couple instances of netinfo database (old version of ds) getting scrambled on a machine and causing me to have to do a full backup, erase, and restore accounts by hand.


I work for the Department of Redundancy Department

Moderated by  alternaut, dkmarsh, joemikeb 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.4.33 Page Time: 0.019s Queries: 22 (0.013s) Memory: 0.5843 MB (Peak: 0.6419 MB) Data Comp: Zlib Server Time: 2024-04-20 03:44:55 UTC
Valid HTML 5 and Valid CSS