Chapter 22

It Just … Sits … There

In This Chapter

arrow Avoiding the blame (righteously)

arrow Putting basic troubleshooting precepts to work

arrow Using Mark’s Troubleshooting Tree

arrow Getting help

I wish you weren’t reading this chapter.

Because you are, though, I can only surmise that you’re having trouble with your iMac and that it needs fixing. (The other possibility — that you just like reading about solving computer problems — is more attractive, but much more problematic.)

Consider this chapter a crash course in the logical puzzle that is computer troubleshooting: namely, the art of finding out What Needs Fixing. You also see what you can do when you just plain can’t fix the problem by yourself.

Oh, and you’re going to encounter a lot of Tips and Mark’s Maxims in this chapter — all of them learned the hard way, so I recommend committing them to memory on the spot!

Can You Troubleshoot? Yes, You Can!

Anyone can troubleshoot. Put these common troubleshooting myths to rest:

  • It takes a college degree in computers to troubleshoot. Tell that to my troubleshooting kids. They’ll think it’s a hoot because they have Apple computers of their own at home and at school. You can follow all the steps in this chapter without any special training.
  • I’m to blame. Ever heard of viruses? Failing hardware? Buggy software? Any of those things can be causing the problem. Heck, even if you did do something by accident, I’m willing to bet it wasn’t on purpose. It’s Mark’s Maxim time:

    tip.eps Don’t beat yourself up. Your iMac can be fixed.

  • I need to buy expensive utility software. Nope. You can certainly invest in a commercial testing and repair utility if you like. My favorites are Techtool Pro from Micromat (www.micromat.com) and Drive Genius 3 from Prosoft Engineering (www.prosofteng.com), but a third-party utility isn’t a requirement for troubleshooting. (I would, however, consider an antivirus application as a must-have, and you should have one already. Hint, hint.)
  • There’s no hope if I can’t fix it. Sure, parts fail, and computers crash, but your Apple Service Center can repair just about any problem. And (ahem) if you backed up your iMac (as I preach throughout this book), you’ll keep that important data (even if a new hard drive is in your future).
  • It takes forever. Wait until you read the Number One Rule in the next section; the first step takes but 15 seconds and often solves the problem. Naturally, not all problems can be fixed so quickly, but if you follow the procedures in this chapter, you should fix your iMac (or at least know that the problem requires outside help) in a single afternoon.

With those myths banished for good, you can get down to business and start feeling better soon.

Basic Troubleshooting 101

In this section, I walk you through my Should-Be-Patented Troubleshooting Tree as well as the Mavericks built-in troubleshooting application, Disk Utility. I also introduce you to a number of keystrokes that can make your iMac jump through hoops.

The Number One Rule: Reboot!

Yep, it sounds silly, but the fact is that rebooting your iMac can often solve a number of problems. If you’re encountering these types of strange behavior with your iMac, a reboot might be all you need to heal

  • Intermittent problems communicating over a network
  • A garbled screen, strange colors, or screwed-up fonts
  • The Swirling Beach Ball of Doom that won’t go away after several minutes
  • An application that locks up
  • An external device that seems to disappear or can’t be opened

To put it succinctly, here’s a modest Mark’s Maxim:

tip.eps Always try a reboot before beginning to worry. Always.

Try to save all your open documents before you reboot. That might not be possible, but try to save what you can.

If you need to force a locked application (one that’s not responding) to quit so that you can reboot, follow these steps to squash that locked application:

  1. Click the Apple (9781118862377-app.tif) menu and choose Force Quit, or press the maccmd.eps+Option+Escape keyboard shortcut.

    The dialog that you see in Figure 22-1 appears on your screen.

    9781118862377-fg2201.tif

    Figure 22-1: Force a recalcitrant application to take off.

  2. Click the offending application and then click the Force Quit button.

    If you can get everything to quit, you should be able to click the Apple menu and choose Shut Down (not Restart) without a problem.

