Powerbook does not sleep on its own anymore

My 15" Alu powerbook stopped sleeping on its own aprox a month ago.
Egil Helland wrote on :

My 15" Alu powerbook stopped sleeping on its own aprox a month ago. I believe it was related to updating either a security fix or to 10.3.5, but I am not sure. I have tried virtually everything to fix this:

  • Delete NVRAM
  • Run Cocktail and Panther Cache Cleaner with "max" settings
  • Changing batteries
  • Try from another user account
  • Change my Enery Saver settings
  • Be sure that the Fax panel is not set to receive faxes
  • running in safe mode (shift held down)

Still nothing works. I can sleep the powerbook by closing the lid or selecting sleep from the Apple menu, but it will NOT sleep by itself, not even if the battery power is all drawn out!!

Anyone who has the same problem, or better - a fix?!?

-e

Laurent Daudelin replied on :

In message 1gl3a35.ltnm6x18gftj4N%egil.NOSPAM@redacted.invalid, egil.NOSPAM@redacted.invalid (Egil Helland) wrote:

My 15" Alu powerbook stopped sleeping on its own aprox a month ago. I believe it was related to updating either a security fix or to 10.3.5, but I am not sure. I have tried virtually everything to fix this:

  • Delete NVRAM
  • Run Cocktail and Panther Cache Cleaner with "max" settings
  • Changing batteries
  • Try from another user account
  • Change my Enery Saver settings
  • Be sure that the Fax panel is not set to receive faxes
  • running in safe mode (shift held down)

Still nothing works. I can sleep the powerbook by closing the lid or selecting sleep from the Apple menu, but it will NOT sleep by itself, not even if the battery power is all drawn out!!

Anyone who has the same problem, or better - a fix?!?

You might have installed something that runs a background process that keeps your PowerBook awake. It could also be that the power management pref file is corrupted. Check it out in /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist. Finally, it could be the Power Management Unit in your PowerBook that is acting up...

-Laurent.

Egil Helland replied on :

Laurent Daudelin laurent.daudelin@redacted.invalid wrote:

In message 1gl3a35.ltnm6x18gftj4N%egil.NOSPAM@redacted.invalid, egil.NOSPAM@redacted.invalid (Egil Helland) wrote:

My 15" Alu powerbook stopped sleeping on its own aprox a month ago. I believe it was related to updating either a security fix or to 10.3.5, but I am not sure. I have tried virtually everything to fix this:

  • Delete NVRAM
  • Run Cocktail and Panther Cache Cleaner with "max" settings
  • Changing batteries
  • Try from another user account
  • Change my Enery Saver settings
  • Be sure that the Fax panel is not set to receive faxes
  • running in safe mode (shift held down)

Still nothing works. I can sleep the powerbook by closing the lid or selecting sleep from the Apple menu, but it will NOT sleep by itself, not even if the battery power is all drawn out!!

Anyone who has the same problem, or better - a fix?!?

You might have installed something that runs a background process that keeps your PowerBook awake. It could also be that the power management pref file is corrupted. Check it out in /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist. Finally, it could be the Power Management Unit in your PowerBook that is acting up...

Thanks for the tips. I have tried all your suggestions, to no avail. I tried to reapply 10.3.5 combo update though, since I saw a hint about this on the net. This actually worked, but only for a brief period! I had a "crash" today (after unhooking an external projector my pb went black, and I had to boot it up, no kernel error og crash log whatsoever), and since I havent been able to sleep again! This is REALLY strange...

-e

Andre Berger replied on :
  • Egil Helland egil.NOSPAM@redacted.invalid, 2004-10-07 09:02 +0200:

Laurent Daudelin laurent.daudelin@redacted.invalid wrote:

In message 1gl3a35.ltnm6x18gftj4N%egil.NOSPAM@redacted.invalid, egil.NOSPAM@redacted.invalid (Egil Helland) wrote:

My 15" Alu powerbook stopped sleeping on its own aprox a month ago. I believe it was related to updating either a security fix or to 10.3.5, but I am not sure. I have tried virtually everything to fix this:

  • Delete NVRAM
  • Run Cocktail and Panther Cache Cleaner with "max" settings
  • Changing batteries
  • Try from another user account
  • Change my Enery Saver settings
  • Be sure that the Fax panel is not set to receive faxes
  • running in safe mode (shift held down) [...] You might have installed something that runs a background process that keeps your PowerBook awake. It could also be that the power management pref file is corrupted. Check it out in /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist. Finally, it could be the Power Management Unit in your PowerBook that is acting up...

Thanks for the tips. I have tried all your suggestions, to no avail. I

Are you really sure there is no suspect background process hanging around? Such as something that syncs w/ PDAs? Any USB devices connected?

-Andre

Egil Helland replied on :

Andre Berger andre.berger@redacted.invalid wrote:

Thanks for the tips. I have tried all your suggestions, to no avail. I

Are you really sure there is no suspect background process hanging around? Such as something that syncs w/ PDAs? Any USB devices connected?

I found out today, after reinstalling again with no effect and removing the powermanagement plist file, that the reason for my problems was MySQL!

This is REALLY strange, since I have been using MySQL together with my laptop since 10.2.0, running every update in between. But the instant I stopped the MysQL server, and waited for the sleep timer to hit, it went to sleep...

Now, what has happened since 10.3.4 that causes MySQL to behave this way? Or is there something special configuration in the latest MySQL builds (4.x) that causes Panther to wait for it all the time??

-e

Andre Berger replied on :
  • Egil Helland egil.NOSPAM@redacted.invalid, 2004-10-08 06:19 +0200:

Andre Berger andre.berger@redacted.invalid wrote:

Are you really sure there is no suspect background process hanging around? Such as something that syncs w/ PDAs? Any USB devices connected?

I found out today, after reinstalling again with no effect and removing the powermanagement plist file, that the reason for my problems was MySQL!

Sorry, happy PostgreSQL user here!

http://www.entropy.ch/software/macosx/postgresql/

-Andre

noman replied on :

On 2004-10-07, Egil Helland egil.NOSPAM@redacted.invalid wrote:

Now, what has happened since 10.3.4 that causes MySQL to behave this way?

Short answer: nothing. I run MySQL 4.0.20 in 10.3.5 on a 12" PB and I've never seen this symptom.

Or is there something special configuration in the latest MySQL builds (4.x) that causes Panther to wait for it all the time??

What version of MySQL? How do you start the server?

Egil Helland replied on :

noman noman@redacted.invalid wrote:

On 2004-10-07, Egil Helland egil.NOSPAM@redacted.invalid wrote:

Now, what has happened since 10.3.4 that causes MySQL to behave this way?

Short answer: nothing. I run MySQL 4.0.20 in 10.3.5 on a 12" PB and I've never seen this symptom.

I have just seen one posting on the same issue on the web, so I am not sure what causes this either. Several persons have other applications that are running daemons in the background resulting in the same sort of odd behaviour.

Or is there something special configuration in the latest MySQL builds (4.x) that causes Panther to wait for it all the time??

What version of MySQL? How do you start the server?

I also run 4.0.20, and its installed with the accompanying startup item.