Showing posts with label troubleshooting. Show all posts
Showing posts with label troubleshooting. Show all posts

Wednesday, May 09, 2012

YouTube5 Extension Trouble

This fixed my issue with the YouTube5 Safari extension! Thanks!

If you’re having trouble with youtube playing with the youtube html5 player please try going to http://www.youtube.com/html5 and opting out of the youtube html5 test.

[From Vertical Forest :: YouTube5]

Saturday, March 24, 2012

HIUTIL Using 90+% CPU

You may run into this issue after upgrading to Lion or after doing some system maintenance that deletes the Help system files (same thing with Spotlight which is managed by mdworker). If that happens, just let it run until it's finished.

HIUTIL and MDWORKER CPU. Immediately after installing Lion, and over a period of a few hours, the hdutil and mdworker processes will be using up 90% to 100% of your CPU making the computer very slow. These tasks are used to update the Spotlight index and help file index. So, it’s best to wait until these programs have completed their tasks before continuing to work on the computer.

[From Apple OS X 10.7 Lion Installation Guide and Usage Tips – Including How to Create a Bootable DVD or USB Drive | ResourcesForLife.com]

Sunday, October 23, 2011

iPhoto No Longer Recognizing iPhone?

If you moved to iOS 5 on your iPhone and downloaded the latest version of iPhoto (that allows for Photo Stream using iCloud), you may have noticed that your iPhone is no longer recognized by iPhoto when you physically plug it into a Mac running Lion. iOS 5 brought all sorts of new features, including WiFi sync and automatic download of your phone's new photos over the last 30 days using Photo Stream (part of iCloud). But with that power comes the inevitable hiccups.

These new features and conveniences can create a problem if you had old photos hanging around on your iPhone that hadn't been transferred to iPhoto.

You might think, "Big deal, I'll just use the wang-bang new iCloud to transfer my old photos." Nope. Only new ones. What I did to fix this was to follow some of the information in the troubleshooting link below. The primary fix for me was unplugging and replugging the docking station from my Mac Pro. That seemed to fix it and now my iPhone is recognized by iPhoto, even with Photo Stream and WiFi syncing enabled. Time will tell, but always open up Image Capture to see if your computer is recognizing your iPhone's physical connection (via USB).

Try using the photo-management software built in to your computer's operating system:

Mac OS X: Open Image Capture (located in the Applications folder).

[From iOS: Unable to import photos or device not recognized as a camera]

Wednesday, October 19, 2011

Lion-to-Lion File Sharing Troubles: Fix!

