JAGUK

Q: Keychain, permissions and general system wide issues

Hi all,

 

Sorry for the slightly odd title to this post but I was at a loss what to specifically post this under due to the sytem wide nature of the problems I am experiencing with a Mid 2009 13" MBP.

 

The following problems exist with any user, including admins.

 

I was first made aware of an issue when the MBP stopped connecting to secure websites - Chrome would just give the "Aw Snap" error and Safari would give the error saying it couldn't establish a secure connection to the server etc.

 

After searching this, I was led to a community page saying to do a keychain first aid which then threw up the follwing results (the login keychain did not contain any items):

 

Verification started

Checking keychain configuration for testuser (user ID=1079)

Home directory is /Users/testuser

Checked login keychain

Unable to open ~/Library/Keychains/login.keychain (-25312)

Checked default keychain

Checked contents of ~/Library/Keychains/login.keychain

Unable to open ~/Library/Keychains/login.keychain (-25312)

Problems were found; you should choose the Repair option to fix them

Verification failed

 

 

Repair started

Checking keychain configuration for testuser (user ID=1079)

Home directory is /Users/testuser

Checked login keychain

Unable to open ~/Library/Keychains/login.keychain (-25312)

Failed to rename /Users/testuser/Library/Keychains/login.keychain to /Users/testuser/Library/Keychains/login_renamed.keychain, reason: The operation couldn’t be completed. Invalid argument

Checked default keychain

Checked contents of ~/Library/Keychains/login.keychain

Unable to open ~/Library/Keychains/login.keychain (-25312)

Warning: some problems were not fixed

Repair failed

 

As well as this issue I am also experiencing:

 

  1. Failure of Spotlight to open native applications e.g. I want to open Kechain Access so start to type keychain, but instead of showing the result for the application I only get a dictionary result.
  2. If I manually try to open native apps from the Applications directory they do not open
  3. Failure to connect to my work network drives

 

I came across this post on the community https://discussions.apple.com/message/25579695#2557969 and tried the suggestions of Linc Davis and specifically his suggestion about restarting in safe mode.

 

This does temporarily fix all of the issues that I am experiencing but they just reappear again after a while of using the laptop.

 

I had recently bought an SSD to upgrade this MBP and shortly after these problems started I decided that I would take the opportunity to install it and hope that a fresh install of ML might fix the issues.

 

Unfotunatley even after this, the problems just resurfaced.

 

I have tried two fresh installs of ML and since the 2nd install I haven't installed a single 3rd party application or synced any of my user data back to the MBP.

 

I have even tried a 2nd SSD in case the problem was somehow related to it.

 

All problems still persist and I am at a loss what to try next, hence my post here to the community!

 

It now feels like these problems may well be linked to another hardware issue but this goes beyond my experience with these types of issues!

 

Any help / suggestiosn would be hugely appreciated!

 

Justin

MacBook Pro, OS X Mountain Lion (10.8.5)

Posted on May 1, 2014 4:43 AM

Close

