A Missing Dock and Lesson in Basic Troubleshooting

My young niece called me last night for help, as friends and family often do, with her grandmother’s MacBook. The Dock and Dock preferences were suddenly inaccessible. While she could navigate through the Finder and launch applications, she could not enjoy the convenience of the dock. She’s not a Mac user, and was in a panic thinking she’d ruined Grandma’s computer.

Troubleshooting began by shutting down the computer and safe-booting it by holding the shift key immediately after the startup chime. Safe booting will disable any third party or extraneous Apple kernel extensions (kexts), and will disable automatic login. It’ll also do a file system consistency check equal to the “repair disk” function of Disk Utility if booted off your computer’s restore disks. Of course, the computer belonging to Grandma, she did not know the password. Another normal restart revealed that Grandma had automatic login enabled, so we were free to navigate and troubleshoot.

First step was to check to see if the restart fixed the issue (it didn’t). I then directed her to Activity Monitor, where I asked her to show All Processes from the Show pull-down menu. Filtering by the %CPU field revealed nothing unusual, so I asked to quit Activity Monitor and navigate to ~/Library/Preferences and delete com.apple.dock.plist. This revealed another problem: she was unable to modify anything in this folder.

I checked the folder’s permissions, and they were set properly. The only option I had was to use Terminal to delete the file. My niece deftly navigated to the upper-right corner of the screen to type Terminal into Spotlight. With terminal open, I had her type the following (if you ever need to do this, substitute your user’s name for “nana”).

rm /Users/nana/Library/Preferences/com.apple.dock.plist

and then

killall Dock

This removed the preferences for the Dock, and then restarted the Dock process. The Dock popped right up at the bottom of the screen, with all the icons from before.

I can’t say what corrupted those specific files, and it’s rarely the case that I can. The theory behind this step is to remove an application’s or processes property list (plist, or preference) file so it can be regenerated. If something is not behaving as it should, this is often the troubleshooting step that resolves problems.

Similar Posts

  • Backing Up vs Data Recovery Costs

    One of the toughest things a technician has to do is tell customers that their hard drive has failed and recovering the data will likely cost thousands of dollars. A Small Dog customer brought in her 24-inch iMac earlier this month because it would not start up. It was on the bench and diagnosed as a failed hard drive a few hours later, and we contacted her with a few options: replace the hard drive under warranty and return the failed drive to Apple, or send the drive to DriveSavers for professional recovery.

    DriveSavers is widely acknowledged as the most capable and best-equipped data recovery firm in the world, and our customer was happy to receive an external hard drive with 100% of her data mere days after sending in the toasted one. She was not happy about the bill, though, which was more than the cost of her computer!

    We spoke at length on the phone about how all hard drives fail eventually and how she needs to have a backup system in place. She clearly understood what I was saying, and I made it clear that our conversation was not really about sales but about her protection. No backup drive was purchased.

    Three weeks later, the warranty hard drive replacement has failed again. She didn’t back it up and has lost three weeks of work and simply cannot afford the pricey recovery again.

    David Lerner, an owner of the preeminent New York City Apple Specialist and repair shop Tekserve, has in his email signature “May you have 1,000 backups and never need one.” It’s a mantra we all should take seriously.

    This is just one more sad story about 100% preventable data loss. Do yourself a favor and get a Time Capsule, an external drive, even email important documents to yourself or stash them on your iDisk. A $200 Time Capsule is much cheaper than a $2200 data recovery!

    Do yourself a favor… (be sure to click the green links on the product page to view all specials)
    Time Capsule 500GB from $199.99
    Time Capsule 1TB from $349.99

  • The Trials of Data Recovery

    Data recovery is a service that doesn’t always yield results, and having done it a few times, I know that whenever a hard…

  • All About The PMU

    This article was originally published in Tech Tails, our weekly “techy” newsletter. You can subscribe to it, and our other newsletters, at www.smalldog.com/newsletters….

  • Sharing Your iTunes Library

    If you own more than one computer, having two separate iTunes libraries can become frustrating and confusing. Luckily, iTunes has the ability to…