Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Just started getting a message on Yosemite about cannot connect to a server I removed months ago.

In the last week or so, I've been consistently getting a message that it cannot connect to a specific server name. I removed the server from my LAN at least a year ago. I can't find where I refer to it and is not in the list of what is started at boot up. I recently did a Yosemite update but I don't know if that is what triggered it. I'm on the latest Yosemite release running on an iMac.

iMac (21.5-inch Mid 2011), OS X Yosemite (10.10.3)

Posted on Apr 22, 2015 5:50 PM

Reply
Question marked as Best reply

Posted on Apr 24, 2015 8:59 AM

There are many possible causes for this issue, and it may be very hard to resolve without wiping your account clean of everything except documents as a last resort. Please take each of the following steps that you haven't already tried. Back up all data before making any changes.

If you get the alert in the login screen before you log in, stop here and ask for instructions.

Step 1

If you get the alert as soon as you log in, it's probably caused by one of your login items or by software that otherwise loads at startup or login. Ask if you need help identifying it. Known offenders are "1Password" and "Adobe Resource Synchronizer."

Step 2

If there's an icon representing the server in the sidebar of a Finder window, hold down the command key and drag it out.

Step 3

In the Finder, press the key combination command-K or select

Go Go to Server...

from the menu bar. In the upper right corner of the window that opens is a Recent Servers popup menu represented by a clock icon. From that menu, select

Clear Recent Servers…

and confirm. Test.

Step 4

Open the Printers & Scanners pane in System Preferences and delete any network devices you no longer use. If in doubt, delete them all and add back the ones you want.

Step 5

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

~/Library/PDF Services

In the Finder, select

Go Go to Folder...

from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. A folder may open. If it does, move the contents to the Desktop, or to a new folder on the Desktop. Log out and log back in. Test. If there's no change, put the items you moved back where they were and continue.

Step 6

Open the folder

~/Library/Preferences

as in Step 5 and move the file named "loginwindow.plist" items in that folder to the Trash, if it exists (it may not.)

Log out and back in again, and test.

Step 7

Other possible causes are references in the iPhoto, iTunes, or iMovie library pointing to the server, bookmarks in the Preview application, and PDF files created by Adobe Acrobat with embedded scripts.

Try rebuilding the iPhoto library, if applicable.

Step 8

Resources such as images or sounds stored on the server may have been added to various applications. Examples would be pictures added to Contacts and custom sounds added to Mail. The range of possibilites here is practically infinite, so I can't be more specific. You might get a hint by launching the Console application and looking for error messages that appear at the same time as the alerts.

Step 9

Disconnect all wired peripherals except those needed to start up. Start up in safe mode. Test. After testing, restart as usual (not in safe mode) and verify that you still have the problem.

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 Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.

Step 10


Launch the Directory Utility application. Depending on what version of OS X you have, you may be able to do that by entering the first few letters of its name in a Spotlight search. If that doesn't work, triple-click anywhere in the line of text below on this page to select it:

/System/Library/CoreServices

Right-click or control-click the selected text and select

Services Open

from the contextual menu.* A folder named "CoreServices" will open. The Directory Utility application is in that folder, or in a subfolder named "Applications".

In the Directory Utility window, select the Directory Editor tool in the toolbar. Select Mounts from the Viewing menu in the toolbar, and /Local/Default from the node menu, if not already selected. On the right is a list of names and values. By default, the list is empty. If it's not empty, post a screenshot of the window and stop here.


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

Step 11

Open the following file as you did in the last step:

/etc/auto_master

It will open in a TextEdit window. The contents should be exactly this:

#
# Automounter master map
#
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static

If there are any other lines in the window, post them. Otherwise, close the window.

12 replies
Question marked as Best reply

Apr 24, 2015 8:59 AM in response to hammertoes

There are many possible causes for this issue, and it may be very hard to resolve without wiping your account clean of everything except documents as a last resort. Please take each of the following steps that you haven't already tried. Back up all data before making any changes.

If you get the alert in the login screen before you log in, stop here and ask for instructions.

Step 1

If you get the alert as soon as you log in, it's probably caused by one of your login items or by software that otherwise loads at startup or login. Ask if you need help identifying it. Known offenders are "1Password" and "Adobe Resource Synchronizer."

Step 2

If there's an icon representing the server in the sidebar of a Finder window, hold down the command key and drag it out.

Step 3

In the Finder, press the key combination command-K or select

Go Go to Server...

from the menu bar. In the upper right corner of the window that opens is a Recent Servers popup menu represented by a clock icon. From that menu, select

Clear Recent Servers…

and confirm. Test.

Step 4

Open the Printers & Scanners pane in System Preferences and delete any network devices you no longer use. If in doubt, delete them all and add back the ones you want.

Step 5

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

~/Library/PDF Services

In the Finder, select

Go Go to Folder...

from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. A folder may open. If it does, move the contents to the Desktop, or to a new folder on the Desktop. Log out and log back in. Test. If there's no change, put the items you moved back where they were and continue.

Step 6

Open the folder

~/Library/Preferences

