Cannot open Internet Accounts pane

I have a 2012 MBA running Yosemite 10.10 ... right after OS installation I found myself logged in an old 'me.com' iCloud account which I do not want to have as primary account. So I logged out of it and tried to log in with my preferred iCloud account. By doing that, I got a message which said ".... is already signed in to iCloud. To use this Apple ID as your primary iCloud account, delete it from Internet Accounts and sign in again." So I tried to open Internet Accounts and got a return message " Preference error - could not load Internet Accounts preference pane"

Any idea which could help?

Thanks...

MacBook Air, OS X Yosemite (10.10)

Posted on Oct 27, 2014 1:32 AM

Reply
17 replies

Oct 27, 2014 12:11 PM in response to cucu1965

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. Click Utilities, then Console in the icon grid.

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 try to open the preference pane. Select any messages 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, may appear in the log. Anonymize before posting.

Oct 27, 2014 3:39 PM in response to Linc Davis

here the console messages:


27/10/14 23:24:18.166 com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.


)

27/10/14 23:24:18.566 com.apple.NotesMigratorService[922]: Joined Aqua audit session

27/10/14 23:24:18.575 com.apple.internetaccounts[3488]: Returning accountUIDs: (

)

27/10/14 23:24:18.575 com.apple.internetaccounts[3488]: Adding listener

27/10/14 23:24:18.579 com.apple.SecurityServer[55]: Killing auth hosts

27/10/14 23:24:18.579 com.apple.SecurityServer[55]: Session 100066 destroyed

27/10/14 23:24:18.608 com.apple.internetaccounts[3488]: [com.apple.calendar.agentLink.xpc] [Creating a remote proxy object for com.apple.CalendarAgent.proxy resulted in an invalid connection. The connection will be removed. Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CalendarAgent.proxy was invalidated.) UserInfo=0x600000465e80 {NSDebugDescription=The connection to service named com.apple.CalendarAgent.proxy was invalidated.} (

0 CalendarAgentLink 0x00007fff8493a3c5 -[CalAgentLink _remoteObjectWithErrorBlock:] + 47

1 CalendarPersistence 0x00007fff89683de2 +[CalPersistence _startCoreDataXPCServer:] + 198

2 CalendarPersistence 0x00007fff89684835 __87+[CalPersistence asyncConnectToPersistenceWithClientXPCWaitingOnGroup:completionBlock:]_block_in voke344 + 130

3 libdispatch.dylib 0x00007fff87e58323 _dispatch_call_block_and_release + 12

4 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

5 libdispatch.dylib 0x00007fff87e5a99e _dispatch_async_redirect_invoke + 650

6 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

7 libdispatch.dylib 0x00007fff87e5688f _dispatch_root_queue_drain + 935

8 libdispatch.dylib 0x00007fff87e64fe4 _dispatch_worker_thread3 + 91

9 libsystem_pthread.dylib 0x00007fff8f4976cb _pthread_wqthread + 729

10 libsystem_pthread.dylib 0x00007fff8f4954a1 start_wqthread + 13

)]

27/10/14 23:24:18.609 com.apple.internetaccounts[3488]: [com.apple.calendar.store.log] [Tried to connect to XPC persistence, but connection was invalidated, retrying...]

27/10/14 23:24:18.609 com.apple.internetaccounts[3488]: [com.apple.calendar.store.log] [Retry Attempt 1]

27/10/14 23:24:18.613 com.apple.internetaccounts[3488]: [com.apple.calendar.agentLink.xpc] [Creating a remote proxy object for com.apple.CalendarAgent.proxy resulted in an invalid connection. The connection will be removed. Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CalendarAgent.proxy was invalidated.) UserInfo=0x600000466600 {NSDebugDescription=The connection to service named com.apple.CalendarAgent.proxy was invalidated.} (

0 CalendarAgentLink 0x00007fff8493a3c5 -[CalAgentLink _remoteObjectWithErrorBlock:] + 47

1 CalendarPersistence 0x00007fff89683de2 +[CalPersistence _startCoreDataXPCServer:] + 198

2 CalendarPersistence 0x00007fff89684275 +[CalPersistence _startCoreDataXPCServer:] + 1369

3 CalendarPersistence 0x00007fff89684835 __87+[CalPersistence asyncConnectToPersistenceWithClientXPCWaitingOnGroup:completionBlock:]_block_in voke344 + 130

4 libdispatch.dylib 0x00007fff87e58323 _dispatch_call_block_and_release + 12

5 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

6 libdispatch.dylib 0x00007fff87e5a99e _dispatch_async_redirect_invoke + 650

7 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

8 libdispatch.dylib 0x00007fff87e5688f _dispatch_root_queue_drain + 935

9 libdispatch.dylib 0x00007fff87e64fe4 _dispatch_worker_thread3 + 91

10 libsystem_pthread.dylib 0x00007fff8f4976cb _pthread_wqthread + 729

11 libsystem_pthread.dylib 0x00007fff8f4954a1 start_wqthread + 13

)]