After upgrading our machines at home to Lion, I discovered that AFP file sharing no longer functioned. I would get various errors when trying to connect from one machine to another. The errors were things like "too many users connected." Well, after much research (apparently there are many problems with Lion's implementation of AFP and SMB), I found that deleting the preference file referenced below and rebooting fixed my file sharing issues.

I had what seems to be the same problem, and I think I solved it: In /Library/Preferences/com.apple.AppleFileServer.plist there were two keys, maxConnections and maxGuests, that were set to 0. Looked like this:

maxConnections 0
maxGuests 0

I changed the values to 10, and it seems to be working now.

[From Unable to share files with other Macs...: Apple Support Communities]

Sunday, August 28, 2011

OS X Lion: Syncing Contacts with iPhone

I guess you're thinking that this will be another commentary on OS X Lion's really ugly, new Address Book interface (along the lines of Lion's equally ugly, new iCal interface). No, it won't be that, although I am among those who don't like the change to the faux leather look (a GUI design idea that went stale about 10 years ago).

I'm talking about the Address Book's internal changes that costed me HOURS of work to get things functioning normally again…specifically, syncing information to my iPhone.

Here's the story: I thought I would be smart about my Lion upgrade. First, I waited until version 10.7.1 to go for it. Then, I ordered a brand new 1TB hard drive to install in my Mac Pro. I used Onyx to really clean up my Snow Leopard install, and then I proceeded to use Carbon Copy Cloner to clone my SL drive to the new 1 TB drive. Now I was ready to upgrade that new drive to Lion, keeping my original SL drive as a backup. Smart, huh? But Apple would get the last laugh.

I upgraded as described and everything seemed great! I love Lion's new zippiness and several of the features (though Launchpad is fairly useless for me). Then, I plugged my iPhone 3GS into the dock and synced normally with iTunes. A first glance and everything seemed fine. Wrong! I received a text message from my wife and noticed that it had her number listed instead of her name. What was this? I looked through my Contacts on the iPhone and noticed that NO CONTACTS HAD PHONE NUMBERS!!! All the other information was there: addresses, emails, notes. Just not the most important bit needed in a phone--the damn phone numbers!!!! A glance through the Address Book on the Mac showed that all the phone numbers were still there. They just wouldn't sync.

I tried all the usual troubleshooting stuff, to no avail. Realizing that my issue had something to do with syncing, I followed Apple's own guidance for advanced syncing issues. All of these steps did not help, initially, because they failed to take into account the iPhone itself. I also tried iTunes and replacing all the contacts on the iPhone, which also did not fix the issue…still no numbers. I even posted on Apple's community web site for help and got no takers. So, I went back to Apple's advanced syncing troubleshooting article and went about it from a different angle. As I touched on earlier, they never really brought the phone into the discussion much, other than saying sync normally after the troubleshooting steps.

Thinking I had an epiphany, I toyed with Address Book preferences--specifically the phone number format (which is a bit buggy at the moment); that was also ineffective. So, I decided to backup my Address Book into an archive, copy a vCard for all my contacts and groups, and then delete everything to do with Address Book from my Mac except the application--just as the article describes (remove caches, Application Support folder, and preferences). The difference is that--after doing all those steps--I also synced the phone and made sure that all my contacts were deleted from the Contacts app. I now had a virgin Address Book and a virgin Contacts app on the iPhone. From here, I reimported my contacts using the vCard into Address Book. Apple's instructions for recreating groups did NOT work; maybe it worked before Lion, but not now (this was really frustrating…trying to easily recreate groups as they described resulted in a huge amount of wasted effort, with groups that appeared reconstituted but with contacts that disappeared after restarting Address Book). So, I had to manually recreate my groups, which took HOURS (as I said). I used Quick Look to help me do this; highlighting a vCard in the Finder and pressing spacebar gives you a look at all the contacts inside each group. Then it's just a matter of searching for them in Address Book and then adding them to the recreated group. A huge waste of time!

I also need to add that I used my Address Book with Dropbox, but moving my Application Support folder back to the Library did not fix the issue either. Dropbox was not the culprit.

I imagine it's related to the coming iCloud and the changes required for syncing to that medium, but who knows. Ironic that the most important bit of information on a phone--the numbers--were omitted from the syncing process, leaving me with an essentially useless phone.

Tuesday, May 31, 2011

10.6.7 -> Trouble with AddressBookSync

I'm not talking about the little applications you can download to sync up Facebook friend profile pictures with your AddressBook database. I'm talking about an app hidden in the Resources of the System Framework that's used to sync contacts between various devices, including the iPhone. Mine inexplicably went nuts recently and was crashing like crazy with every iPhone sync attempt. A Google search yielded practically nothing, so I knew I had a unique problem. I tried all the typical troubleshooting steps to no avail, including a deletion of preference files. So, here's what finally fixed it:

I used Pacifist to copy the System Framework called AddressBook onto my desktop from the 10.6.7 Combo Updater. I deleted the original in the /System/Frameworks/ folder and replaced with this one. I noticed that the AddressBookSync app was smaller in the Updater, so something obviously went wrong in the update process. After copying the new Framework into the proper location from my desktop, I repaired permissions and voila...no more crashes.

Monday, July 12, 2010

Airport Extreme Freezes and Connection Slowness

Not even a year ago, we replaced our old Netgear Ethernet Router and old Airport Express with a nice, shiny, new Apple Airport Extreme. Lot's o' promise. The main problem (apart from other minor hiccups you'll find on here) has been that we typically have had to soft reset the unit daily, because the connection would become completely unresponsive--including Ethernet and wireless connections. So, it was either the cable modem (which worked fine with our old router) or the Airport Extreme, which judging from a Google search is giving more users than just me fits. So, I've played with all sorts of settings, including turning off IPv6 in the unit and on all the computers in the house; that didn't seem to fix anything.

However, I may have just made some changes that greatly improved my download speed while also eliminating the need to reset the AEBS each day! We'll see if my "fix" holds up. But the speed improvement is a plus.

First, I changed from "Automatic" to 100 Mbps/Full Duplex in the Airport Utility and restarted the AEBS:

Next, I changed similar settings in System Preferences->Network ("Automatic" to "Manually"):
Speeds via speedtest.net showed a dramatic improvement for download:

Then, I finally found the culprit: The automatic MTU!!
I couldn't believe it. Such a stupid, basic cause of such a big problem. This is most certainly a BUG.

To fix the MTU:

1. Apple Menu > System Preferences... then Network.

2. On the left, choose Ethernet , then Advanced... on the bottom.

3. Choose Ethernet tab:
. . . Configure: Change from Automatically to MANUALLY.
. . . MTU: Change from Standard to CUSTOM. Put 1452 then click OK. Then Apply at the bottom.

[From Apple - Support - Discussions - A fix for random, slow, intermittent ...]

Saturday, July 03, 2010

1Password Slow Safari Starts and Command Key Sluggishness

I've had these issues for sometime now. Turns out that I may have discovered something crucial about the problems. Rebuilding the datafile, clearing the cache, and removing all InputManagers did not fix the issues, which were reproducible on two Macs. Removing the Internet plugins also did not resolve the issues.

If Safari is starting slow for you under Snow Leopard and you use 1Password 3, make certain that you remove the old InputManager called something like "1Passwd." I was able to start Safari far faster than before. Until Agile fixes the command key sluggishness issue, make sure you lock your keychain after you're done using it. It's a pain in the ass, but your browsing snappiness will return if you like to use key commands like me.

::UPDATE::

Another discovery (apart from the one listed below) can be read here. Turns out that it's the "key icon" in the Safari menubar that's somehow contributing to the command key slowness in Safari. If I disable that in 1Password's preferences, the sluggishness disappears, even with the keychain unlocked. No clue, but that's somehow the culprit. Maybe it will help others. Please let me know here if you're able to reproduce this problem.

First, I can verify that removing the old InputManager left over from the 1PW 2.x days definitely made Safari (ver. 5) start up faster (2 - 3 icon bounces in the Dock instead of about 10). Start up is almost instantaneous now, thank goodness.

Second, this command-key sluggishness (and even clicking the 1P or key icons) I've been going through has persisted (any Command key combination is slow on Safari 4 and 5). This means sluggish behavior for key combinations like Cmd-T to make a new tab, Cmd-W to close a tab, or even Cmd-Q to quit Safari. Very LONG pauses before the desired result follows the keystroke combination.

However, I made a discovery today that I wanted to pass along to you all at Agile, which may or may not help troubleshoot this issue. It's reproducible on my Mac Pro and my MacBook. The sluggishness ONLY occurs while 1PW is unlocked. As soon as I LOCK 1PW again, the snappiness of my command keys in Safari 5 returns!!! Unlock the keychain, back to sluggishness. Completely reproducible on both my machines.

I have rebuilt the data file and cleared caches several times. The only other InputManagers I still have running are DeliciousSafari and the latest beta of Glims (if that's even still an InputManager).

Any advice you can provide would be greatly appreciated.

[From Slow Safari startup with 1Password enabled (when the Cache is out of date)]

Sunday, June 27, 2010

Use Only One Partition for AirPort Extreme (802.11n) Disks

Turns out that using more than one volume per disk connected to an Airport Extreme isn't a good idea. May explain some of my issues.

The AirPort Extreme (802.11n) and Time Capsule work with most disks that are not software RAID volumes (no more than one volume per physical disk).

[From AirPort Extreme (802.11n) and Time Capsule: USB storage device supported formats and protocols]

Monday, May 31, 2010

mDNSResponder Constantly Doing "Something"

I noticed my mDNSResponder connecting constantly to opendns (didn't always happen but when it did it was constant). Found the links below. It basically requires a bit of under-the-hood tweaking.

  1. Make a back up copy of the mDNSResponder.plist file as a precaution.
  2. Open the mDNSResponder.plist file in Terminal using your preferred text editor. Here is a sample command:
    sudo nano "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist" 
    
  3. Add "<string>-NoMulticastAdvertisements</string>" to the array in the "ProgramArguments" section.

    In other words:
      <key>ProgramArguments</key>
    <array>
    <string>/usr/sbin/mDNSResponder</string>
    <string>-launchd</string>
    </array>
    becomes...
            <key>ProgramArguments</key>
    <array>
    <string>/usr/sbin/mDNSResponder</string>
    <string>-launchd</string>
    <string>-NoMulticastAdvertisements</string> </array>
  1. Save the file.

    Important
    : If you edited the file using emacs, you must remove the emacs backup file (the file with a tilde at the end of the name, "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist~") or your Mac will not start up.
  2. Restart your Mac.

****

UPDATE 12 June 2010: The problem, as it turns out, was listing my OpenDNS servers in both my Airport Extreme (for the entire home network) and my Mac Pro. As soon as I deleted the OpenDNS servers from Network Preferences on my Mac Pro, everything returned to normal...no more constant outgoing connections. The above method worked too, but it was at the cost of losing Bonjour connectivity on my home network (not acceptable).

[From Snow Leopard disabling mDNSResponder/Bonjour drops internet - Mac Forums]

Mac OS X v10.6 uses the mDNSResponder process for unicast DNS (Domain Name System) functions, as well as Bonjour functions. Disabling the mDNSResponder process will also disable unicast DNS resolution, and without unicast DNS resolution, Mac OS X v10.6 cannot resolve hostnames such as www.apple.com.

In some network environments, administrators may prefer that Mac OS X v10.6 not transmit Bonjour service advertisements. You can use this advanced article if you are a network administrator who needs to disable Bonjour advertising service without disabling Bonjour queries and DNS.

[From Mac OS X v10.6: Disabling mDNSResponder will disable DNS]

Friday, November 27, 2009

iTunes Refuses to Store Your Password?

Does your iTunes program keep 'forgetting' your password. If so, this fix may work for you. Basically, go into your iTunes account via the program (yes, you'll have to put in your password) and click "Reset Warnings" down at the bottom. You can also try Deauthorizing and then Reauthorizing your computer via iTunes, but this didn't work for me.

What seems to have worked for me (in addition to resetting warnings) is to delete the SC Info folder as detailed below.

After iTunes 9.0.1 was released, a number of users were annoyed that the check mark button for saving their password no longer worked. As a result, each purchase or app-upgrade triggers iTunes to prompt for a password.

[From Fix for iTunes 9.0.1 refusing to save your store password | iPhone Atlas - CNET Reviews]
Quit iTunes and any other open applications until only Finder is open.
Choose Go > Go to Folder.
Type /Users/Shared/SC Info and click Go.
If Finder is not already set to column view, set it by choosing View > as Columns.
Select the SC Info folder and move it to the Trash by choosing File > Move to Trash.
Restart the computer and open iTunes.

Authorize your computer to play your purchases. Note: If you have multiple accounts you will need to authorize your computer for each account. For more information on how to authorize your computer, see this article.

[From iTunes repeatedly prompts to authorize computer to play iTunes Store purchases]

Monday, November 02, 2009

Tweetie Avatar Cache Faux Pas

Tweetie is probably the best Twitter client out there, but it has an annoying bug. Yes, the dev says it's Twitter's fault, but it's frustrating to the average user and no other Twitter client has this problem. Even deleting my entire avatar cache did nothing to bring on my new avatar. Yes, I uploaded a 640x480 profile pic (people should be able to see a larger version when they click on your avatar).

I just tried uploading a smaller avatar to test (<200 x 200 px), however, and it did nothing. Deleting the cache again did nothing. Come on dev...fix this BS. I shouldn't have to reinstall the app to get my avatar back. You're charging for this app, so please do your work.

Twitter has been having issues with profile images recently. It turns
out, if you've updated your profile image in the last week (and it was
a big image) it wouldn't be scaled down properly.

[From Twitter Profile Images - atebits - random stuff ]

Thursday, October 22, 2009

SL Mail Fix: Copy Address w/o Carrots

Open the Terminal, type or copy and paste this in, and hit RETURN. Say bye, bye to the less-than and greater-than signs you see when you copy and paste an email address in Mail. If you prefer, use TextWrangler or some other editor to edit the com.apple.mail.plist file directly, though using the Terminal is easier.

defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool NO

[From Mac Daddy World » Blog Archive » Fixing “Copy Address” in Mail on 10.6]

Saturday, August 08, 2009

ACL Found But Not Expected Weirdness

If you see a bunch of these messages when repairing permissions, here's how to deal with it:

if you try to repair permissions and get a bunch of acls found but not expected

to fix this some chmod commands need to be executed in the terminal.

Essentially open up a terminal and do the following:

cd /
ls -le

look at the Applications and Library folders in the listing and you should see they have specific ACLs. On one of my machines the Applications folder had 2 and the Library had one. On the other both had just one.

to remove these ACLs do the following:

sudo chmod -a# 0 "/Applications"
sudo chmod -a# 0 "/Library"

[From InsanelyMac Forum > How to repair "ACL found but not expected" message in disk utililty]

MacBook Freeze and Heat While Sleeping

I was having this issue while deployed and it was driving me nuts. Basically, Safe Sleep is a pain in the butt and causes this problem in the newer Macs. Also, there's more on Apple's Discussion Forums. A widget is available (called Deep Sleep) that will allow one to avoid using the Terminal. Also, more info about disabling Safe Sleep here on macosxhints.com; Apple really needs to rethink this one.

So, To Disable Safe Sleep:

Type these two commands in the Terminal, and hit return:

sudo pmset -a hibernatemode 0

sudo nvram "use-nvramrc?"=false

Presto, instant fast sleep, and no more crashing!!

Now if you want to reclaim some hard drive space, an amount of space equal to the amount of RAM your computer has, do the following:

In the Finder, choose Go To Folder... from the Go menu

Type "/var/vm" into the prompt and hit return

Don't touch the swapfiles, they are important. But if there is a file in that folder called 'sleepimage', just drag it to the trash and you're good to go.

[From MacFixer - Does Your MacBook Freeze When You Close It's Lid?]

Friday, August 07, 2009

iPhone Updating Same Songs Fix - UPDATED

The bottom contains the original post that I THOUGHT had fixed the problem; turns out that it didn't fix a thing. However, my frustration was apparently the frustration of many others, and the solution was forthcoming.

It turns out the culprit is jacked up ID3 tags. The solution is right in iTunes. Right-click on the offending files and select "Convert ID3 tags..." In the dialog, select the latest version of tags and then resync. Problem solved!

I updated the ID3 tags of my continuously re-synced 24 songs to the latest version 2.4 (you can do this in iTunes by right-clicking on the songs). It worked in 23 cases (1 song could not be updated as it is in .aac format because I had bought it in iTunes).

I must admit I didn't figure this out myself, this guy actually did it: http://www.kgarner.com/blog/archives/2009/07/15/itunes-keeps-syncing-the-same-44-songs-over-and-over-solved/

[From Apple - Support - Discussions - iTunes keeps syncing the same 4 songs ...]

::ORIGNAL POST:: (ignore this...it doesn't work)

This hasn't worked for everyone with this problem, but it did the trick for me. Once I reset Sync History, I stopped updating the same 20 songs from iTunes with each sync, which had been adding to the sync time and had ticked me off. All better now!

Thanks to Lynn at Apple Support

Basicall I had to reset the sync history. To do this:

Open iSync in applications
Menu item iSync / Preferences
Select Reset Sync History

The next time I sync'd my iphone it worked flawlessly (and didn't reload all my content, which I thought it might do).

[From why is my iphone "updating files"? - Mac Forums]

Monday, January 05, 2009

Silent Keynote Exports

If your Keynote exports are all fury and no sound, follow the instructions below to fix them.

After recording your narration, move to the Finder, Control-click on your presentation file, and choose Show Package Contents. In the resulting window, locate the narrationTrack0.m4a file. This is your narration track. Make a copy and move it to the Desktop.

Open both the narration and video files in QuickTime Player Pro. Select the audio track, select everything in it, and copy. Now select the video track and choose Edit -> Add to Movie. The audio track will be added to the video track.

With luck, the two will be in sync. If not, you might wish, instead, to import the video track into GarageBand and then place the audio track in a separate track and move it around so the two are in sync.
[From A fix for mute Keynote exports | Mac 911 | Macworld]

Monday, September 22, 2008

Shane's Top Mac Troubleshooting Tips

(This was posted originally in January 2006 when running OS X 10.4.3, Tiger; it has been updated to address changes since Snow Leopard in 2009).

I’m no expert on this stuff, but due to the years of diagnosing and fixing Mac issues (since 1993 to be exact with my old Classic II) I’ve developed a few troubleshooting routines that I automatically run through when stuff starts acting weird. Of course, most of the tricks of the old classic pre-X days are useless now (unless troubleshooting for Classic, of course), but here are some helpful ideas for X (currently 10.6.2).

= Command key (might have an Apple on the key as well)
= Option key
= Shift key

[Complete List of Macintosh Keyboard Shortcuts - http://support.apple.com/kb/HT1343]

First, get to know these helpful “snags” (startup key sequences):

* Start up in Open Firmware: --O-F (more below)
* Reset parameter RAM: --P-R (zaps the PRAM - see also Open Firmware reset)
* Bypass startup volume: -- -Delete (gets to a new volume if your current one is busted)
* Open the Startup Manager: (pick the volume you want to start up from)
* Force Mac OS X startup: X or -X (start in OS X)
* Start up from an optical disc: C (force start from your CD or DVD drive)
* Eject optical disc: mouse, trackpad button, or hold down the eject button (at startup)
* Start up from a network server: N (if you have a network startup volume)
* Reset PowerBook screen: R (no clue)
* Start up in Target Disk mode: T (firewire two computers together and boot from the other)
* Start up in Safe mode: (more below)
* Start up in Verbose mode: -V (great for seeing what the startup problem is)
* Start up in Single-User mode: -S (more below)

Most of these key sequences are still valid for Classic OS boots also (pre-X), and most of these don’t work if an Open Firmware password has been set using either Terminal or Apple’s OFPW application. Using an OF password is a good idea, especially for notebooks that could get stolen (protect your data from thieves at least).

Backup, Backup, Backup

Before doing anything, learn to regularly backup your system. I backup every hour to another drive (using Time Machine). It’s always best to keep two backups if possible, but one is better than none. There are other good backup solutions available too, such as Carbon Copy Cloner and SuperDuper. Do a backup immediately before making any major changes to your system too!

Programs are a-crashin’

If you have apps that are crashing, not responding, or you’re getting kernel panics, this is a sign that something is amiss. Here are the beginning steps to take:

• Repair permissions using Disk Utility if you can (this should always be your first step). Always try to repair permissions from the startup volume itself. If that doesn’t work, startup from your Install Disc and repair permissions from the Install’s Disk Utility (see below).

• Try logging out and back in.

• Try creating a new account and see if the problem persists. If it goes away then the problem is likely with your Home folder.

• Try restarting (rebooting).

• Check the volume for file system errors. There are a few ways to do this. I usually boot into Single-User mode first (see above snag list); to run a file system check, at the prompt type:

# /sbin/fsck -fy

If errors were found, continue running the above command until they’re gone; then type:

# reboot

If no errors were found, continue booting normally by typing:

# exit

Of course, you can also boot from your OS X install disc (hold C while booting), Repair Permissions, and run Repair Disk in Disk Utility. If Disk Utility or fsck won’t do the trick, consider an emergency boot disc or another bootable volume (separate hard drive or partition) with TechTool Pro or Disk Warrior to repair the volume.

• If none of these steps solved your problem try what’s listed below.

Safe Mode ( while starting up)

Here’s what it does for you:

* Performs a directory check of the hard drive identical to clicking Repair Disk in the First Aid pane of Disk Utility.
* Ignores kernel extensions cache (/System/Library/Extensions.kextcache).
* Loads only required kernel extensions (/System/Library/Extensions).
* Runs only Apple-installed startup items (/Library/StartupItems and /System/Library/StartupItems).
* Loads only those fonts in /System/Library/Fonts (Mac OS X 10.4 or higher).
* Trashes all font caches stored in /Library/Caches/com.apple.ATS/user ID number (Mac OS X 10.4 or higher).
* Disables Login Items (Mac OS X 10.4 or higher).

Safe Mode is a limited mode which also allows one to install and uninstall software and kernel extensions, and Disk Utility will easily repair permissions while in Safe Mode. Also, a good troubleshooting step while in Safe Mode is to use the Finder to delete the following:

/Library/Caches/* (delete entire directory contents)
/System/Library/Caches/* (delete entire directory contents)
/System/Extensions.kextcache (delete only this file)

NOTE: This can also be done in Single-User mode (see below).

More Single-User Tricks (-S while starting up)

Much can be done in Single-User mode (not just running fsck). It’s basically the BSD command line, so you can mount volumes and do a variety of maintenance tasks if you’re Terminal savvy (er…you’re a UNIX geek). To learn more about these commands and what they do, Google it and find out!

Mount the volume:

# mount -uw /

Run the cron routine maintenance scripts:

# sudo periodic daily
# sudo periodic weekly
# sudo periodic monthly

Update the prebindiing:

# sudo update_prebinding -root / -force

Repair permissions:

# sudo diskutil repairPermissions /

Eliminate some startup, cache, and kernel extension problems:

# /sbin/mount -uw /
# cd /Library/Preferences
# rm com.apple.loginwindow.plist
# rm com.apple.windowserver.plist
# cd /Library/Caches
# rm -r *
# cd /System/Library
# rm Extensions.kextcache
# cd /System/Library/Caches
# rm -r *
# reboot

You could also install Applejack, which is a wonderful utility to automate many Single-User maintenance and troubleshooting tasks for you.

Open Firmware (--O-F while starting up)

One could do quite a bit of damage when booting into Open Firmware (basically the Mac version of BIOS), so stick strictly to these commands unless you really know what you’re doing.

You can check the current OF environment by typing:

> printenv

To reset the OF and reboot, at the prompt type:

> reset-nvram
> set-defaults
> reset-all

Sometimes, you’ll need to eject a disc when the usual methods (holding down the mouse, E, or Eject buttons) don’t work. In OF, do this:

> eject cd
> mac-boot

Another neat fact. OF is based on the old programming language called Forth, which was originally written by an astronomer named Charles Moore to control telescopes. Forth is unique in the way it handles math; one must think in RPN (Reverse Polish Notation). So to add 2 and 5 to get 7, at the prompt type:

> 25+
> 7

Hopefully by now, your problem is solved. If not, you’re going to have to jump in some place like Apple Support (especially Discussions) or MacFixit forums.

Other Resources

Lots are available online, but here are some great links:

http://delicious.com/sonicdeviant/macintosh+Troubleshooting%20

Tuesday, January 01, 2008

Fix some Mac slowdowns

Macworldlogo

Here are some good tips for fixing slowdowns on your Mac.

Macworld | Fix Mac slowdowns

I especially like the advice given for web browsing and using Mail:

Quit and Relaunch Web browsers tend to be resource hogs, and if you visit lots of media-rich sites, this effect can increase over time. Quit and relaunch your browser occasionally (at least once a day) to speed up browsing and reduce your browser’s impact on other programs.

Over time, though, these databases can become cluttered or even corrupted, resulting in slower overall performance, among other problems. You may be able to speed up your e-mail client significantly by rebuilding the message index every few months.

Mail’s Rebuild command (Mailbox: Rebuild) works only on individual mailboxes.

Monday, December 31, 2007

New Apple Keyboard!

Well, this New Year's Eve, I stupidly spilled coffee into my old Kensington keyboard, while typing away over at GtrOblq. Even though I took it apart and used a hair dryer on it, the bottom row of keys refused to come back to life. So, we did a mad dash to the nearest Best Buy before they closed for New Year's Eve, and I purchased one of those slender, new Apple keyboards. We didn't have time to make it to the Apple Store at La Cantera, because everything closed at 6 pm.

Man, what a great keyboard! I barely feel like I'm typing, and it's so thin that I don't even need a wrist support! Yeah! The front housing is made of Aluminum, so it seems sturdy. I looked at the other Mac-compatible keyboards, but they all came with a mouse and were at least $20 more than the Apple keyboard! So much for that theory that Apple is more expensive.

Wired 2 20070807Wired 1 20070813