Record of type dsRecTypeStandard:Config named: ‘ServicesInformationXXXX’ already exists

So I went to my development OS X.5.6 server yesterday and it was taking forever to do anything, with nothing but the spinning beach ball happening.

Looking at the logs, it seemed that servermgrd was having issues (also noted that DirectoryService was running at 100% cpu) trying to create/edit a OD record in the local node.

The following error appeared in the log:

Apr 17 09:20:21 tur-macdev1 Python[47]: Record of type dsRecTypeStandard:Config named ‘ServicesInformation’ already exists in /Local/Default. Trying with new name: ServicesInformation1

Apr 17 09:20:21 tur-macdev1 Python[47]: Record of type dsRecTypeStandard:Config named ‘ServicesInformation1’ already exists in /Local/Default. Trying with new name: ServicesInformation2

Apr 17 09:20:21 tur-macdev1 Python[47]: Record of type dsRecTypeStandard:Config named ‘ServicesInformation2’ already exists in /Local/Default. Trying with new name: ServicesInformation3

Apr 17 09:20:21 tur-macdev1 Python[47]: Record of type dsRecTypeStandard:Config named ‘ServicesInformation3’ already exists in /Local/Default. Trying with new name: ServicesInformation4

Apr 17 09:20:21 tur-macdev1 Python[47]: Record of type dsRecTypeStandard:Config named ‘ServicesInformation4’ already exists in /Local/Default. Trying with new name: ServicesInformation5

Apr 17 09:20:21 tur-macdev1 Python[47]: Record of type dsRecTypeStandard:Config named ‘ServicesInformation5’ already exists in /Local/Default. Trying with new name: ServicesInformation6

Apr 17 09:20:21 tur-macdev1 Python[47]: Record of type dsRecTypeStandard:Config named ‘ServicesInformation6’ already exists in /Local/Default. Trying with new name: ServicesInformation7

Apr 17 09:20:21 tur-macdev1 Python[47]: Record of type dsRecTypeStandard:Config named ‘ServicesInformation7’ already exists in /Local/Default. Trying with new name: ServicesInformation8

Apr 17 09:20:21 tur-macdev1 Python[47]: Record of type dsRecTypeStandard:Config named ‘ServicesInformation8’ already exists in /Local/Default. Trying with new name: ServicesInformation9

Apr 17 09:20:21 tur-macdev1 Python[47]: Record of type dsRecTypeStandard:Config named ‘ServicesInformation9’ already exists in /Local/Default. Trying with new name: ServicesInformation10

Apr 17 09:20:22 tur-macdev1 servermgrd[53]: Record of type dsRecTypeStandard:Config named ‘ServicesInformation’ already exists in /Local/Default. Trying with new name: ServicesInformation1

And this went on for quite some time, creating several thousand extra records in the local directory.
After checking the contents of theĀ /var/db/dslocal/nodes/Default/config directory, it would seems thatĀ /var/db/dslocal/nodes/Default/config/ServicesInformation.plist was for some reason empty.
To fix this error, I deleted all but one of the newly created ServicesInformationXXX.plist files, renamed it to ServicesInformation.plist and restarted the server. This seemed to do the trick and now the server runs ok.
As a side note, this record seems to have something to do with web services – blog, wiki etc. As stopping this services initially stopped the system trying to create this file.

5 thoughts on “Record of type dsRecTypeStandard:Config named: ‘ServicesInformationXXXX’ already exists

  1. :-/ Didn’t work out for us. I had about 90 thousand files in this directory, and the original ServicesInformation.plist was empty, but replacing it with one of, or even the newest of the generated ServicesInformationXXX.plist does no good :-/ Damn it.

  2. Did you make sure to change the plist key for name to match the filename? ie. if you had copied ServicesInformation32.plist then the name key would be “ServicesInformation32” this needs to change to “ServicesInformation”. Once I had done this then restarted, it all seemed to work ok.

  3. This same problem began here last week. I believe it was triggered when I tried to create a disk image of another server and ran out of space on the drive. This machine was nearing the 7000th copy (and I was nearing nervous breakdown stage) when I found your simple, perfect solution.

    So: thank you, thank you, thank you. If I had a firstborn, I would offer it to you.

    Now if I could get rid of the ‘org.apache.tomcat: Throttling respawn’ error every 10 seconds or so, I’d be a happy boy.

  4. Pingback: Macintosh-Admin » Blog Archive » Swamped by ServicesInformation Errors

Leave a Reply