as in Step 5 and move the file named "loginwindow.plist" items in that folder to the Trash, if it exists (it may not.)

Log out and back in again, and test.

Step 7

Other possible causes are references in the iPhoto, iTunes, or iMovie library pointing to the server, bookmarks in the Preview application, and PDF files created by Adobe Acrobat with embedded scripts.

Try rebuilding the iPhoto library, if applicable.

Step 8

Resources such as images or sounds stored on the server may have been added to various applications. Examples would be pictures added to Contacts and custom sounds added to Mail. The range of possibilites here is practically infinite, so I can't be more specific. You might get a hint by launching the Console application and looking for error messages that appear at the same time as the alerts.

Step 9

Disconnect all wired peripherals except those needed to start up. Start up in safe mode. Test. After testing, restart as usual (not in safe mode) and verify that you still have the problem.

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 Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.

Step 10


Launch the Directory Utility application. Depending on what version of OS X you have, you may be able to do that by entering the first few letters of its name in a Spotlight search. If that doesn't work, triple-click anywhere in the line of text below on this page to select it:

/System/Library/CoreServices

Right-click or control-click the selected text and select

Services Open

from the contextual menu.* A folder named "CoreServices" will open. The Directory Utility application is in that folder, or in a subfolder named "Applications".

In the Directory Utility window, select the Directory Editor tool in the toolbar. Select Mounts from the Viewing menu in the toolbar, and /Local/Default from the node menu, if not already selected. On the right is a list of names and values. By default, the list is empty. If it's not empty, post a screenshot of the window and stop here.


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

Step 11

Open the following file as you did in the last step:

/etc/auto_master

It will open in a TextEdit window. The contents should be exactly this:

#
# Automounter master map
#
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static

If there are any other lines in the window, post them. Otherwise, close the window.

Apr 22, 2015 7:18 PM in response to Linc Davis

Thank you very much for a very fast and thorough reply. I've gone through all the steps and the problem continues. I believe a possibility is the new Photo app and the upgrade it did from iPhoto. The message seems to occur when Photo starts as when I connect my iPad or invoke the app. I can't find anyplace in it where I refer to the the server. It did rebuild my catalog at one point when going through the instructions you sent. When you mention wiping my account clean, are you referring to a clean install. I back up to Time Machine so I have my system, apps, and data backed up. I would not mind doing a clean install if I can recover my settings for most of the apps. I'm having issues with my podcasts syncing across my iPad, iphone, and iMac and maybe wiping my account or a clean install would fix those problems as well.

Apr 22, 2015 8:21 PM in response to hammertoes

You may have one or more links to a disused server in the Photos library. Since the server is no longer accessible, those links are now invalid. You should be able to find them by a tedious process of elimination. First, back up all data.

Select about half of your photos and start to drag them. Don't actually move them anywhere; just drag them a little and release. If you get the warning, then some of the photos you selected are invalid links. Narrow down the selection. If you don't get the warning, select the other half of the library.

When you've isolated the invalid items, delete them and then select

File ▹ Show Recently Deleted

from the menu bar. Delete the items permanently.

(Credit for this idea to Winston Moy of winstonmoy.com.)

Apr 23, 2015 6:52 PM in response to Linc Davis

Thanks for continuing to provide potential solutions. I did not have any photos for which I got a warning. I took advantage of the process and deleted a lot of photos that I have duplicated in Lightroom and reduced significantly the number of photos in the Photo catalog. I still get the warning so it must me something else. Is wiping my account clean the same as a clean install? I sincerely appreciate your help.

Apr 23, 2015 7:12 PM in response to hammertoes

When you get the alert, note the exact time: hour, minute, second.

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.

Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.

Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.

Copy the messages 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 it useless for 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.

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.

Apr 24, 2015 9:06 AM in response to Linc Davis

I got the message on 4/24 at 11:54:56 a.m. Here are the messages from the console

4/24/15 11:54:34.646 AM Mail[5260]: No worthy mechs found

4/24/15 11:55:21.976 AM Mail[5260]: {"status":"400","schemes":"Bearer","scope":"https://mail.google.com/"}

4/24/15 11:55:22.269 AM Mail[5260]: XOAUTH2 requires user

There doesn't seem to be a match for the time. I seem to be able to cause it when i plug my iPad and it starts syncing with iTunes even though I say that I want to use iCloud for backup. I can't get iTunes to complete the sync. It stays tuck on Step 6 of 6. The message comes when iTunes is on Step 4 of 6 ant it stays there until I reply to the message. iTunes moves to Step 6 of 6. Thanks.

Apr 24, 2015 1:15 PM in response to Linc Davis

At one time quite a while ago, I had my music library on the server that is no longer being used. I've moved my music to iTunes Match and my back up is on another hard drive connected through Airport Time Capsule. I had not been connecting my iPad nor iPhone to my iMac until recently. I started doing so to charge them as I no longer had access to the location where I plugged the charger to the electrical wall. I can't find any setting in iTunes that would indicate connecting to the old server. Is there a way to install iTunes with all new settings? Thanks.

Just started getting a message on Yosemite about cannot connect to a server I removed months ago.

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