10 Replies Latest reply: Oct 16, 2012 1:42 PM by Shootka
Shootka Level 1 Level 1 (5 points)

iMac OS X 10.6.8 Insomnia

iMac OS X 10.6.8 will not sleep automatically based on power settings.  I have tried the following things individually and tested after each attempt.  I then tried all in order as suggested in other posts on this site.  This is the order I have tried and failed.

  1. Repair Permissions
  2. Restart in Safe Mode
  3. SMC Reset 2 times
  4. PRAM Reset 2 times
  5. Started the Activity Monitor and filtered by Powered and found nothing.
  6. Disconnected Ethernet cable because I could see I was getting bumped regularly by the connection but there were no results and it still does not sleep.

Restored defaults to the Energy Saver.

I do not have anything shared and “Wake for Ethernet Access” is not checked nor do I have anything in the print queue. 

No printer is connected but there is an Ethernet printer attached to the router.

Bluetooth and Airport are turned off.

Disabled the “Guest Account”

 

Deleted all the Startup items in the Main account except “iCal” and “System Events” I would even eliminate “System Events” from my start items if I knew what it did and did not hurt anything.

 

The only way I can make it sleep is to start in Safe Mode and then it works flawlessly. Now I am stuck with a computer that will not sleep automatically.

 

iMac OS X 10.6.8 with 2.16 Intel Core 2 Duo Processor and 2GB 667MHz SDRAM


