20 Troubleshooting Steps for OS X
So your OS X Mac isn't working quite right. What should you do? Here's a list of 20 basic steps to try.
FIRST AID
01 Restart
02 Check/fix the filesystem
03 Make sure you're not running out of free space on the System volume
04 Repair permissions
05 Create a new user account, and see if the problem persists there
06 Clear system & user caches
07 Disable Application Enhancer, if you're running it
08 Startup in SafeBoot mode, and see if the problem persists there
09 Reset system firmware
10 Unplug all USB, Firewire devices except Apple mouse
MORE SERIOUS TROUBLESHOOTING
11 Reapply the latest combo updater
12 Run the Apple hardware diagnostic CD
13 Check the hard drive for bad blocks
14 Take out 3rd party RAM
15 Unplug 3rd Party PCI cards
16 Reset PMU
17 Archive and reinstall the OS
18 Reinstall the system from scratch
19 Send the machine back to Apple
20 Additional Notes
Read the rest of the hint for more detail on each of these steps...
FIRST AID
01 Restart
If a restart cures the problem, and the problem doesn't reappear, your troubleshooting work is done. Congratulate yourself on a hard task well done.
02 Check/fix the filesystem
There are many different ways to do this. You can boot off the OS X Installation CD, run Disk Utility, and select Repair Disk. If you don't have access to the CD, you can also run the UNIX command fsck from the Terminal in Single User Mode. The specific sequence of how to do this varies depending on what version of OS X you're running. Go to Apple Support for specific instuctions.
Disk Utility will report back whether or not there were any problems, and whether or not it could fix any problems. If it is unable to fix a problem, then you need to get a 3rd party utility, or reformat the disk before doing any other troubleshooting. NOTE: reformatting the disk will erase it, so a 3rd party utility is usually a better idea.
You can also use a 3rd party utility like DiskWarrior or Norton Disk Doctor These 3rd party utilities can fix some kinds of errors that the free Apple tools cannot. (But don't ever install the Norton components on your hard drive - just run the tools by booting off the Norton CD.)
If there were errors that needed to be fixed, and your software reports that they were all successfully fixed, you may have solved your larger problem.
03 Make sure you're not running out of free space on the System volume
When the system is running out of memory, it needs to write swapfiles to your hard drive. If your hard drive is already almost full, then the system will bog down into unusability. Keep tabs on how much free space you have on your boot disk by getting info on that disk in the Finder. Alternatively, you can use the excellent freeware DiskSpace application, which will give you a display of free space on your menubar.
You should have at *least* 500MB to 1GB of free space at all times. Realistically you would want more than that, especially if you plan on burning CD/DVD's. Remember that even if you have more free space than this when you first booted, swapfiles can eat up diskspace quickly - 2GB or more of swapfiles is not unheard of. So it's a good idea to have at least 3GB of free space immediately after booting.
To fix: trash unneeded files and applications off of your System volume to free space. And try to create fewer swapfiles by adding more RAM or running fewer applications simultaneously. Restarting will temporarily get rid of all swapfiles, but they'll come back.
04 Repair permissions
Run this in Disk Utility in your normal login. Open Disk Utility in the Applications/Utilities folder. Select the boot drive (probably "Macintosh HD"), click on the First Aid tab and click the Repair Permissions button. See if this cures the problem.
05 Create a new user account, and see if the problem persists there
You do this by creating a new user in the Accounts tab of System Preferences, logging out of your main account, and logging into the new account. If this makes the problem go away, it means the cause is in your user account.
While it's good that we know approximately where the problem is, unfortunately there's a lot of stuff in the user account to pick through. And now you will have to do some serious troubleshooting. Oftentimes, this will be a preferences file in ~/Library/Preferences/. If you can pinpoint that one bad file, you're done. If you have no idea what's going on you can try the laborious process of keeping that new account you made, and bringing over the files one by one until you find the one that was the problem. Even easier is to ask an expert if it's a frequently seen problem, first letting them know that it was a problem in your user account.
06 Clear system & user caches
Use a third party tool like Cocktail or Jaguar/Panther Cache Cleaner to deep clean all caches. Reboot. See if this cures the problem.
07 Disable Application Enhancer, if you're running it
Haxies from Unsanity. They're great, and they're pretty well programmed, but they're hacking the system in non-standard ways. Unsanity claims that APE will be disabled by holding down the shift key while logging in. However, if you want to be ultra-safe about it, download the APE installer from Unsanity and use the 'uninstaller' option to remove all traces.
08 Startup in SafeBoot mode, and see if the problem persists there
You do this by holding down the shift key during bootup. If this makes the problem disappear, then it is a problem with Extensions or StartupItems. And most likely, those would be 3rd party Extensions or StartupItems. Most of those are kept in /Library/Extensions/ and /Library/StartupItem/. Move those items to the desktop, and see if you can isolate which one was causing the trouble. There are also some 3rd party extensions that are *annoyingly* installed in /System/Library/Extension/, however you must be very very careful mucking around in there, as almost all of those Extensions are supplied by Apple, and your machine will not function without them. Use common sense, and ask the experts.
09 Reset Firmware
Resetting your firmware will reset all firmware settings back to factory defaults. Things like the boot rom, power management, etc. are found in the firmware. To do this hold down the following buttons on your keyboard at boot up: cmd+opt+O+F. Once in open firmware type these commands:
reset-nvram (hit return) reset-all (hit return once more, the system should reboot)10 Unplug all USB, Firewire devices except Apple mouse
Mac OS X Hints
http://hints.macworld.com/article.php?story=2004011205473937