27/10/14 23:24:18.614 com.apple.internetaccounts[3488]: [com.apple.calendar.store.log] [Tried to connect to XPC persistence, but connection was invalidated, retrying...]

27/10/14 23:24:18.615 com.apple.internetaccounts[3488]: [com.apple.calendar.store.log] [Retry Attempt 2]

27/10/14 23:24:18.662 com.apple.internetaccounts[3488]: [Warning] IMAccount: 0x7fab5b604200 [ID: 5195FF62-E880-489A-A794-97B0AA0CB7C7 Service: IMService[Jabber] Login: Active: YES LoginStatus: Offline]: Couldn't load service icon from (null)

27/10/14 23:24:18.662 com.apple.internetaccounts[3488]: [Warning] IMAccount: 0x7fab5b604200 [ID: 5195FF62-E880-489A-A794-97B0AA0CB7C7 Service: IMService[Jabber] Login: Active: YES LoginStatus: Offline]: Couldn't load service icon from (null)

27/10/14 23:24:18.684 com.apple.internetaccounts[3488]: [com.apple.calendar.agentLink.xpc] [Creating a remote proxy object for com.apple.CalendarAgent.proxy resulted in an invalid connection. The connection will be removed. Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CalendarAgent.proxy was invalidated.) UserInfo=0x608000660800 {NSDebugDescription=The connection to service named com.apple.CalendarAgent.proxy was invalidated.} (

0 CalendarAgentLink 0x00007fff8493a3c5 -[CalAgentLink _remoteObjectWithErrorBlock:] + 47

1 CalendarPersistence 0x00007fff89683de2 +[CalPersistence _startCoreDataXPCServer:] + 198

2 CalendarPersistence 0x00007fff89684275 +[CalPersistence _startCoreDataXPCServer:] + 1369

3 CalendarPersistence 0x00007fff89684275 +[CalPersistence _startCoreDataXPCServer:] + 1369

4 CalendarPersistence 0x00007fff89684835 __87+[CalPersistence asyncConnectToPersistenceWithClientXPCWaitingOnGroup:completionBlock:]_block_in voke344 + 130

5 libdispatch.dylib 0x00007fff87e58323 _dispatch_call_block_and_release + 12

6 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

7 libdispatch.dylib 0x00007fff87e5a99e _dispatch_async_redirect_invoke + 650

8 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

9 libdispatch.dylib 0x00007fff87e5688f _dispatch_root_queue_drain + 935

10 libdispatch.dylib 0x00007fff87e64fe4 _dispatch_worker_thread3 + 91

11 libsystem_pthread.dylib 0x00007fff8f4976cb _pthread_wqthread + 729

12 libsystem_pthread.dylib 0x00007fff8f4954a1 start_wqthread + 13

)]

27/10/14 23:24:18.685 com.apple.internetaccounts[3488]: [com.apple.calendar.store.log] [Tried to connect to XPC persistence, but connection was invalidated, retrying...]

27/10/14 23:24:18.685 com.apple.internetaccounts[3488]: [com.apple.calendar.store.log] [Retried Attempt 3]