iMac, Mac OS X (10.6.8)
  • 1. Re: iMac 10.6 Will not sleep after trying everything posted
    Dale Weisshaar Level 6 Level 6 (15,855 points)

    Sounds like you have tried most things. Try ones you missed below if you are still running 10.6.

    This is for a Mac that won't sleep.

    Here is Apple's  KB article HT1776 with their tips.

    Mine follow;

    USB devices and hubs often cause Macs to not sleep or wake quickly from sleep (notably HP printers and scanners, HP all in ones, and Cannon scanners). Disconnect all USB except for keyboard and mouse and try. If it sleeps, add one back at a time testing after each one to find the culprit.

    If you've set your Mac to receive faxes, it may not be able to sleep. It might also have a damaged preferences file. If you use your Mac for faxing, open System Preferences. click Print & Fax, click the Faxing tab, and uncheck the Receive Faxes On This Computer box.

    If that doesn't work or you've never faxed on your Mac, go to Finder/Hard Drive /Library/Preferences/SystemConfiguration and delete the com.apple.PowerManagement.plist and com..apple.AutoWake.plist files (if your Mac asks, type your admin. password). If the latter file isn't present in the folder, go to user name(probably your name)/Library/Preferences, delete the com.apple.systemuiserver.plist file, and reboot your Mac.

    Some have resolved sleep issues by downloading the  Combo update,  from this site (yours may be corrupt), not Software Update  disconnect all firewire + USB devices except keyboard + mouse,Repair Permissions, re-install update, Repair Permissions again + try

    USER TIPS……..

    Check in System Preferences > Energy Saver is "Wake for network access" checked? If so, uncheck it.

    One user reported, " I couldn't make my macbook pro to go to sleep because I had my wireless headphone receiver still plugged in. I unplugged it and then it went to sleep."

    Also, if you have an External Western Digital (WD) hard drive and have installed  WDDMService and WDSmartWareD on your Mac, it may not sleep. Fix is to un-install those....you don't need them to use the drive.

    "I have had this problem with my IMac G5. It is surprisingly irritating. LaCie's Silverkeeper backup software was the cause. By default it gave itself permission to wake up the computer to check if a backup was needed. Do you have this or a similar program installed which has scheduled activities including wake-up permissions as an option?"

    One provided this link, xlr8yourmac.com, to a member, which addresses failure of deep sleep with some users that updated and added new FireWire and USB card.

    Also, here is Apple KB article TA2469 about PCI cards and sleep.

    After few days of messing around I found out that I had desktop background (wallpaper) set to change every 1 minute. After unchecking "Change picture..." in system preferences (under Desktop/Screen saver), my powerbook went to sleep all by itself.

    "I  have a Canon printer(shared) and my imac would not sleep. I opened up printer/fax in system prefs and noticed it said the printer was in use when it was off. Opened up the printer queue and noticed about 7 pending documents. Deleted them all and now it sleeps. Check the printer queue!"

    One user has had success, after trying all these tips, using an App. called PleaseSleep. I've never used it though.

    Good Luck!  DALE

     

    DALE

  • 2. Re: iMac 10.6 Will not sleep after trying everything posted
    Shootka Level 1 Level 1 (5 points)

    Thanks Dale

    That is a lot of info to digest.

    This will take me a while to sort out.

    I have been looking at my Console Messages and it appears that Google keeps banging me very 10 seconds for something that does not work.

    It could be the problem. 

    It all started when I went from Tigre to Snow.

     

    10/14/12 7:12:52 PMcom.apple.launchd[1](com.google.keystone.daemon[2724]) Exited with exit code: 1
    10/14/12 7:12:52 PMcom.apple.launchd[1](com.google.keystone.daemon) Throttling respawn: Will start in 10 seconds
    10/14/12 7:13:02 PMcom.apple.launchd[1](com.google.keystone.daemon[2726]) bootstrap_register() erroneously called instead of bootstrap_check_in(). Mach service: com.google.Keystone.Daemon
    10/14/12 7:13:02 PMcom.apple.launchd[1](com.google.keystone.daemon[2726]) Exited with exit code: 1
    10/14/12 7:13:02 PMcom.apple.launchd[1](com.google.keystone.daemon) Throttling respawn: Will start in 10 seconds
    10/14/12 7:13:12 PMcom.apple.launchd[1](com.google.keystone.daemon[2733]) bootstrap_register() erroneously called instead of bootstrap_check_in(). Mach service: com.google.Keystone.Daemon
    10/14/12 7:13:12 PMcom.apple.launchd[1](com.google.keystone.daemon[2733]) Exited with exit code: 1
    10/14/12 7:13:12 PMcom.apple.launchd[1](com.google.keystone.daemon) Throttling respawn: Will start in 10 seconds
    10/14/12 7:13:23 PMcom.apple.launchd[1](com.google.keystone.daemon[2734]) bootstrap_register() erroneously called instead of bootstrap_check_in(). Mach service: com.google.Keystone.Daemon
  • 3. Re: iMac 10.6 Will not sleep after trying everything posted
    WZZZ Level 6 Level 6 (12,225 points)

    If you have Chrome but don't need it, trash the google.keystone daemon. Or open Terminal and paste in

     

    sudo launchctl unload -w

     

    leave a space and drag in the  com.google.keystone.daemon

     

    then hit return and give your password, which won't appear when you enter it. This will disable it.

     

    To reverse this command, substitute load for unload.

     

    And PleaseSleep works on my 10.4/PPC. Seems to be a new version that may work with later OSs and Intel.

  • 4. Re: iMac 10.6 Will not sleep after trying everything posted
    WZZZ Level 6 Level 6 (12,225 points)

    Look for that in these locations

     

    HD/Library/LaunchDaemons

     

    HD/System/Library/LaunchDaemons

  • 5. Re: iMac 10.6 Will not sleep after trying everything posted
    Shootka Level 1 Level 1 (5 points)

    Thanks  WZZZ

    I do not have Chrome but I do have Google Earth and I also use Google voice.

    Do you think removal would affect either one?  I suspect voice is not an .app so it probably would not.

  • 6. Re: iMac 10.6 Will not sleep after trying everything posted
    WZZZ Level 6 Level 6 (12,225 points)

    I don't use either, but it's possible it might affect them. Why don't you try temporarily disabling that launchdaemon and see what happens.

     

    sudo launchctl unload -w

     

    As I mentioned, it can be quickly reversed substituting load for unload in the above command.

  • 7. Re: iMac 10.6 Will not sleep after trying everything posted
    Shootka Level 1 Level 1 (5 points)

    WZZZ

    I tried your fix:  sudo launchctl unload -w com.google.keystone.daemon

    It will not work here is the message I got:

    launchctl: Couldn't stat("com.google.keystone.daemon"): No such file or directory

    nothing found to unload.

    Then I went to Google:  support.google.com/installer/bin/answer.py?hl=en&answer=100386

    and got this terminal script:  sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resou rces/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall

     

    After uninstall I checked Console and I was no longer being hit by Keystone so I rebooted and it again started.

    only a little different response.  The first check has "No such file or directory"  So what ever its lookong for is not there anymore.

     

    10/15/12 10:17:47 AMcom.apple.launchd[1](com.google.keystone.daemon[551]) posix_spawn("/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/C ontents/MacOS/GoogleSoftwareUpdateDaemon", ...): No such file or directory
    10/15/12 10:17:47 AMcom.apple.launchd[1](com.google.keystone.daemon[551]) Exited with exit code: 1
    10/15/12 10:17:47 AMcom.apple.launchd[1](com.google.keystone.daemon) Throttling respawn: Will start in 10 seconds
    10/15/12 10:17:57 AMcom.apple.launchd[1](com.google.keystone.daemon[552]) posix_spawn("/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/C ontents/MacOS/GoogleSoftwareUpdateDaemon", ...): No such file or directory
    10/15/12 10:17:57 AMcom.apple.launchd[1](com.google.keystone.daemon[552]) Exited with exit code: 1
    10/15/12 10:17:57 AMcom.apple.launchd[1](com.google.keystone.daemon) Throttling respawn: Will start in 10 seconds
  • 8. Re: iMac 10.6 Will not sleep after trying everything posted
    WZZZ Level 6 Level 6 (12,225 points)

    The reason the sudo launchctl unload -w command didn't find that file is you didn't give the full path for the command to work. You can't just paste in the name of the file after the command, as Terminal (which uses Unix) doesn't know where to find it. To do that, you must first find that Google daemon and drag it into the terminal window, after leaving a space after the command. It will then automatically populate the Terminal window with the name of the file and the full path. (This isn't the only way to do this. You could, if you knew it, just enter that full path and file name  yourself.)

     

    Here's an example (which I didn't execute.)

     

     

    sudo launchctl unload -w /Library/LaunchDaemons/com.bombich.ccc.plist

     

     

    You will notice how it tells Terminal where that file is. It's in /Library/LaunchDaemons

  • 9. Re: iMac 10.6 Will not sleep after trying everything posted
    WZZZ Level 6 Level 6 (12,225 points)

    To locate that file, get EasyFind. Settings:scan all files, files and folders, ignore case. Enter the name and do a search. When you find it, use Reveal in Finder from the EasyFind menubar.

     

    http://www.devontechnologies.com/products/freeware/

  • 10. Re: iMac 10.6 Will not sleep after trying everything posted
    Shootka Level 1 Level 1 (5 points)

    THE SNOW LEOPARD SLEEPS TONIGHT

    I finally got rid of the Google updater that ran it’s process every 10 seconds and prevented my iMac from sleeping automatically.  Here’s How:

    1. I made 2 directories on the desktop (1) for the items in the root Macintosh HD and (2) for the items in the user partition.

     

    1. Moved the following items into the (1) HD Folder on the desktop:
    2. From the folder “LaunchDaemon” a file named “com.google.keystone.daemon4.plist”
    3. From the folder “Library” a folder named “Google 21-18-18” including it’s subfolders. It was locked and required unlocking to copy it into the folder on the desktop and then delete it from Library folder.

     

    1. Moved the following items into the (2) “User” folder on the desktop:
    2. From the folder “User/Library/Preferences” File named “com.Google.GECommonSettings.plist”
    3. From the folder “User” A folder named “Google” including it’s subfolders “GoogleSoftwareUpdate” and “TicketStore”

     

    Now that these folders and files were no longer in the place where they belong I rebooted only to find the problem still existed.  Console showed the files continued to request an update try every 10 seconds and preventing the Mac from sleeping.  It appears the files do not need to be in a specific location in order to work unlike the MS Windows environment.

     

    In order to archive these folders and files I put them in the burn folder and burned a CD and then deleted the folders from the desktop.  I rebooted and Bingo the Console shows no Google activity and I am sleeping again. 

      Thanks for everybody’s help.