If your iMac simply won’t shut down (or you can’t get the offending application to quit), do what must be done:

  1. Press and hold your iMac Power button until it shuts itself off.

    You have to wait about four seconds for your iMac to turn itself off.

  2. Wait about ten seconds.
  3. Press the Power button again to restart the computer.

warning.eps Note that you should not simply pull your iMac’s power cord out of the AC socket (or turn off your power strip) to turn it off.Pressing and holding the power switch on your iMac is a less destructive path to the same end.

After everything is back up, check whether the problem is still apparent. If you use your iMac for an hour or two and the problem doesn’t reoccur, you likely fixed it!

technicalstuff.eps Rebooting fixes problems because it resets everything — even your network connection. Rebooting also fixes problems due to brownouts or those notorious AC power flickerings that we all notice from time to time.

Special keys that can come in handy

A number of keys have special powers over your iMac. No, I’m not kidding! These keys affect how your iMac starts up, and they can really come in handy whilst troubleshooting.

Using Safe Boot mode

You can use Safe Boot mode to force OS X Mavericks to run a directory check of your boot hard drive and disable any Login Items that might be interfering with Mavericks. Use the Shut Down menu item from the Apple (9781118862377-app.tif) menu to completely turn off your iMac; press the Power button to start the computer. Then press and hold down the Shift key immediately after you hear the startup tone. After Mavericks has completely booted, restart your iMac again (this time without the Shift key) to return to normal operation.

Startup keys

Table 22-1 provides the lowdown on startup keys. Hold the indicated key down either when you push your iMac Power button or immediately after the screen blanks during a restart. (As I just mentioned, the Shift key is the exception; it should be pressed and held down after you hear the startup tone.)

Table 22-1 Startup Keys and Their Tricks

Key

Effect on Your iMac

C

Boots from the CD or DVD that’s loaded in your optical drive (if you have one)

Media Eject

Ejects the CD or DVD in your optical drive (if you have one)

Option

Displays a system boot menu, allowing you to choose the operating system and startup volume

Shift

Prevents your Login Items from running; runs a directory check

T

Starts your iMac in FireWire or Thunderbolt Target Disk mode

maccmd.eps+R

Boots from the Mavericks Recovery HD

maccmd.eps+V

Show OS X Console messages

maccmd.eps+S

Starts your iMac in Single User mode

maccmd.eps+Option+P+R

Resets Parameter RAM (PRAM) and NVRAM

Some of the keys/combinations in Table 22-1 might never be necessary for your machine, but you might be instructed to use them by an Apple technician. I’ll warrant that you’ll use at least the maccmd.eps+R startup key fairly often.

All hail Disk Utility, the troubleshooter’s friend

The Mavericks Disk Utility is a handy tool for troubleshooting and repairing your hard drive. You can find it in the Utilities folder within your Applications folder.

Fire up Disk Utility, click the volume that’s giving you a headache from the list at the left side of the window, and click the First Aid tab to bring up the rather powerful-looking window shown in Figure 22-2.

9781118862377-fg2202.tif

Figure 22-2: The physician of hard drives — the OS X Disk Utility.

In the left column of the Disk Utility window, you can see

  • The physical hard drives in your system (the actual hardware)
  • The volumes (the data stored on the hard drives)

    technicalstuff.eps You can always tell a volume because it’s indented underneath the physical drive entry.

  • Any CD or DVD loaded on your iMac
  • Disk images you’ve mounted
  • USB, Thunderbolt, or FireWire flash drives

For example, Figure 22-2 shows that I have one 1TB internal hard drive and one 500.11GB external hard drive. The internal hard drive has three volumes (Wolfgang, Johann, and Ludwig), and the external drive has one volume (Time Machine Backups).

technicalstuff.eps The information at the bottom of the Disk Utility window contains the specifications of the selected drive or volume … things like capacity, free space, and the number of files and folders for a volume, or connection type and total capacity for a drive.

Repairing disk permissions

