11 Replies Latest reply: Dec 22, 2013 6:01 PM by a4darkness
Andy Geach Level 1 Level 1 (5 points)

Hi

 

MacBook Pro 2.53 GHz Intel Core 2 Duo

OS X 10.8.2

 

I cannot Log out, Restart or Shutdown via the Apple Menu, or with Cmd-Shift  Q for logout.

 

No messages in Console for any of them.

Sleep works, as do other Apple Menu items.

 

I have tried:

 

Deleting ~/Library/Preferences/com.apple.dock*

Booting into Recovery and verifying, repairing my normal startup disk, repairing permissions

Disabling everything under /Library/Input Methods, /Library/LaunchAgents, /Library/LaunchDaemons, ~/Library/LaunchAgents, ~/Library/Input Methods

 

Anyone seen this before? Or know what else to try?

 

cheers

 

Andy

 


 



MacBook Pro, OS X Mountain Lion (10.8.2)
  • 1. Re: Cannot Restart, Shutdown or Log out from Apple Menu
    RodneyW Level 4 Level 4 (3,030 points)

    Does this happen on all user accounts on the computer?

  • 2. Re: Cannot Restart, Shutdown or Log out from Apple Menu
    Andy Geach Level 1 Level 1 (5 points)

    Yes - all users. That was another thing I tried - creating a brand new user, and yes, same behaviour on that new user too.

  • 3. Re: Cannot Restart, Shutdown or Log out from Apple Menu
    Linc Davis Level 10 Level 10 (117,975 points)

    What happens when you try?

  • 4. Re: Cannot Restart, Shutdown or Log out from Apple Menu
    Andy Geach Level 1 Level 1 (5 points)

    Nothing at all - no sign of any activity. Nothing in Console logs.

     

    I installed a new version of LittleSnitch today. At the end the installer tells you you need to restart, and it provides a restart button. Again nothing.

     

    I've been restarting using Terminal command:

     

    sudo shutdown -r now

  • 5. Re: Cannot Restart, Shutdown or Log out from Apple Menu
    Linc Davis Level 10 Level 10 (117,975 points)

    Please read this whole message before doing anything.

    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.

    The purpose of the test is to determine whether your problem is caused by third-party system modifications that load automatically at startup or login.

     

    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    • Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    • When you see the gray Apple logo, release the shift key.
    • If you are prompted to log in, type your password, and then hold down the shift key again as you click  Log in.
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.

     

    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.

    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.

     

    Test while in safe mode. Same problem?

     

    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • 6. Re: Cannot Restart, Shutdown or Log out from Apple Menu
    Andy Geach Level 1 Level 1 (5 points)

    Exact same behaviour in safe boot mode

  • 7. Re: Cannot Restart, Shutdown or Log out from Apple Menu
    Linc Davis Level 10 Level 10 (117,975 points)

    Back up all data.

     

    Boot into Recovery by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.

     

    Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with proxy servers, or with networks that require a certificate for authentication.

     

    When the OS X Utilities screen appears, follow the prompts to reinstall the OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.

  • 8. Re: Cannot Restart, Shutdown or Log out from Apple Menu
    Andy Geach Level 1 Level 1 (5 points)

    Thanks for taking the time to reply - but I was looking for something less drastic. And I know how to re-install my system.

     

    I would prefer to know whatever it is that's causing the issue; I'm guessing there's some conflict with some software or extension I have installed, I'd just like to know some other ways to track down its location.

     

    No one has any other useful ideas?

  • 9. Re: Cannot Restart, Shutdown or Log out from Apple Menu
    Linc Davis Level 10 Level 10 (117,975 points)

    I'm guessing there's some conflict with some software or extension I have installed

     

    You've ruled that out. The remaining possibilities are system corruption or a hardware fault. I suggest you rule out system corruption next.

  • 10. Re: Cannot Restart, Shutdown or Log out from Apple Menu
    Andy Geach Level 1 Level 1 (5 points)

    I finally fixed this, posting the solution here in case it helps anyone else

     

    I downloaded OnyX, a very handy free application

     

    http://www.titanium.free.fr/

     

    Under Parameters > Login, there is a option marked "Turn off Restart, Shutdown, Logout". Mine was checked, so I unchecked it and restarted. Via command line as normal. Bingo! After restart, back to normal.

     

    I guess there's a "sudo defaults write..." option to do/undo this but I couldn't find it. Must be very deep down as it survived a system re-install

  • 11. Re: Cannot Restart, Shutdown or Log out from Apple Menu
    a4darkness Level 1 Level 1 (0 points)

    Can't thank you enough for posting this solution.  Been trying to figure this out now for months and literally tried everything.  Who would have known it was just an Onyx setting?? Never had any idea this was checked and certainly never intended to do so.  Props Andy.