If users are unable to log on to their network accounts, it is possible that the OSX server has crashed. More often than not, this is catastrophic (data-wise) and will require reinstallation of the OS and restoration from backups.
Initial troubleshooting steps
- Try to connect
- Option A: Log in via Screen Sharing from another Mac
- Option B: Log in via SSH
- The server can be via SSH reached at 216.128.150.40
- Once logged in
- Check logs (mostly useless, require more information on which logs to check, etc.)
- Reboot the server by power cycling, or performing a restart while logged in.
- This will most likely render the server completely unreachable, at which point you'll need to move to recovery.
- Connect a monitor, keyboard, and mouse to the server
- Reboot it, and hold down Command (⌘)-Option(alt)-R to boot into recovery mode.
- If you're using a Windows keyboard, this is Win-Alt-R.
- Select Disk Utility
- Drives are listed in the following fashion:
- Physical Drive
- Physical Drive
- Physical RAID Array
- Select each drive in the list and run disk verification.
- Disk verification is most likely to succeed on the individual physical disks and logical disks, and most likely to fail on the RAID array
- If prompted, run disk repair
- If disk repair fails, it will probably prompt you to reformat, reinstall the OS, and restore from backup.
Reformatting the hard drive
- Select the Logical RAID Volume.
- Select the Erase tab.
- Format should be Mac OS Extended (Journaled)
- Click the Erase button and confirm the prompt that pops up. Once it completes the reformat, you can move on to reinstalling the OS.
Hopefully you have a bootable thumb drive with an installation utility for the latest version of OSX, or the version of OSX you wish to be running. If not, this guide is not for you. Google that.
- Plug the bootable thumb drive into the server
- From within Recovery Mode, click the Apple icon in the top left corner and select Startup Disk
- Select the thumb drive volume that appears in the Choose Startup Disk dialog.
- Click Restart and confirm the prompt that pops up.
- The server should now reboot into the installation utility.
- Once the installation utility comes up, select Continue.
- Select Continue on the EULA page and select Agree when the prompt pops up.
- You will be presented with a choice of disks to install on. Select the RAID volume that was previously configured and click Continue
- DO NOT SELECT THE THUMB DRIVE YOU ARE INSTALLING FROM.
- Installation should begin, and once completed, the Mac should reboot.
There are several options for restoring from backup. Not all of them may work for your situation, and you can expect to spend several hours waiting for a restoration to complete.
Restore during post-reinstallation configuration
This option may not be the best option, as it can potentially only present the most recent restore point which may be outside of the scope you are looking to restore from. That said, this is probably the best option of the three, and if the restore point is outside of the range you need, or is missing files, you will need to follow up with a Restore Using Time Machine.
- Once installation is done, you will be presented with several configuration options. Configure them appropriately until you get to the Transfer Information to this Mac section.
- Select From a Mac, Time Machine backup, or startup disk.
- Select the Time Capsule server as the source.
- When prompted for login credentials, if the username is incorrect, the login prompt will "bump" indicating a failure. If the password is incorrect, you will be presented with a warning that "There was a problem connecting to Time Capsule. Contact your system administrator."
- Select the most recent backup available and click Continue to begin restoration
Restore using Time Machine
This option may not be the best option, as there may be critical files that you need that can only be restored while the OS is not using them, which only occurs when reinstalling the OS or when in Recovery Mode.
- Open a Finder window
- From the menu bar at the top of the screen, select Go and then select Computer.
- Alternatively, the shortcut key is Shift-Command(⌘)-C.
- Navigate to the primary OS drive (Mirror).
- Launch Time Machine from Spotlight Search, Applications, or if present, click the icon at the top right hand side of the screen that looks like a clock with a counter-clockwise arrow and selecting Enter Time Machine.
- The Finder window you opened should center on the screen and will be able to scroll back through backup repositories.
- Find the files that you need to restore, select them, and press the Restore button.
- NOTE: Files in use by the operating system, such as the Administrator user directory or any hidden system directories cannot be restored.
- Once Restore is selected, Time Machine will copy the information from the backup to the correct location. Depending on the amount of data to transfer, this may take several hours.
Restore from Recovery Mode
This might appear to be an option, but it doesn't work. Don't do it. Ever.