Because Mavericks is built on a Unix base, lots of permissions can apply to the files on your drive — that is, who can open (or read or change) every application, folder, and document on your hard drive. Unfortunately, these permissions are often messed up by wayward applications or power glitches or application installers that do a subpar job of cleaning up after themselves. And if the permissions on a file are changed, often applications lock up or refuse to run altogether.

tip.eps I recommend repairing your disk permissions with Disk Utility once weekly. Although repairing your permissions may not fix every application you’ve installed, it still covers all Apple software (and stuff you’ve downloaded from the App Store). Figure 22-3 shows a permissions repair sweep on my internal hard drive’s volume.

9781118862377-fg2203.tif

Figure 22-3: A successful run, using Repair Disk Permissions.

Use these steps to repair permissions on your iMac’s hard drive:

  1. Make sure that you’re logged in with an admin account.

    Chapter 20 shows you how to log in as an admin user.

  2. Save and close any open documents.
  3. Click the Launchpad icon in the Dock; then click the Utilities (or Other) folder and click the Disk Utility icon.

    Alternatively, click Go⇒Utilities.

  4. Click the volume that you want to check.

    remember.eps You can repair permissions only on a boot drive.

  5. Click the Repair Disk Permissions button.

    I don’t worry about verifying. If something’s wrong, you end up clicking Repair Disk Permissions, anyway. Just click Repair Disk Permissions; if nothing pops up, that’s fine.

  6. To finish the process, always reboot after repairing permissions.

    This last step allows you to see whether a problem has been corrected!

Repairing disks

Disk Utility can check the format and health of both hard drives and volumes with Verify Disk — and, if the problem can be corrected, fix any error with Repair Disk.

technicalstuff.eps Using Disk Utility to repair your hard drive carries a couple of caveats:

  • You can’t verify or repair the boot disk or the boot volume. This actually makes sense because you’re using that disk and volume right now.

    If you have an external drive connected to your iMac that has a Mavericks boot volume, you can boot from the OS X installed on the external drive to check your current startup disk. Or you can boot your system from the Recovery HD partition and run Disk Utility from the menu. (To choose the startup volume, open System Preferences and click the Startup Disk icon, or restart your iMac and hold down the maccmd.eps+R startup key shortcut to boot directly to the Recovery HD partition.)

    Using one of these methods, you should be able to run Disk Utility and select your boot hard drive or volume, and the Verify Disk and Repair Disk buttons should be enabled.

  • You can’t repair CDs and DVDs. CDs and DVDs are read-only media and thus can’t be repaired at all (at least by Disk Utility).

    If your iMac is having trouble reading a CD or DVD, wipe the disc with a soft cloth to remove dust, oil, and fingerprints. Should that fail, invest in a disc-cleaning contrivance of some sort.

tip.eps I generally check my disks once every two or three days. If your iMac is caught by a power failure or OS X locks up, however, check disks immediately after you restart your iMac.

If you need to verify and repair a disk or volume, follow these steps:

  1. If you need to repair your boot drive and volume, save all your open documents and reboot from either an external drive or your OS X Mavericks Recovery HD partition.
  2. Click Launchpad on the Dock; then click the Utilities (or Other) icon.
  3. Click the Disk Utility icon.
  4. In the list at the left side of the Disk Utility window, click the disk or volume that you want to check.
  5. Click the Repair Disk button.
  6. If changes were made (or if you had to boot from a disc or external drive), reboot after repairing the disk or volume.

Mark’s iMac Troubleshooting Tree

As the hip-hop artists say, “All right, kick it.” And that’s just what my iMac Troubleshooting Tree is here for. If rebooting your iMac hasn’t solved the problem, follow these steps in order (either until the solution is found or you run out of steps — more on that in the next section).

Step 1: Investigate recent changes

