Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
Old 09-13-2007, 05:01 PM   #1
nataraja
Registered User
 
Join Date: Sep 2007
Posts: 1
MacBook Pro won't Sleep or Shut Down

Hi,

My new MacBook Pro won't Sleep or Shut Down. The only way to turn it off is to hold down the Power button.

When I choose Shut Down from the Apple menu, or by pressing the Power button, the machine goes to the blue screen and hangs there with the rotating circle.

I have reset the PRAM.
I have reset the SMC.

As readed on Apple's forum, I tried that manipulation :

Trashed these 2 .plist preferences and reboot.

HD > Library > Preferences > SystemConfiguration > com.apple.PowerManagement.plist

User > Library > Preferences > com.apple.systemuiserver.plist

that helped one time. :-(

I have shutdown my macbook pro one time with success. I tested it again right after this clean shutdown with no results. Now if i redo the manipulation the triks works anymore.

Any ideas, please?
nataraja is offline   Reply With Quote
Old 09-13-2007, 05:30 PM   #2
trevor
Moderator
 
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,854
Boot to your OS X Install disc, select Disk Utility from one of the pulldown menus, go to the First Aid tab, select your boot drive and click "Repair Disk" (not Repair Disk Permissions). This should repair some of the damage done by repeatedly forcing shutdown. If it shows errors as being fixed, do it again. Repeat until no errors are shown as fixed.

Then, do this: Write down the exact date and time that your computer shows. Shut it down normally if possible, by going to the Apple Menu and selecting Shut Down...

If the machine hangs or goes to the rotating circle, let it go for 5-10 minutes. If it is still not shut down, force the issue in the way you have, by holding down the power button until it turns off.

Now, boot the computer and look in your logs. You can easily view your logs using the Console app. See what messages were written to the logs at the exact same time as you wrote down above. In other words, what is in the log from the same time as you shut it down, and shortly thereafter? Let us know.

Another thing that you can try, although it is a bit more advanced, is to enable "Remote Login" in System Preferences > Sharing > Services tab. Then after you attempt to shut down, while the blue screen with the rotating circle shows on your monitor, use ssh from the command line of another computer in your home to see what is really happening to your computer. If you're not familiar with ssh this will require a lot of detailed explanation on our part, though, so let us know.

Trevor
trevor is offline   Reply With Quote
Old 12-01-2008, 12:05 AM   #3
adamsdad
Prospect
 
Join Date: Nov 2008
Posts: 10
Hi.
I'm having the same problem as nataraja. My Macbook Pro won't shut down from the apple menu. It goes to the blue screen and stops at the rotating circle. I followed the instructions posted by trevor. The disk utility repairs didn't help. I went into my logs, per trevors advice and here's what it says:

Nov 30 22:50:05 craig-currys-computer shutdown: halt by craig:
Nov 30 22:50:06 craig-currys-computer SystemStarter[209]: authentication service (219) did not complete successfully
Nov 30 22:50:07 craig-currys-computer SystemStarter[209]: The following StartupItems failed to properly start:
Nov 30 22:50:07 craig-currys-computer SystemStarter[209]: /System/Library/StartupItems/AuthServer
Nov 30 22:50:07 craig-currys-computer SystemStarter[209]: - execution of Startup script failed

Can anybody help me and tell me what I need to do.
Thanks!
adamsdad is offline   Reply With Quote
Old 12-01-2008, 12:11 PM   #4
trevor
Moderator
 
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,854
What version of OS X are you using exactly?

Trevor
trevor is offline   Reply With Quote
Old 12-01-2008, 07:08 PM   #5
adamsdad
Prospect
 
Join Date: Nov 2008
Posts: 10
Version

OS X Version 10.4.11

Thanks
adamsdad is offline   Reply With Quote
Old 12-01-2008, 08:32 PM   #6
trevor
Moderator
 
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,854
Here's a thread discussing a different problem, but getting the same log message: http://forums.macosxhints.com/showthread.php?t=45645

It does not seem to have come to any conclusion, but there still may be useful information there. For example, bramley says that he gets that message, yet his computer seems to be functioning properly. Based on that, perhaps we need to see your entire log, rather than just this small snippet. Could you attach your system.log as a .txt file to this thread for us to check out?

(Note that you may need to pad your post count a little bit--I seem to recall that there's a minimum number of approved posts that must be made before you can attach files in the forum--perhaps three?)

Trevor
trevor is offline   Reply With Quote
Old 12-01-2008, 09:03 PM   #7
adamsdad
Prospect
 
Join Date: Nov 2008
Posts: 10
Tips

Thanks for the tips.
I'l get on that right away.
adamsdad is offline   Reply With Quote
Old 12-01-2008, 09:04 PM   #8
adamsdad
Prospect
 
Join Date: Nov 2008
Posts: 10
Tips

By that, I mean getting the text attached and sent.
Obviously, his second response is to pad my posts.
Thanks for that tip too.
adamsdad is offline   Reply With Quote
Old 12-01-2008, 09:16 PM   #9
adamsdad
Prospect
 
Join Date: Nov 2008
Posts: 10
Here it is

My entire log is attached in TXT Format.
Thank you so much for your time.
Attached Files
File Type: txt Entire Log.txt (40.8 KB, 180 views)
adamsdad is offline   Reply With Quote
Old 12-01-2008, 09:50 PM   #10
trevor
Moderator
 
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,854
Is that log from a time when the computer refused to shut down? It shows events between November 30 at 22:52:11 (i.e. 10:52 pm) and December 1 at 20:04:37 (i.e. 8:04 pm). Did you attempt to shut it down but could not between those times?

Trevor
trevor is offline   Reply With Quote
Old 12-01-2008, 09:54 PM   #11
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
And is that your system.log or console.log ?
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 12-01-2008, 10:12 PM   #12
adamsdad
Prospect
 
Join Date: Nov 2008
Posts: 10
It is my console log. Do you need the system log?
I may have tried to shut down in between I'm not sure.
I know it didn't work after I did the repair disk stuff.
adamsdad is offline   Reply With Quote
Old 12-01-2008, 11:46 PM   #13
Hal Itosis
Hall of Famer
 
Join Date: Apr 2002
Posts: 3,315
Here's a shell script i wrote that will look at *all* system.log files
near where shutdowns have occurred... grabbing the final 22 lines
by default. If called with an integer argument, it will instead read
that many lines. (i set a totally arbitrary maximum of 511 lines...
since the *less* the better, really).

It works by looking for a certain keyword which appears at startup
(different in both Tiger and Leopard)... and then gets the lines that
fall just before that keyword.
Code:

#!/bin/bash -
IFS=$' \t\n'
PATH=/bin:/usr/bin
export PATH

declare -i XCOD=0 v=0 default=22 max=511
x=${1//-/}; lines=${x:-$default}
v=`sw_vers -productVersion |awk -F. '{ print $2 }'`
t=npvhash; k=bzgrep; [ $v -lt 5 ] && t=quantum && k=zgrep

if [ -n "$(echo $lines |sed 's/[0-9]//g')" ] ||
	[ $lines -lt 1 ] || [ $lines -gt $max ]
then
	printf 'check system logs near shutdown\n' >&2
	printf 'Usage: \e[1m%s\e[0m [\e[4mN\e[0m]\n' \
		"`/usr/bin/basename $0`" >&2
	printf '# where 0 < N < %d\n' $(( max+=1 )) >&2
	printf '# N = %d by default\n' $default >&2
	exit 1
else
	for f in `ls -r /var/log/system.log*`
	do
		printf '\n\n\e[1m%s\e[0m >> \n' $f
		eval $k --color -B $lines -e $t $f
		(( XCOD+=$? ))
	done
	echo
fi
[ $XCOD -ne 0 ] && echo "$XCOD file(s) had no match" >&2
exit $XCOD
HTH,
-HI-

Last edited by Hal Itosis; 12-02-2008 at 09:10 PM. Reason: final tweaks (handles non-integer args better)
Hal Itosis is offline   Reply With Quote
Old 12-02-2008, 10:14 AM   #14
adamsdad
Prospect
 
Join Date: Nov 2008
Posts: 10
huh?

I'm not sure if this response is for me since it appears to be in Greek.
If so I think you're assuming that I know more about code than I do. I know zilch.
I'm not sure what I'm supposed to do with this.
Would you throw me a bone?
Thanks.
adamsdad is offline   Reply With Quote
Old 12-02-2008, 11:11 AM   #15
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
See the running-scripts section of this Unix FAQ
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 12-02-2008, 12:08 PM   #16
adamsdad
Prospect
 
Join Date: Nov 2008
Posts: 10
Results from Hal's Shell Script

I entered that script into Terminal. The I copied just the activity from today and pasted it here. I think the shut down stuff happens around 10:55:50.
Does it tell you anything useful?

/var/log/system.log >>
Dec 2 09:59:53 craig-currys-computer kernel[0]: sleep
Dec 2 09:59:53 craig-currys-computer kernel[0]: Enabling XMM register save/restore and SSE/SSE2 opcodes
Dec 2 09:59:53 craig-currys-computer kernel[0]: Started CPU 01
Dec 2 09:59:53 craig-currys-computer kernel[0]: IOBluetoothHCIController::restartShutdownWL this is a wake from sleep
Dec 2 09:59:53 craig-currys-computer kernel[0]: System Wake
Dec 2 09:59:53 craig-currys-computer kernel[0]: IOUSBWorkLoop::closeGate - interrupt Thread being held off
Dec 2 09:59:58 craig-currys-computer configd[34]: posting notification com.apple.system.config.network_change
Dec 2 09:59:58 craig-currys-computer configd[34]: posting notification com.apple.system.config.network_change
Dec 2 09:59:58 craig-currys-computer lookupd[470]: lookupd (version 369.8) starting - Tue Dec 2 09:59:58 2008
Dec 2 09:59:59 craig-currys-computer configd[34]: posting notification com.apple.system.config.network_change
Dec 2 10:00:04 craig-currys-computer lookupd[471]: lookupd (version 369.8) starting - Tue Dec 2 10:00:04 2008
Dec 2 10:37:58 craig-currys-computer /Applications/Safari.app/Contents/MacOS/Safari: CGImageDestinationCreate capacity parameter is zero\n
Dec 2 10:38:04 craig-currys-computer /Applications/Safari.app/Contents/MacOS/Safari: CGImageDestinationCreate capacity parameter is zero\n
Dec 2 10:51:47 craig-currys-computer loginwindow[63]: sendQuitEventToApp (LAServer): AESendMessage returned error -609
Dec 2 10:51:50 craig-currys-computer shutdown: halt by craig:
Dec 2 10:51:50 craig-currys-computer SystemStarter[572]: authentication service (582) did not complete successfully
Dec 2 10:51:52 craig-currys-computer SystemStarter[572]: The following StartupItems failed to properly start:
Dec 2 10:51:52 craig-currys-computer SystemStarter[572]: /System/Library/StartupItems/AuthServer
Dec 2 10:51:52 craig-currys-computer SystemStarter[572]: - execution of Startup script failed
Dec 2 10:55:01 localhost kernel[0]: hi mem tramps at 0xffe00000
Dec 2 10:55:01 localhost kernel[0]: PAE enabled
Dec 2 10:55:01 localhost kernel[0]: 64 bit mode enabled
Dec 2 10:55:01 localhost kernel[0]: standard timeslicing quantum is 10000 us
--
Dec 2 10:55:08 craig-currys-computer lookupd[79]: lookupd (version 369.8) starting - Tue Dec 2 10:55:08 2008
Dec 2 10:55:09 craig-currys-computer configd[34]: posting notification com.apple.system.config.network_change
Dec 2 10:55:09 craig-currys-computer lookupd[85]: lookupd (version 369.8) starting - Tue Dec 2 10:55:09 2008
Dec 2 10:55:10 craig-currys-computer configd[34]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-network
Dec 2 10:55:10 craig-currys-computer configd[34]: posting notification com.apple.system.config.network_change
Dec 2 10:55:10 craig-currys-computer lookupd[94]: lookupd (version 369.8) starting - Tue Dec 2 10:55:10 2008
Dec 2 10:55:13 craig-currys-computer configd[34]: target=enable-network: disabled
Dec 2 10:55:14 craig-currys-computer mDNSResponder: Adding browse domain local.
Dec 2 10:55:49 craig-currys-computer kernel[0]: CSRHIDTransitionDriver:robe:
Dec 2 10:55:49 craig-currys-computer kernel[0]: CSRHIDTransitionDriver::start before command
Dec 2 10:55:50 craig-currys-computer kernel[0]: CSRHIDTransitionDriver::stop
Dec 2 10:55:50 craig-currys-computer kernel[0]: IOBluetoothHCIController::start Idle Timer Stopped
Dec 2 10:55:51 craig-currys-computer kernel[0]: Registering For 802.11 Events
Dec 2 10:55:51 craig-currys-computer kernel[0]: [HCIController][setupHardware] AFH Is Supported
Dec 2 10:55:52 craig-currys-computer shutdown: halt by craig:
Dec 2 10:55:53 craig-currys-computer SystemStarter[204]: authentication service (214) did not complete successfully
Dec 2 10:55:55 craig-currys-computer SystemStarter[204]: The following StartupItems failed to properly start:
Dec 2 10:55:55 craig-currys-computer SystemStarter[204]: /System/Library/StartupItems/AuthServer
Dec 2 10:55:55 craig-currys-computer SystemStarter[204]: - execution of Startup script failed
Dec 2 10:57:44 localhost kernel[0]: hi mem tramps at 0xffe00000
Dec 2 10:57:44 localhost kernel[0]: PAE enabled
Dec 2 10:57:44 localhost kernel[0]: 64 bit mode enabled
Dec 2 10:57:44 localhost kernel[0]: standard timeslicing quantum is 10000 us

craig-currys-computer:~ craig$ [ $XCOD -ne 0 ] && echo "$XCOD file(s) had no match" >&2
4 file(s) had no match
craig-currys-computer:~ craig$ exit $XCOD
adamsdad is offline   Reply With Quote
Old 12-02-2008, 12:24 PM   #17
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Quote:
Originally Posted by adamsdad
Dec 2 10:51:47 craig-currys-computer loginwindow[63]: sendQuitEventToApp (LAServer): AESendMessage returned error -609
Dec 2 10:51:50 craig-currys-computer shutdown: halt by craig:

That message above the LAServer is curious.
I thought the LAServer is only used for Japanese - see this older thread: http://forums.macosxhints.com/showthread.php?t=40333
Do you have Japanese input enabled on your Mac?
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 12-02-2008, 12:33 PM   #18
adamsdad
Prospect
 
Join Date: Nov 2008
Posts: 10
Japanese isn't enabled
adamsdad is offline   Reply With Quote
Old 12-02-2008, 07:13 PM   #19
Hal Itosis
Hall of Famer
 
Join Date: Apr 2002
Posts: 3,315
Quote:
Originally Posted by adamsdad
Nov 30 22:50:05 craig-currys-computer shutdown: halt by craig:
SystemStarter[209]: authentication service (219) did not complete successfully
SystemStarter[209]: The following StartupItems failed to properly start:
SystemStarter[209]: /System/Library/StartupItems/AuthServer
SystemStarter[209]: - execution of Startup script failed

That exact sequence of events appears in my logs once (on a Tiger machine i sometimes use),
but I don't recall any trouble shutting down that iMac (G5) ever.

For every other shutdown on it, the very last shutdown entry is always:
SystemStarter[NNNN]: authentication service (NNNN) did not complete successfully

...and the *next* entry (sometime later, i.e., very first startup item) is:
localhost kernel[0]: standard timeslicing quantum is 10000 us

You seem to have some extra startup entries:
Dec 2 10:55:01 localhost kernel[0]: hi mem tramps at 0xffe00000
Dec 2 10:55:01 localhost kernel[0]: PAE enabled
Dec 2 10:55:01 localhost kernel[0]: 64 bit mode enabled
...which are probably normal.

idunno.

i don't "see" anything terribly wrong... but then again,
most of the *contents* of system.log is Greek to me.
Hal Itosis is offline   Reply With Quote
Old 12-02-2008, 11:34 PM   #20
adamsdad
Prospect
 
Join Date: Nov 2008
Posts: 10
Sooooo

I guess I just need to take my laptop into the Apple Store here and say, "It won't shut down and I don't know why..." Correct?
adamsdad is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.