27/10/14 23:24:19.187 com.apple.internetaccounts[3488]: [com.apple.calendar.agentLink.xpc] [Creating a remote proxy object for com.apple.CalendarAgent.proxy resulted in an invalid connection. The connection will be removed. Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CalendarAgent.proxy was invalidated.) UserInfo=0x60000046c340 {NSDebugDescription=The connection to service named com.apple.CalendarAgent.proxy was invalidated.} (

0 CalendarAgentLink 0x00007fff8493a3c5 -[CalAgentLink _remoteObjectWithErrorBlock:] + 47

1 CalendarPersistence 0x00007fff89683de2 +[CalPersistence _startCoreDataXPCServer:] + 198

2 CalendarPersistence 0x00007fff89684275 +[CalPersistence _startCoreDataXPCServer:] + 1369

3 CalendarPersistence 0x00007fff89684275 +[CalPersistence _startCoreDataXPCServer:] + 1369

4 CalendarPersistence 0x00007fff89684275 +[CalPersistence _startCoreDataXPCServer:] + 1369

5 CalendarPersistence 0x00007fff89684835 __87+[CalPersistence asyncConnectToPersistenceWithClientXPCWaitingOnGroup:completionBlock:]_block_in voke344 + 130

6 libdispatch.dylib 0x00007fff87e58323 _dispatch_call_block_and_release + 12

7 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

8 libdispatch.dylib 0x00007fff87e5a99e _dispatch_async_redirect_invoke + 650

9 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

10 libdispatch.dylib 0x00007fff87e5688f _dispatch_root_queue_drain + 935

11 libdispatch.dylib 0x00007fff87e64fe4 _dispatch_worker_thread3 + 91

12 libsystem_pthread.dylib 0x00007fff8f4976cb _pthread_wqthread + 729

13 libsystem_pthread.dylib 0x00007fff8f4954a1 start_wqthread + 13

)]

27/10/14 23:24:19.188 com.apple.internetaccounts[3488]: [com.apple.calendar.store.log] [Tried to connect to XPC persistence, but connection was invalidated, retrying...]

27/10/14 23:24:19.188 com.apple.internetaccounts[3488]: [com.apple.calendar.store.log] [Retried Attempt 4]

27/10/14 23:24:20.695 com.apple.internetaccounts[3488]: [com.apple.calendar.agentLink.xpc] [Creating a remote proxy object for com.apple.CalendarAgent.proxy resulted in an invalid connection. The connection will be removed. Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CalendarAgent.proxy was invalidated.) UserInfo=0x608000472480 {NSDebugDescription=The connection to service named com.apple.CalendarAgent.proxy was invalidated.} (

0 CalendarAgentLink 0x00007fff8493a3c5 -[CalAgentLink _remoteObjectWithErrorBlock:] + 47

1 CalendarPersistence 0x00007fff89683de2 +[CalPersistence _startCoreDataXPCServer:] + 198

2 CalendarPersistence 0x00007fff89684275 +[CalPersistence _startCoreDataXPCServer:] + 1369

3 CalendarPersistence 0x00007fff89684275 +[CalPersistence _startCoreDataXPCServer:] + 1369

4 CalendarPersistence 0x00007fff89684275 +[CalPersistence _startCoreDataXPCServer:] + 1369

5 CalendarPersistence 0x00007fff89684275 +[CalPersistence _startCoreDataXPCServer:] + 1369

6 CalendarPersistence 0x00007fff89684835 __87+[CalPersistence asyncConnectToPersistenceWithClientXPCWaitingOnGroup:completionBlock:]_block_in voke344 + 130

7 libdispatch.dylib 0x00007fff87e58323 _dispatch_call_block_and_release + 12

8 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

9 libdispatch.dylib 0x00007fff87e5a99e _dispatch_async_redirect_invoke + 650

10 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

11 libdispatch.dylib 0x00007fff87e5688f _dispatch_root_queue_drain + 935

12 libdispatch.dylib 0x00007fff87e64fe4 _dispatch_worker_thread3 + 91

13 libsystem_pthread.dylib 0x00007fff8f4976cb _pthread_wqthread + 729

14 libsystem_pthread.dylib 0x00007fff8f4954a1 start_wqthread + 13

)]

27/10/14 23:24:20.696 com.apple.internetaccounts[3488]: [com.apple.calendar.store.log] [Tried to connect to XPC persistence, but connection was invalidated, retrying...]

27/10/14 23:24:20.697 com.apple.internetaccounts[3488]: [com.apple.calendar.store.log] [Retried too many times, giving up.]