This is a simple step that many novice Mac owners forget. Simply retrace your steps and consider what changes you made recently to your system. Here are the most common culprits:

  • Did you just finish installing a new application? Try uninstalling it by removing the application directory and any support files that it might have added to your system (or by running the uninstall program, if one is available), and then reinstalling it from scratch.
  • Did you just apply an update or a patch to an application? Keeping your applications current with the most recent patches and updates from the developer’s website is always a good idea, but an update can go awry. Uninstall the application and reinstall it without applying the patch. If your iMac suddenly works again, check the developer’s website or contact its technical support department to report the problem.
  • Did you just update Mavericks by using Software Update? Updating Mavericks can introduce problems within your applications that depend on specific routines and system files. Contact the developer of the application and look for updated patches that bring your software in line with the Mavericks updates. (And use the Automatically Check for Updates setting in the App Store System Preference pane to ensure that OS X is updated regularly.)
  • Did you just make a change within System Preferences? Return the options that you changed back to their original settings; then consult Chapter 6 for information on what might have gone wrong. (If the setting in question isn’t in Chapter 6, consider searching the Mavericks online Help system or the Apple support website for more clues.)
  • Did you just connect (or reconnect) an external device? Try unplugging the device and then rebooting to see whether the problem disappears. Remember that many peripherals need software drivers to run — and without those drivers installed, they won’t work correctly. (Not to mention that updated drivers may be available.) Check the device’s manual or visit the company’s website to search for software that you might need.

If you didn’t make any significant changes to your system before you encountered the problem, proceed to the next step.

Step 2: Run Disk Utility

The preceding section shows how to repair disk permissions on your Mavericks boot drive.

tip.eps If you’re experiencing hard drive problems, consider booting from your OS X Recovery HD partition to run a full-blown Repair Disk checkup on your boot volume. (If the drive turns out to be faulty and you’ve been backing up with the Time Machine feature built in to Mavericks, you can also completely restore your system after the new drive is installed!)

Step 3: Check your cables

Cables work themselves loose, and they fail from time to time. Check all your cables to your external devices — make sure that they’re snug — and verify that everything’s plugged in and turned on. (Oh, and don’t forget to check for crimps or even Fluffy’s teeth marks in your cables.)

tip.eps If a FireWire, Thunderbolt, or USB device acts up, swap cables around to find whether you have a bad one. A faulty cable can leave you pulling your hair out in no time.

Step 4: Check your Trash

Check the contents of your Trash to see whether you recently deleted files or folders by accident. Click the Trash icon on the Dock once to display the contents. If something’s been deleted by mistake, drag it back to its original folder and try running the application again.

I know this one from personal experience. A slight miscalculation while selecting files to delete made an application freeze every time I launched it.

Step 5: Check your Internet and network connections

Now that always-on DSL and cable modem connections to the Internet are common, don’t forget an obvious problem: Your iMac can’t reach the Internet because your ISP is down, or your network is no longer working!

A quick visual check of your DSL or cable modem will usually indicate whether there’s a connection problem between your modem and your ISP. For example, my modem has a very informative activity light that I always glance at first. However, if your iMac is connected to the Internet through a larger home or office network and you can’t check the modem visually, you can check your Internet connection by pinging www.apple.com, as follows (see Figure 22-4):

  1. Click the Launchpad icon on the Dock and then click the Utilities (or Other) icon.
  2. Click the Network Utility icon.
  3. Click the Ping button.
  4. Enter www.apple.com in the Address box.
  5. Click the Ping button.

    You should see successful ping messages similar to those in Figure 22-4. If you don’t get a successful ping and you can still reach other computers on your network, your ISP is likely experiencing problems. If you can’t reach your network at all, the problem lies in your network hardware or configuration.

9781118862377-fg2204.tif

Figure 22-4: Ping www.apple.com to check your Internet connection.

Step 6: Think virus

If you made it to this point, it’s time to run a full virus and malware scan — and make sure that your antivirus application has the latest updated data files, too. My antivirus application of choice is Virus Barrier 2013 from Intego (www.intego.com). (If a virus is detected and your antivirus application can’t remove it, try quarantining it instead, which basically disables the virus-ridden application and prevents it from infecting other files.) I can also recommend ClamXav 2, the antivirus application from www.clamxav.com. (If you like ClamXav 2, you can send a donation to the author.)

Step 7: Disable your Login Items

