ssouzaatwilliams.edu

Q: Yosemite Server app hangs

I'm trying to migrate from an old MacPro running 10.6 Server to a newer MacPro and Yosemite Server. Migration assistant moved a lot, but failed to move the OD users, so I'm trying to do that manually. I installed the Yosemite Server app, but when I run it it hangs, saying "Reading Open Directory settings." I let it run ~24 hours before Force Quitting (the only option). I tried the suggestion at (OS X Server (Mavericks): Remove pre-release version before installing OS X Server - Apple Support), but it made no difference. Any suggestions?

Mac Pro, OS X Yosemite (10.10.3)

Posted on May 26, 2015 10:03 AM

Close

Q: Yosemite Server app hangs

  • All replies
  • Helpful answers

  • by jepping,Helpful

    jepping jepping May 26, 2015 11:35 AM in response to ssouzaatwilliams.edu
    Level 2 (430 points)
    May 26, 2015 11:35 AM in response to ssouzaatwilliams.edu

    Move the server.app to the trash, wait for the notification that says 'all services have been stopped'.

    Then reboot and download the server.app once more from the app store.

    When that's done, start the server.app and see what happens.

     

    If that doesn't work, quit server.app and issue:

    sudo serveradmin stop dirserv

    in the terminal, then start server.app again.

     

    Directory services will be stopped and you could import an OD archive, do you have one available from a backup?

    Goodluck

     

    Jeffrey

  • by ssouzaatwilliams.edu,

    ssouzaatwilliams.edu ssouzaatwilliams.edu May 26, 2015 11:53 AM in response to jepping
    Level 1 (0 points)
    May 26, 2015 11:53 AM in response to jepping

    I did not explicitly save an OD archive from the 10.6 machine (I thought that MA would do that for me), but I will look for instructions on that and give it a try.

     

    Thanks!

     

    Steve

  • by jepping,

    jepping jepping May 26, 2015 12:05 PM in response to ssouzaatwilliams.edu
    Level 2 (430 points)
    May 26, 2015 12:05 PM in response to ssouzaatwilliams.edu

    Migration Assistant will just migrate the current data to the correct folder, no archives will be made before or after.

    There will be archives available if you used TimeMachine in the past with your previous server, what kind of backup did you use?

    Goodluck

     

    Jeffrey

  • by ssouzaatwilliams.edu,

    ssouzaatwilliams.edu ssouzaatwilliams.edu May 26, 2015 12:10 PM in response to jepping
    Level 1 (0 points)
    May 26, 2015 12:10 PM in response to jepping

    I've been using Prosoft Data Backup 3, but I also made a TM backup just for migration. Where on that volume would an OD archive reside?

     

    Steve

  • by jepping,

    jepping jepping May 26, 2015 1:00 PM in response to ssouzaatwilliams.edu
    Level 2 (430 points)
    May 26, 2015 1:00 PM in response to ssouzaatwilliams.edu

    When you open up the timemachine folder, select one of the backup dates.

    Go to the terminal and change to your root user.

    Type cd and drag that folder in the terminal.

    Then type ls and you will see one of the folder is called var

    inside that folder there is a folder backups

    As root you will find a sparseimage inside that folder containing your OpenDirectory.

    Copy that image to your desktop and use that to restore your OpenDirectory.

    Goodluck

     

    Jeffrey

  • by ssouzaatwilliams.edu,

    ssouzaatwilliams.edu ssouzaatwilliams.edu May 27, 2015 6:38 AM in response to jepping
    Level 1 (0 points)
    May 27, 2015 6:38 AM in response to jepping

    That "backups" folder on the TM backup contained no files, so I created an OD archive on the old machine using

         sudo slapconfig -backupdb [pathto]/myODarchive

    and moved it to the new machine using

         sudo slapconfig -restoredb [pathto]/myODarchive.sparseimage

    Then reinstalled Server app, and running it got the same result - hangs reading OD settings.

     

    Anything else to try? I'm not looking forward to the [clean-install Yosemite (3rd time), install Server, manually create ~25 users, manually move their contents from the TM archive] process that I see in my near future.

     

    Steve

  • by jepping,

    jepping jepping Jul 5, 2015 1:20 PM in response to ssouzaatwilliams.edu
    Level 2 (430 points)
    Jul 5, 2015 1:20 PM in response to ssouzaatwilliams.edu

    Have you tried the latest Yosemite Server update?

    Goodluck

     

    Jeffrey