27/10/14 23:24:20.697 com.apple.internetaccounts[3488]: [com.apple.calendar.store.log] [Couldn't start the XPC store server. Error Domain=CalPersistenceCreationDomain Code=3 "Could not create XPC connection to the CalendarAgent, connection interrupted or invalidated more than 5 times" UserInfo=0x600000273840 {NSLocalizedDescription=Could not create XPC connection to the CalendarAgent, connection interrupted or invalidated more than 5 times}]

27/10/14 23:24:20.699 com.apple.internetaccounts[3488]: [com.apple.calendar.agentLink.xpc] [Creating a remote proxy object for com.apple.CalendarAgent.store resulted in an invalid connection. The connection will be removed. Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CalendarAgent.store was invalidated.) UserInfo=0x600000472bc0 {NSDebugDescription=The connection to service named com.apple.CalendarAgent.store was invalidated.} (

0 CalendarAgentLink 0x00007fff8493a3c5 -[CalAgentLink _remoteObjectWithErrorBlock:] + 47

1 CalendarStore 0x00007fff8885d673 +[CalCalendarStore defaultCalendarStore] + 256

2 Calendar 0x000000010c96013c Calendar + 12604

3 com.apple.internetaccounts 0x000000010aed0f63 main + 18536

4 InternetAccounts 0x00007fff8c837eff __58-[IADataPluginController plugin:performBlock:withTimeOut:]_block_invoke + 401

5 libdispatch.dylib 0x00007fff87e58323 _dispatch_call_block_and_release + 12

6 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

7 libdispatch.dylib 0x00007fff87e57365 _dispatch_queue_drain + 1100

8 libdispatch.dylib 0x00007fff87e58ecc _dispatch_queue_invoke + 202

9 libdispatch.dylib 0x00007fff87e566b7 _dispatch_root_queue_drain + 463

10 libdispatch.dylib 0x00007fff87e64fe4 _dispatch_worker_thread3 + 91

11 libsystem_pthread.dylib 0x00007fff8f4976cb _pthread_wqthread + 729

12 libsystem_pthread.dylib 0x00007fff8f4954a1 start_wqthread + 13

)]

27/10/14 23:24:20.701 com.apple.internetaccounts[3488]: [com.apple.calendar.agentLink.xpc] [Creating a remote proxy object for com.apple.CalendarAgent.store resulted in an invalid connection. The connection will be removed. Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CalendarAgent.store was invalidated.) UserInfo=0x608000474e80 {NSDebugDescription=The connection to service named com.apple.CalendarAgent.store was invalidated.} (

0 CalendarAgentLink 0x00007fff8493a3c5 -[CalAgentLink _remoteObjectWithErrorBlock:] + 47

1 CalendarStore 0x00007fff88862c4f -[CalCalendarStore(CalCalendarStore_Private) groups] + 156

2 Calendar 0x000000010c960168 Calendar + 12648

3 com.apple.internetaccounts 0x000000010aed0f63 main + 18536

4 InternetAccounts 0x00007fff8c837eff __58-[IADataPluginController plugin:performBlock:withTimeOut:]_block_invoke + 401

5 libdispatch.dylib 0x00007fff87e58323 _dispatch_call_block_and_release + 12

6 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

7 libdispatch.dylib 0x00007fff87e57365 _dispatch_queue_drain + 1100

8 libdispatch.dylib 0x00007fff87e58ecc _dispatch_queue_invoke + 202

9 libdispatch.dylib 0x00007fff87e566b7 _dispatch_root_queue_drain + 463

10 libdispatch.dylib 0x00007fff87e64fe4 _dispatch_worker_thread3 + 91

11 libsystem_pthread.dylib 0x00007fff8f4976cb _pthread_wqthread + 729

12 libsystem_pthread.dylib 0x00007fff8f4954a1 start_wqthread + 13

)]

27/10/14 23:24:20.702 com.apple.internetaccounts[3488]: [com.apple.calendar.agentLink.xpc] [Creating a remote proxy object for com.apple.CalendarAgent.store resulted in an invalid connection. The connection will be removed. Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CalendarAgent.store was invalidated.) UserInfo=0x608000475380 {NSDebugDescription=The connection to service named com.apple.CalendarAgent.store was invalidated.} (

0 CalendarAgentLink 0x00007fff8493a3c5 -[CalAgentLink _remoteObjectWithErrorBlock:] + 47

1 CalendarStore 0x00007fff88862c4f -[CalCalendarStore(CalCalendarStore_Private) groups] + 156

2 Reminders 0x000000011005a208 Reminders + 12808

3 com.apple.internetaccounts 0x000000010aed0f63 main + 18536

4 InternetAccounts 0x00007fff8c837eff __58-[IADataPluginController plugin:performBlock:withTimeOut:]_block_invoke + 401

5 libdispatch.dylib 0x00007fff87e58323 _dispatch_call_block_and_release + 12

6 libdispatch.dylib 0x00007fff87e53c13 _dispatch_client_callout + 8

7 libdispatch.dylib 0x00007fff87e57365 _dispatch_queue_drain + 1100

8 libdispatch.dylib 0x00007fff87e58ecc _dispatch_queue_invoke + 202

9 libdispatch.dylib 0x00007fff87e566b7 _dispatch_root_queue_drain + 463

10 libdispatch.dylib 0x00007fff87e64fe4 _dispatch_worker_thread3 + 91

11 libsystem_pthread.dylib 0x00007fff8f4976cb _pthread_wqthread + 729

12 libsystem_pthread.dylib 0x00007fff8f4954a1 start_wqthread + 13

)]

27/10/14 23:24:38.478 System Preferences[5912]: view service marshal failed to init due to Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection from pid 0 was invalidated from this process.) UserInfo=0x60000047e640 {NSDebugDescription=The connection from pid 0 was invalidated from this process.}

timestamp: 23:24:38.476 Monday 27 October 2014

process/thread/queue: System Preferences (5912) / 0x10ad75000 / com.apple.NSXPCConnection.user.endpoint

code: line 2872 of /SourceCache/ViewBridge/ViewBridge-99/NSRemoteView.m in __62-[NSRemoteViewBase advanceToConfigPhase:awaitingWindowRights:]_block_invoke

#communications_failure


27/10/14 23:24:38.479 System Preferences[5912]: ### com.apple.preferences.internetaccounts instantiatePrefPaneObject exception:service com.apple.preferences.internetaccounts.remoteservice failed to init an instance of InternetAccountsRemoteViewService on behalf of <NSRemoteView: 0x7fb23bf5bea0> due to proxy-communications-error: Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection from pid 0 was invalidated from this process.) UserInfo=0x60000047e640 {NSDebugDescription=The connection from pid 0 was invalidated from this process.}

27/10/14 23:24:48.541 CoreServicesUIAgent[272]: unexpected message <OS_xpc_error: <error: 0x7fff7391fc60> { count = 1, contents =

"XPCErrorDescription" => <string: 0x7fff7391ff70> { length = 18, contents = "Connection invalid" }

}>


thanks!

Oct 27, 2014 4:41 PM in response to cucu1965

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

/System/Library/Caches/com.apple.xpchelper.cache

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

Services Show Info in Finder (or just Show Info)

from the contextual menu.* An Info dialog should open. Close it. If instead of the Info dialog, you get an error message that "the item can't be found," ask for further instructions.

*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

Oct 28, 2014 7:20 AM in response to cucu1965

Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore is not, in itself, a solution.

First, empty the Trash, if possible.

Triple-click anywhere in the line below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:

find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) 2>&- | wc -l | pbcopy

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. Click Utilities, then Terminal in the icon grid.

Paste into the Terminal window by pressing command-V. The command may take a noticeable amount of time to run.

Wait for a new line ending in a dollar sign ($) to appear.

The output of the command will be a number. It's automatically copied to the Clipboard. Please paste it into a reply.

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

Oct 28, 2014 10:05 AM in response to cucu1965

Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock those files and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

Back up all data before proceeding.

Step 1

If you have more than one user, and the one in question is not an administrator, then go to Step 2.

Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):

sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

Step 2 (optional)

Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

Start up in Recovery mode. When the OS X Utilities screen appears, select

Utilities Terminal

from the menu bar. A Terminal window will open. In that window, type this:

res

Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword

Press return. A Reset Password window will open. You’re not going to reset a password.

Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button

Select

Restart

from the menu bar.

Oct 29, 2014 1:33 PM in response to Linc Davis

I can type in the terminal window, but I cannot type in the Reset Password window that pops up, as if it was locked. So I cannot do this:

Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button

Oct 30, 2014 1:05 PM in response to cucu1965

If that's really true, something is wrong with the hardware.

Make a "Genius" appointment at an Apple Store, or go to another authorized service provider. You may have to leave the machine there for several days.

Back up all data on the internal drive(s) before you hand over your computer to anyone. There are ways to back up a computer that isn't fully functional—ask if you need guidance.

If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.

Keeping your confidential data secure during hardware repair

Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.

*An SSD doesn't need to be zeroed.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot open Internet Accounts pane

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.