OS X might encounter problems with applications that you’ve marked as Login Items within System Preferences. In this step, I show you how to identify login problems and how to fix ’em.

Checking for problems

It’s time to use another nifty startup key (refer to Table 22-1). This time, hold down Shift after you hear the startup tone.

This trick disables your account’s Login Items, which are run automatically every time you log in to your iMac. If one of these Login Items is to blame, your iMac will simply encounter trouble every time you log in.

Finding the Login Item that’s causing trouble

If your iMac works fine with your Login Items disabled, follow this procedure for each item in the Login Items list:

  1. Open System Preferences, click Users & Groups, and then click the Login Items button.
  2. Delete the item from the list; then reboot normally.

    You can delete the selected item by clicking the Delete button, which bears a minus sign.

    When your iMac starts up normally with Login Items enabled, you discovered the perpetrator. You’ll likely need to delete that application and reinstall it. (Don’t forget to add each of the working Login Items back to the Login Items list!)

Step 8: Turn off your screen saver

This is a long shot, but it isn’t unheard of to discover that a faulty, bug-ridden screen saver has locked up your iMac. (If you aren’t running one of the Apple-supplied screen savers and your computer never wakes up from Sleep mode or hangs while displaying the screen saver, you found your prime suspect.)

Open System Preferences, click Desktop & Screen Saver, click the Screen Saver button, and then either switch to an Apple screen saver or drag the Start slider to Never.

tip.eps If this fixes the problem, you can probably remove the screen saver by deleting the application in the Screen Savers folder inside your OS X Library folder. (If the application resides in the Library folder within your Home folder instead, hold down the Option key while clicking the Go menu, and then click the Library menu item that appears to jump there directly. Now you can open the Screen Savers folder you find there.) If you can’t find the screen saver application at all, use Spotlight to search for it.

Step 9: Run System Information

Ouch. You reached Step 9, and you still haven’t uncovered the culprit. At this point, you’ve narrowed the possibilities to a serious problem, like bad hardware or corrupted files in your OS X System folder. Fortunately, Mavericks provides System Information, which displays real-time information on the hardware in your system. Click the Apple menu and choose About This Mac, click More Info, and then click System Report. Figure 22-5 illustrates a typical healthy result from one of the Hardware categories, Graphics/Displays. Click each one of the Hardware categories in turn, double-checking to make sure that everything looks okay.

9781118862377-fg2205.tif

Figure 22-5: Check your iMac hardware from System Information.

remember.eps You don’t have to understand all the technical hieroglyphics. If a Hardware category doesn’t return what you expect (like an attached external drive) or displays an error message, though, that’s suspicious.

Okay, I Kicked It, and It Still Won’t Work

Don’t worry, friendly reader. Just because you’ve reached the end of my iMac tree doesn’t mean you’re out of luck. In this section, I discuss the online help available on the Apple website as well as local help in your own town.

Apple Help Online

If you haven’t visited the Apple iMac Support site yet, run — don’t walk — to www.apple.com/support/imac/intel, where you can find

  • iMac Troubleshooting Tips, which identifies symptoms being displayed by your iMac and offers possible solutions
  • The latest patches, updates, and how-to tutorials for the iMac
  • iMac and OS X discussion boards, moderated by Apple
  • Tools for ordering spare parts, checking on your remaining warranty coverage, and searching the Apple Knowledge Base
  • Do-it-yourself instructions (PDF files) that you can follow to repair or upgrade your iMac

Local service, at your service

In case you need to take in your iMac for service, an Apple Store or Apple Authorized Service Provider is probably in your area. To find the closest service, launch Safari and visit

https://locate.apple.com/

Click the reassuring-looking Service button and choose Mac from the Select a Product pop-up list box to search by your current location, city and state, or zip code. The results are complete with the provider’s mailing address, telephone number, and even a map of the location!

Always call your Apple service provider before you lug your (albeit lightweight) iMac all the way to the shop. Make sure that you know your iMac’s serial number (which you can display in System Profiler) and which version of OS X you’re using.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.122.4