Home Forums OS X Server and Client Discussion Open Directory Recover Corrupted LDAP DB

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #361212
    cyngus
    Participant

    Okay, somehow my LDAP directory ate itself, and I think it is now damaged. I’m trying to run db_recover on it, but I can’t figure out what blasted version of the Berkley database Open Directory (aka OpenLDAP) uses. Trying a couple of different version of db_recover I’ve found out that the log file is “version 7”. Does anyone know what version of Berkely DB uses “log version 7”? Is there any way to find out?

    Thanks,
    Justin

    #361217
    cyngus
    Participant

    Its my best theory that that’s what is going on. Maybe I should describe the situation a little more fully. The server was operating fine, and then it became unresponsive, spinning beach ball on the machine. I was able to bring up a force quit dialog, but unable to interact with it. I was connected via ssh from another machine, and was able to do anything that didn’t require a new process or thread to launch. I had to power off the server. When it came back, the Open Directory node wasn’t responding to connection attempts. When attempting to to access the node through Workgroup Manager I get the error that the node couldn’t be opened because of an unexpected error -14002. The system log indicates failed attempts to bind to the Open Directory node due to bad parameters or something (I can’t remember the exact message now, but can check tomorrow at the office) reported by the Directory Service process. The Open Directory log from Server Admin is recording connections when I attempted to connect with Workgroup Manager, but like I said, I just get an error from there. Database corruption is the thing that I suspect since the power off could have hosed it.

    As to send/receive mail, we don’t use this server as a mail server.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed