Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

puma1552

Suspended
Original poster
Neither my MBP 5,1 (Late '08) or MBA Rev. B will sleep with the lid open. The display will sleep, but not the computer. All energy settings preferences are of course set so as to have both the displays and machines sleep.

I have nothing running except Safari--no third party downloading managers, no other apps, nothing. Bluetooth is off on both machines.

I have reset both PRAM and SMC, as well as repaired permissions on the MBA, to no avail.

"Use secure virtual memory" is checked in the security general preferences, as it should be by default. Just to test it I tried unchecking that, and it made no difference--computers will not sleep with the lid open.

I even took the MBA out of my environment at home, taking it with me to the grocery store to see if it would sleep outside of this environment, and it still didn't, which to me rules out anything from Time Capsule causing it not to sleep--seems to definitely be something with the computers.

This happens on both battery and AC power. I've now spent something like 2 hours playing with this and it's absolutely infuriating, since I can't call Apple for several more hours.

I have printer sharing turned on on both computers, but that has never been an issue in the past, nor should it be. FWIW, the printer is powered down and unplugged in another room anyway.

Closing the lid on both machines works, as does the keyboard shortcut to make the machines sleep.

Ideas?

Here is the console log from my MBP for today:

MBP Console Log said:
3/7/10 6:44:27 PM com.apple.launchd[1] *** launchd[1] has started up. ***
3/7/10 6:44:47 PM com.apple.WindowServer[59] Sun Mar 7 18:44:47 Aarons-MacBook-Pro.local WindowServer[59] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
3/7/10 6:44:53 PM com.apple.launchd.peruser.501[82] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
3/7/10 6:44:51 PM SoftwareUpdateCheck[90] Checking for updates
3/7/10 6:44:52 PM com.apple.launchd.peruser.501[82] (com.apple.Kerberos.renew.plist[108]) Exited with exit code: 1
3/7/10 6:44:54 PM com.apple.launchd.peruser.501[82] (com.apple.CSConfigDotMacCert-puma1552@me.com-SharedServices[110]) Exited with exit code: 1
3/7/10 6:48:51 PM com.apple.launchd[1] (com.apple.suhelperd[94]) Exited with exit code: 2
3/7/10 6:48:51 PM com.apple.launchd.peruser.501[82] ([0x0-0x7007].SoftwareUpdateCheck[90]) Exited with exit code: 102
3/7/10 6:52:03 PM com.apple.WebKit.PluginAgent[188] Debugger() was called!
3/7/10 6:52:06 PM com.apple.launchd[1] (com.apple.netauth.sysagent[147]) Exited with exit code: 255
3/7/10 7:24:13 PM [0x0-0x1b01b].backupd-helper[212] Not starting Time Machine backup after wake - less than 60 minutes since last backup completed.
3/7/10 7:26:03 PM com.apple.WebKit.PluginAgent[188] Debugger() was called!
3/7/10 7:26:18 PM com.apple.WebKit.PluginAgent[188] Debugger() was called!
3/7/10 7:28:38 PM com.apple.WebKit.PluginAgent[188] Debugger() was called!
3/7/10 7:29:51 PM [0x0-0x1f01f].backupd-helper[241] Not starting Time Machine backup after wake - less than 60 minutes since last backup completed.
3/7/10 7:33:40 PM com.apple.WebKit.PluginAgent[188] Debugger() was called!
3/7/10 7:39:31 PM com.apple.launchd.peruser.501[82] ([0x0-0x22022].com.apple.Console[261]) Exited: Killed
3/7/10 7:39:32 PM com.apple.WebKit.PluginAgent[188] Debugger() was called!
3/7/10 7:45:18 PM System Preferences[295] Could not connect the action resetLocationWarningsSheetOk: to target of class AppleSecurity_Pref
3/7/10 7:45:18 PM System Preferences[295] Could not connect the action resetLocationWarningsSheetCancel: to target of class AppleSecurity_Pref
3/7/10 7:45:40 PM com.apple.launchd.peruser.501[82] ([0x0-0x25025].com.apple.Console[281]) Exited: Killed
3/7/10 7:45:40 PM com.apple.launchd.peruser.501[82] ([0x0-0x15015].com.apple.Safari[175]) Exited: Killed
3/7/10 7:46:00 PM com.apple.launchd[1] *** launchd[1] has started up. ***
3/7/10 7:46:28 PM com.apple.WindowServer[60] Sun Mar 7 19:46:28 Aarons-MacBook-Pro.local WindowServer[60] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
3/7/10 7:46:33 PM com.apple.launchd.peruser.501[85] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
3/7/10 7:46:34 PM com.apple.launchd.peruser.501[85] (com.apple.Kerberos.renew.plist[105]) Exited with exit code: 1
3/7/10 7:46:36 PM com.apple.launchd.peruser.501[85] (com.apple.CSConfigDotMacCert-puma1552@me.com-SharedServices[107]) Exited with exit code: 1
3/7/10 7:46:43 PM System Preferences[120] Could not connect the action resetLocationWarningsSheetOk: to target of class AppleSecurity_Pref
3/7/10 7:46:43 PM System Preferences[120] Could not connect the action resetLocationWarningsSheetCancel: to target of class AppleSecurity_Pref
3/7/10 7:51:04 PM com.apple.loginwindow[36] Sun Mar 7 19:51:04 Aarons-MacBook-Pro.local loginwindow[36] <Warning>: CGSShutdownServerConnections: Detaching application from window server
3/7/10 7:51:04 PM com.apple.loginwindow[36] Sun Mar 7 19:51:04 Aarons-MacBook-Pro.local loginwindow[36] <Warning>: CGSDisplayServerShutdown: Detaching display subsystem from window server
3/7/10 7:51:06 PM com.apple.loginwindow[36] Sun Mar 7 19:51:06 Aarons-MacBook-Pro.local loginwindow[36] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
3/7/10 7:51:11 PM com.apple.WindowServer[141] Sun Mar 7 19:51:11 Aarons-MacBook-Pro.local WindowServer[141] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
3/7/10 7:51:15 PM com.apple.launchd.peruser.501[85] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
3/7/10 7:51:15 PM com.apple.launchd.peruser.501[85] (com.apple.Kerberos.renew.plist[174]) Exited with exit code: 1
3/7/10 7:51:16 PM com.apple.launchd.peruser.501[85] (com.apple.CSConfigDotMacCert-puma1552@me.com-SharedServices[176]) Exited with exit code: 1
3/7/10 7:54:09 PM [0x0-0x26026].com.skype.skype[212] Main starting with pid 212 parent pid 85
3/7/10 7:54:10 PM Skype[212] SkypeApplication::init called
3/7/10 7:57:29 PM com.apple.WebKit.PluginAgent[225] Debugger() was called!
3/7/10 7:58:25 PM com.apple.WebKit.PluginAgent[225] Debugger() was called!
3/7/10 7:58:34 PM com.apple.WebKit.PluginAgent[225] Debugger() was called!

And here is the one from my MBA...there is something going on with iStat here; I've always hated that program, but installed it to take the machine into the genius bar last week to have it looked at, and promptly uninstalled it when I got home. Nonetheless, there's something going on with it but even aside from that the machine won't sleep:

MBA Console Log said:
3/7/10 7:55:10 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[235]) Exited with exit code: 1
3/7/10 7:55:10 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 7:55:20 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[236]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 7:55:20 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[236]) Exited with exit code: 1
3/7/10 7:55:20 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 7:55:30 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[238]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 7:55:30 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[238]) Exited with exit code: 1
3/7/10 7:55:30 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 7:55:40 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[239]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 7:55:40 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[239]) Exited with exit code: 1
3/7/10 7:55:40 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 7:55:50 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[243]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 7:55:50 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[243]) Exited with exit code: 1
3/7/10 7:55:50 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 7:56:00 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[244]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 7:56:00 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[244]) Exited with exit code: 1
3/7/10 7:56:00 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 7:56:10 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[245]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 7:56:10 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[245]) Exited with exit code: 1
3/7/10 7:56:10 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 7:56:20 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[246]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 7:56:20 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[246]) Exited with exit code: 1
3/7/10 7:56:20 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 7:56:30 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[247]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 7:56:30 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal[247]) Exited with exit code: 1
3/7/10 7:56:30 PM com.apple.launchd.peruser.501[92] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 7:56:39 PM com.apple.launchd.peruser.501[92] ([0x0-0x10010].com.apple.Safari[139]) Exited: Killed
3/7/10 8:08:58 PM com.apple.launchd[1] *** launchd[1] has started up. ***
3/7/10 8:09:23 PM com.apple.SystemStarter[32] Starting Privoxy
3/7/10 8:09:23 PM com.apple.SystemStarter[32] Mar 07 20:09:23 Privoxy(00000188) Info: loading configuration file '/Library/Privoxy/config':
3/7/10 8:09:23 PM com.apple.SystemStarter[32] Mar 07 20:09:23 Privoxy(00000188) Info: Privoxy version 3.0.6
3/7/10 8:09:23 PM com.apple.SystemStarter[32] Mar 07 20:09:23 Privoxy(00000188) Info: Program name: ./privoxy
3/7/10 8:09:23 PM com.apple.SystemStarter[32] Mar 07 20:09:23 Privoxy(00000188) Info: Listening on port 8118 for local connections only
3/7/10 8:09:28 PM com.apple.WindowServer[66] Sun Mar 7 20:09:28 Aarons-MacBook-Air.local WindowServer[66] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
3/7/10 8:09:35 PM com.apple.launchd.peruser.501[89] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
3/7/10 8:09:36 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[115]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:09:36 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[115]) Exited with exit code: 1
3/7/10 8:09:36 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:09:37 PM com.apple.launchd.peruser.501[89] (com.apple.Kerberos.renew.plist[112]) Exited with exit code: 1
3/7/10 8:09:39 PM com.apple.launchd.peruser.501[89] (com.apple.CSConfigDotMacCert-puma1552@me.com-SharedServices[116]) Exited with exit code: 1
3/7/10 8:09:46 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[130]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:09:46 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[130]) Exited with exit code: 1
3/7/10 8:09:46 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:09:56 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[134]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:09:56 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[134]) Exited with exit code: 1
3/7/10 8:09:56 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:10:06 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[138]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:10:06 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[138]) Exited with exit code: 1
3/7/10 8:10:06 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:10:16 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[139]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:10:16 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[139]) Exited with exit code: 1
3/7/10 8:10:16 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:10:26 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[142]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:10:26 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[142]) Exited with exit code: 1
3/7/10 8:10:26 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:10:36 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[146]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:10:36 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[146]) Exited with exit code: 1
3/7/10 8:10:36 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:10:46 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[147]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:10:46 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[147]) Exited with exit code: 1
3/7/10 8:10:46 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:10:54 PM com.apple.WebKit.PluginAgent[149] Debugger() was called!
3/7/10 8:10:56 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[152]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:10:56 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[152]) Exited with exit code: 1
3/7/10 8:10:56 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:11:06 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[153]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:11:06 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[153]) Exited with exit code: 1
3/7/10 8:11:06 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:11:12 PM com.apple.WebKit.PluginAgent[149] Debugger() was called!
3/7/10 8:11:16 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[154]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:11:16 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[154]) Exited with exit code: 1
3/7/10 8:11:16 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:11:26 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[155]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:11:26 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[155]) Exited with exit code: 1
3/7/10 8:11:26 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:11:36 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[156]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:11:36 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[156]) Exited with exit code: 1
3/7/10 8:11:36 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
3/7/10 8:11:46 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[157]) posix_spawn("/Library/Application Support/iStat local/iStatLocal", ...): No such file or directory
3/7/10 8:11:46 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal[157]) Exited with exit code: 1
3/7/10 8:11:46 PM com.apple.launchd.peruser.501[89] (com.bjango.istatlocal) Throttling respawn: Will start in 10 seconds
 
Well, after 1.5 hours on the phone troubleshooting with Apple, the only option left is to reinstall the OS, a huge pain in the ass since I always do fresh installs and set my machines up as brand new machines rather than restore from backups.

The PowerManagement.plist file was all messed up, with a hibernation value of 3 instead of 1 and a disk sleep value of 10 instead of 1...copied the file since it was read only and gave myself read and write access, changed the values by hand since SMC/PRAM resets weren't doing it, saved the info and still the computer won't sleep with the lid open, and now the only thing left is to reinstall the OS and if that doesn't work, then I have to take it in to the store.

and sadly, my air has the exact same problem so im sure ive got my next four or five full nights planned out beautifully

and im sure once im all done with that i may as well just zero out time capsule and start completely over again, even though i just did that a week ago when i got a fresh logic board in the pro.

yay apple, more downtime than uptime
 
No sleep with lid open

Puma 1552 -- Same problem here and I've seen many others posted on the Apple discussion pages with the identical situation. I'm with you, it's hard to believe nobody, not to mention any of the "top users" in the discussion groups, has come up with any answers for what I'm now convinced is an issue.
 
Basic checklist

Ok, you have reset pram and shut down all apps. Now, let's go over all the background processes that may force the system to stay awake. Set the system to sleep after 1 min of idling since you will test the sleep function after testing each step. If you do this properly and with patience you will find the cause for this issue.

0. Double check that Safari isn't running,(I know you said you quit all apps but you have webkit issues in you log).
1. You mention printer sharing, which is a listening process. Turn it off.
2. In Energy Saver prefs, turn off Wake on Network
Activity
3. In Sharing prefs, turn off Screen Sharing, Remote Login, Remote Access, Internet Sharing and File Sharing
4. Open Activity Monitor and see what third party processes you have running that may force the system to listen for activities. Quit them one by one. Thus absolutely includes your iStat deamon! You can contact Bjango later if it doesn't uninstall properly but for now just quit it in Activity Monitor.
For example, do you have EyeTV Helper running? Do you have torrent type processes, Plex, Voddler or The Tube installed?
5. Unplug every USB device.

There is a myriad other things that can cause this, both software and hardware (I just found that my Kerberos process prevents sleep) but the steps above are the basics and you did no indicate that you had already checked those. Please post back what the results are.

Good luck.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.