Q: Keychain, permissions and general system wide issues

  • All replies
  • Helpful answers

  • by Eric Root,

    Eric Root Eric Root May 2, 2014 12:53 PM in response to JAGUK
    Level 9 (74,211 points)
    iTunes
    May 2, 2014 12:53 PM in response to JAGUK

    Since it cleared in the Safe Mode, it may be a 3rd party application. Try running this program and then copy and paste the output in a reply. Please use copy and paste as screen shots can be hard to read.


    Etrecheck – System Information

  • by JAGUK,

    JAGUK JAGUK May 12, 2014 12:10 PM in response to Eric Root
    Level 1 (33 points)
    Servers Enterprise
    May 12, 2014 12:10 PM in response to Eric Root

    Hey Eric,

     

    Sorry for not being able to reply sooner, I am just back from a holiday.

     

    I will try and get this updated with the info you requested from Etrecheck tomorrow

     

    FYI, the last clean install of 10.8 that i did has not had a single app install on it but the problem persists...

     

    I'll be back tomorrow hopefully

     

    Regards, Justin

  • by JAGUK,

    JAGUK JAGUK May 12, 2014 1:08 PM in response to Eric Root
    Level 1 (33 points)
    Servers Enterprise
    May 12, 2014 1:08 PM in response to Eric Root

    Hey Eric,

     

    I just made time to go get the results for you.

     

    In addition to the problems I detailed above, when I first tried to download Etrecheck, the system refused stating that there was not enough space on the hard drive. However, after using the inspector on Macintosh HD it was clearly not the case. Aftyer rebooting into safe mode and restarting I was able to download it. Currently having no issues due to safe mode restart but they will return eventually over the next few hours of usage.

     

    Here's the Etrecheck results, thanks in advance

     

    Hardware Information:

              MacBook Pro (13-inch, Mid 2009)

              MacBook Pro - model: MacBookPro5,5

              1 2.26 GHz Intel Core 2 Duo CPU: 2 cores

              8 GB RAM

     

    Video Information:

              NVIDIA GeForce 9400M - VRAM: 256 MB

     

    System Software:

              OS X 10.8.5 (12F45) - Uptime: 0 days 0:0:37

     

    Disk Information:

              Crucial_CT240M500SSD1 disk0 : (240.06 GB)

                        disk0s1 (disk0s1) <not mounted>: 209.7 MB

                        Macintosh HD (disk0s2) / [Startup]: 239.2 GB (222.32 GB free)

                        Recovery HD (disk0s3) <not mounted>: 650 MB

     

              HL-DT-ST DVDRW  GS23N 

     

    USB Information:

              Apple Inc. Built-in iSight

     

              Apple Internal Memory Card Reader

     

              Apple Inc. Apple Internal Keyboard / Trackpad

     

              Apple Computer, Inc. IR Receiver

     

              Apple Inc. BRCM2046 Hub

                        Apple Inc. Bluetooth USB Host Controller

     

    Thunderbolt Information:

     

    Gatekeeper:

              Anywhere

     

    Launch Daemons:

              [loaded] com.adobe.fpsaud.plist Support

     

    User Login Items:

              Bertha

              UNKNOWN

     

    Internet Plug-ins:

              FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support

              Flash Player: Version: 13.0.0.206 - SDK 10.6 Support

              QuickTime Plugin: Version: 7.7.1

              JavaAppletPlugin: Version: 14.3.0 - SDK 10.8 Check version

     

    Audio Plug-ins:

              AirPlay: Version: 1.7 - SDK 10.8

              iSightAudio: Version: 7.7.1 - SDK 10.8

     

    iTunes Plug-ins:

              Quartz Composer Visualizer: Version: 1.4 - SDK 10.8

     

    3rd Party Preference Panes:

              Flash Player  Support

     

    Time Machine:

              Time Machine not configured!

     

    Top Processes by CPU:

                  53%          Safari

                  17%          com.apple.hiservices-xpcservice

                  14%          WindowServer

                  11%          WebProcess

                  11%          syncdefaultsd

     

    Top Processes by Memory:

              74 MB          Safari

              49 MB          com.apple.dock.extra

              49 MB          mds

              49 MB          loginwindow

              49 MB          SystemUIServer

     

    Virtual Memory Information:

              6.06 GB          Free RAM

              1.04 GB          Active RAM

              137 MB          Inactive RAM

              527 MB          Wired RAM

              152 MB          Page-ins

              0 B          Page-outs

  • by Eric Root,

    Eric Root Eric Root May 13, 2014 6:38 AM in response to JAGUK
    Level 9 (74,211 points)
    iTunes
    May 13, 2014 6:38 AM in response to JAGUK

    You are welcome.

     

    Have you tried doing a keychain reset?

     

    Keychain Reset

     

    Keychain Issues - Resolve  see post by Kappy

     

    You have 2 login items - Bertha and UNKNOWN. Try taking them out of your login items and restarting. Two less potential problems.

     

    Disk Information:

              Crucial_CT240M500SSD1 disk0 : (240.06 GB)

                        disk0s1 (disk0s1) <not mounted>: 209.7 MB

                        Macintosh HD (disk0s2) / [Startup]: 239.2 GB (222.32 GB free)

                        Recovery HD (disk0s3) <not mounted>: 650 MB

     

     

    Can you boot into the Recovery Volume (command - R on a restart)? Two volumes aren't mounting. Do they show in Disk Utility?

  • by JAGUK,

    JAGUK JAGUK May 13, 2014 7:42 AM in response to Eric Root
    Level 1 (33 points)
    Servers Enterprise
    May 13, 2014 7:42 AM in response to Eric Root

    Hey Eric,

     

    I hadn't tried a keychain reset actually, mainly becasue the problems didn't seem locked down to a single user - I get the issues whether I'm logged in as the local admin account or a standar user

     

    However, for the interests of troubleshooting I have done a reset on both!

     

    Should I go down the route of deleting the keychain just yet?

     

    RE the login items, yeah I shouldn't have added the server and logged in as a mobile user... i have since removed the server and mobile user and created another local standard user account. FYI - I was getting issue with only a local admin account on the MBP so I don't think the mobile user had affected things.

     

    From Recovery I only see the SSD / Macintosh HD and the base system image (disk1?)

     

    Here's the disk info again from the local admin account - let me know if you require any other info to help! Thanks again Eric ;-)

     

    Disk Information:

              Crucial_CT240M500SSD1 disk0 : (240.06 GB)

                        disk0s1 (disk0s1) <not mounted>: 209.7 MB

                        Macintosh HD (disk0s2) / [Startup]: 239.2 GB (222.4 GB free)

                        Recovery HD (disk0s3) <not mounted>: 650 MB

     

              HL-DT-ST DVDRW  GS23N

  • by Eric Root,

    Eric Root Eric Root May 13, 2014 8:16 AM in response to JAGUK
    Level 9 (74,211 points)
    iTunes
    May 13, 2014 8:16 AM in response to JAGUK

    I wouldn't delete the keychain yet. Is the keychain now working in the admin account?

     

    Do things work normally in the standard account?

  • by JAGUK,

    JAGUK JAGUK May 13, 2014 8:28 AM in response to Eric Root
    Level 1 (33 points)
    Servers Enterprise
    May 13, 2014 8:28 AM in response to Eric Root

    Hey Eric,

     

    As soon as I boot into safe mode, the issue is resolved temporarily so since I did this last night the issues have not yet returned.

     

    I should have probably waited until I was experiencing the issues before doing the keychain reset... my bad!

     

    In my troubleshooting it didn't seem to make a difference re the account type, the problems were system wide for all users / account types.

     

    Maybe the best thing to do now is just wait and see if the issues return again?

     

    Thanks again for the swift response,

     

    Justin

  • by JAGUK,

    JAGUK JAGUK May 13, 2014 10:07 AM in response to Eric Root
    Level 1 (33 points)
    Servers Enterprise
    May 13, 2014 10:07 AM in response to Eric Root

    Hey,

     

    After using the MBP for approx 30 mins, this issues have indeed returned.

     

    One additional nugget of info I forgot to post originally was that if I open keychain access at this point (one of the few apps that will open), the login keychain appears empty of any entries.

     

    Additionally, if I try to click the "reset my default keychain" button it doesn't work and I receive this error message "A Module Directory Service error has occurred"

     

    Does this help at all?

     

    I'm just trying to find a way to save out the keychain repair output but currently I am struggling whilst the issues persist due to absolutely nothing working! I can't even create a file from Terminal or even ssh into another machine to create the file there!

     

    I'll keep trying but might end up having to take a photo!

  • by JAGUK,

    JAGUK JAGUK May 13, 2014 10:26 AM in response to Eric Root
    Level 1 (33 points)
    Servers Enterprise
    May 13, 2014 10:26 AM in response to Eric Root

    Further update, just tried to open Notes just in case and I get this notification "Mac OS X needs to repair your library to run applications. Type your password to allow". After authenticating the app just fails to open.

     

    However, using pastie.org i finally got the keychain output:

     

    Verification started

    Checking keychain configuration for admin (user ID=501)

    Home directory is /Users/admin

    Checked login keychain

    Unable to open ~/Library/Keychains/login.keychain (-25312)

    Checked password for ~/Library/Keychains/login.keychain

    Unable to verify password for ~/Library/Keychains/login.keychain (-67674)

    Unable to read settings for ~/Library/Keychains/login.keychain (-67674)

    Checked default keychain

    Checked contents of ~/Library/Keychains/login.keychain

    Unable to open ~/Library/Keychains/login.keychain (-25312)

    Problems were found; you should choose the Repair option to fix them

    Verification failed

  • by Eric Root,

    Eric Root Eric Root May 14, 2014 7:22 AM in response to JAGUK
    Level 9 (74,211 points)
    iTunes
    May 14, 2014 7:22 AM in response to JAGUK

    Do you have the old hard drive? You could put that back in and test to see if you are having the same problems since you posted the problems started after the SSD installation.

     

    Apple Hardware Test doesn't catch everything, so even if it doesn't find a problem, you could have one.

     

    Apple Hardware Test

     

    Apple Hardware Test – Invoke and Interpret

     

    Apple Hardware test – How to run and interpret (2)

     

    Apple Hardware Test - Using

     

    Apple Diagnostics – Computers introduced after June 2013

     

    Memory Test

     

    Memory Test (2)

     

    If you live near an Apple Store, make a Genius Bar appointment to have the computer tested. Supposedly there is no charge for testing.

     

    Genius Bar Reservation US

  • by JAGUK,

    JAGUK JAGUK May 14, 2014 9:29 AM in response to Eric Root
    Level 1 (33 points)
    Servers Enterprise
    May 14, 2014 9:29 AM in response to Eric Root

    Hey Eric,

     

    I did have the same issues with the previous factory HDD but then I installed a new SSD and still have the same issues.

     

    So this maybe means that another piece of hardware is faulty.

     

    I could try replacing the RAM but these issues don't seem to be the normal RAM type issues that you normally see i.e. kernal panics.

     

    I will try the tests you have linked to though but if else fails I do have an Apple Store near by in London (UK) so I will go and get the bad news from those guys!

     

    Thanks again for your help

     

    Justin

  • by Eric Root,

    Eric Root Eric Root May 14, 2014 9:53 AM in response to JAGUK
    Level 9 (74,211 points)
    iTunes
    May 14, 2014 9:53 AM in response to JAGUK

    If you had the issues with old hard drive also, a trip to the store sounds like the best idea.

     

    You are welcome and good luck.