thorsenmark

Q: Can't enable location services

Suddenly the location services on my MacBookPro Retina can't be enabled. I have El Capitan running and all updates applied. The only thing that happened was that I did a recovery with an iPad to a newer one. I have done a reboot and it still won't function.

MacBook Pro (Retina, 15-inch, Early 2013), OS X El Capitan (10.11)

Posted on Oct 13, 2015 5:04 PM

Close

Q: Can't enable location services

  • All replies
  • Helpful answers

Page 1 Next
  • by Linc Davis,

    Linc Davis Linc Davis Oct 13, 2015 5:38 PM in response to thorsenmark
    Level 10 (208,000 points)
    Applications
    Oct 13, 2015 5:38 PM in response to thorsenmark

    What happens when you try to enable it?

  • by thorsenmark,

    thorsenmark thorsenmark Oct 13, 2015 5:46 PM in response to Linc Davis
    Level 1 (0 points)
    Oct 13, 2015 5:46 PM in response to Linc Davis

    It just gets selected and turns blue of a fraction of a second. And then undoes the selection of the checkbox. That's the option under Privacy under System Preferences.

  • by Linc Davis,

    Linc Davis Linc Davis Oct 13, 2015 6:46 PM in response to thorsenmark
    Level 10 (208,000 points)
    Applications
    Oct 13, 2015 6:46 PM in response to thorsenmark

    Launch the Console application in any of the following ways:

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    The title of the Console window should be All Messages. If it isn't, select

              SYSTEM LOG QUERIES ▹ All Messages

    from the log list on the left. If you don't see that list, select

              View ▹ Show Log List

    from the menu bar at the top of the screen.

    Click the Clear Display icon in the toolbar. Then take theaction that isn't working the way you expect. Select any lines that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.

    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.

    Please don't indiscriminately dump thousands of lines from the log into this discussion.

    Please don't post screenshots of log messages—post the text.

    Some private information, such as your name or email address, may appear in the log. Anonymize before posting.

    When you post the log extract, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

  • by thorsenmark,

    thorsenmark thorsenmark Oct 13, 2015 8:06 PM in response to Linc Davis
    Level 1 (0 points)
    Oct 13, 2015 8:06 PM in response to Linc Davis

    Nothing came up under Console messages when I was selecting the checkbox for enabling location services in Privacy under System Preferences. I did this for several seconds.

  • by Linc Davis,

    Linc Davis Linc Davis Oct 13, 2015 8:47 PM in response to thorsenmark
    Level 10 (208,000 points)
    Applications
    Oct 13, 2015 8:47 PM in response to thorsenmark

    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 the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.

    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.

    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.

    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.

    The login screen appears even if you usually login 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, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • by thorsenmark,

    thorsenmark thorsenmark Oct 13, 2015 8:51 PM in response to Linc Davis
    Level 1 (0 points)
    Oct 13, 2015 8:51 PM in response to Linc Davis

    That was already done and nothing changed. An Apple tech support person even suggested doing an SMC and PRAM reset, just to try. Nothing. Finally I tried a reinstallation of the OS from Cmd-R but that ran into an error message so I installed from the App Store. The results are still the same. This is the only similar message I found doing a search (https://www.reddit.com/r/applehelp_betas/comments/3eo992/location_services_not_w orking_in_el_capitan/). They seemed to have had this issue a while back. Mine only just happened.

  • by Linc Davis,

    Linc Davis Linc Davis Oct 13, 2015 9:03 PM in response to thorsenmark
    Level 10 (208,000 points)
    Applications
    Oct 13, 2015 9:03 PM in response to thorsenmark

    This procedure will delete certain temporary and cache files used by system processes. The files are automatically generated and don't contain any of your data. Occasionally they can become corrupt and cause problems such as yours.

    Back up all data and read this whole message before doing anything.

    Triple-click anywhere in the line below on this page to select it:

    /var/folders/zz

    Right-click or control-click the highlighted line and select

              Services Reveal in Finder (or just Reveal)

    from the contextual menu.* A folder should open with a subfolder named "zz" selected. Move that subfolder to the Trash. You may be prompted for your administrator login password. Restart the computer and empty the Trash.

    IMPORTANT: It's been reported a few times that a computer failed to restart after the zz folder was moved to the Trash. If that happens, it means that the operating system is corrupt (and was already corrupt before you moved the folder.) In that case, there's no need to panic. Just reinstall the OS. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used. If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode. All other data, including all your documents and settings, will be preserved.

    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select

              Go Go to Folder...

    from the menu bar and paste into the box that opens by pressing command-V. You may not see what you pasted because a line break is included. Press return.

  • by thorsenmark,

    thorsenmark thorsenmark Oct 13, 2015 9:16 PM in response to Linc Davis
    Level 1 (0 points)
    Oct 13, 2015 9:16 PM in response to Linc Davis

    That had no effect other than deleting folders and files. The system recreated them after a reboot, it seems.

  • by Linc Davis,

    Linc Davis Linc Davis Oct 13, 2015 9:30 PM in response to thorsenmark
    Level 10 (208,000 points)
    Applications
    Oct 13, 2015 9:30 PM in response to thorsenmark

    This procedure is a diagnostic test. It makes no changes to your data.

    Please triple-click anywhere in the line below on this page to select it:

    ls -@ORae /var/db/locationd | pbcopy

    Copy the selected text to the Clipboard by pressing the key combination command-C.

    Launch the built-in Terminal application in any of the following ways:

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.

    Wait for a new line ending in a dollar sign ($) to appear below what you entered.

    The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.

    The Terminal window doesn't show the output. Please don't copy anything from there.

    If any personal information appears in the output, anonymize before posting, but don’t remove the context.

  • by thorsenmark,

    thorsenmark thorsenmark Oct 13, 2015 9:33 PM in response to Linc Davis
    Level 1 (0 points)
    Oct 13, 2015 9:33 PM in response to Linc Davis

    $ ls -@ORae /var/db/locationd | pbcopy

    ls: locationd: Permission denied

    $

  • by Linc Davis,

    Linc Davis Linc Davis Oct 13, 2015 9:44 PM in response to thorsenmark
    Level 10 (208,000 points)
    Applications
    Oct 13, 2015 9:44 PM in response to thorsenmark

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.

    Please enter this command in the same way as before:

    sudo ls -@ORae /var/db/locationd | pbcopy

    You'll be prompted for your login password. Nothing will be displayed when you type it. Type carefully and then press return. If you don’t have a login password, you’ll need to set one before you can run the command. You may get a one-time warning to be careful. Confirm. You don't need to post the warning.

    If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Log in as one and start over.

  • by thorsenmark,

    thorsenmark thorsenmark Oct 13, 2015 9:53 PM in response to Linc Davis
    Level 1 (0 points)
    Oct 13, 2015 9:53 PM in response to Linc Davis

    $ sudo ls -@ORae /var/db/locationd | pbcopy

    sudo: /etc/sudoers.d is owned by uid 504, should be 0

  • by Linc Davis,

    Linc Davis Linc Davis Oct 13, 2015 10:29 PM in response to thorsenmark
    Level 10 (208,000 points)
    Applications
    Oct 13, 2015 10:29 PM in response to thorsenmark

    Your OS X installation is corrupt. If you don't already have a current backup, back up all data, then reinstall the OS.* You don't need to erase the startup volume, and you won't need the backup unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used.

    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.

    If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode. All other data will be preserved.

    *The linked support article refers to OS X 10.11 ("El Capitan"), but the procedure is the same for OS X 10.7 ("Lion") and later.

  • by thorsenmark,

    thorsenmark thorsenmark Oct 13, 2015 10:34 PM in response to Linc Davis
    Level 1 (0 points)
    Oct 13, 2015 10:34 PM in response to Linc Davis

    That's already been done earlier today, as I mentioned prior. Thanks for your help

Page 1 Next