“AFP_VFS afpfs_DoReconnect: connect on failed”: I’ve been plagued by this error for some weeks, which relates to waking my Macbook Air from sleep after being connected to my synology NAS at work. The console is replete with hundreds of these messages as it tries to re-connect to the server that is no longer available and there does not seem to be a routine that allows it detect that the server is no longer available and stop attempting to reconnect. As a result the finder simply ceases to be responsive and if you force quit it, it does not spawn properly again.
How to fix it
After getting frustrated with having to log out and log back in again to regain a responsive finder, I googled and failed to find a solution so I turned to the Activity Monitor where I noticed substantial activity from the “soagent” and found that if I force quit that – don’t worry it’ll respawn unharmed – then I got my finder back. Not the most elegant of solutions but quicky, dirty and more importantly successful. I hope the bug will get corrected in a future release of OS X (at the time of writing I’m using 10.10.3) but in the meantime this works.
Update
Okay that solution didn’t work frequently enough but this new one, thanks to Krysole at superuser.com does indeed work. I generally check which smb mounts are malfunctioning from the console and then go to terminal and use the following command:
sudo umount -f /Volumes/”volume name”
And bye, bye problem!
PPS
This problem has now been fixed by El Capitan… Woot!
I’m a small business consultant enabling small business owners to achieve sustainable growth, whilst working part-time at Tees Valley Arts. For more about me personally see peterneal.co.uk
I’ve been using Secrets, the preference pane he’s referring to, since March 2008 after I first stumbled across it via the renowned macosxhints.com site shortly after I believe it was released. It is a cheats way to change ‘secret’ settings in both the OS and other programs for those of us who are sometimes too timid to resort to the terminal or just want to be able to tick a box to apply or more importantly sometimes unapply a secret setting.
It’s exactly the sort of program I love: simple, clean, straightforward, and community driven. It’s open source so if you stumble across a new secret whilst browsing an obscure blog, then you can post it to the site and once verified (I presume) it’ll be added to the program forthwith. If you want to refresh your secrets just click the handy update button and off it goes… reporting back new secrets under the new secret option at the top.
The fact that Secrets even exists is proof positive for me that many Apple users don’t always believe the Apple way is the right way and want the ability to easily change some basic fundamental settings of their favourite programs to perform the way that is best for them rather than they way Apple or other program writers have decided is best by default.
So let me let you in on a few of my secret preferences (in no particular order)
Mail – Send Windows friendly attachments (why this isn’t activated by default beats me!?)
Dictionary – Reuse dictionary definition window (I use dictionary alot, so I like not to have dozens of dictionary windows open, just the one…)
Dock – Dim hidden apps (absolutely essential, Apple should have added this feature as a default years ago!)
Finder – Enable finder quit menu item (yes finder sometimes I’d like to be able to just quit you, especially when my keyboard is not responding :-()
Finder – Use .DS_Stores on network (uncheck and bye bye pesky .DS files!)
iTunes – Allow half star ratings (for those songs that just don’t quite make a full five stars!)
These are just a fraction of the customisations I’ve activated so trot along to the Secrets website and join the Mac personalisation revolution now!
I’m a small business consultant enabling small business owners to achieve sustainable growth, whilst working part-time at Tees Valley Arts. For more about me personally see peterneal.co.uk
Looking through a large set of files has become increasingly easy since Apple released Leopard, and although this feature does not get a great deal of promotional praise from the Apple community it is in my opinion one of the unsung heroes features of the OS.
With the update to Snow Leopard you can now use quicklook just about everywhere, from the finder and spotlight as you might expect, but also from places as diverse as your printer list (to check which document might be causing your printer to play-up or move a file up the queue) to your open dialog box (say to check you are attaching the right file to an email. And I am sure many more places I’m yet to discover.
Apple has enabled Quicklook to work with essential files such as word documents, excel spreadsheets and of course pdfs, as well as just about any image you’d ever be likely to encounter in a normal business environment. It is however possible to extend the usefulness of this system by installing plugins to enable you to look at many other types of files that Apple has not added native support for.
Quicklook plugins are indicated by the file ending: .qlgenerator. To install them you copy them to your /Library/QuickLook/ or ~/Library/QuickLook/ folder.
The folder should already exist, but if it doesn’t feel free to create it. Out of preference I normally install these files into my root library rather than the user library as they are then available to any user of the computer. I have encountered no additional increase in load on the system of running these plugins.
Once installed you have to run the following command in terminal if you want them to be loaded straight away without needing to logout. This is as easy as cutting and pasting this command into the terminal app (hiding away in utilities):
qlmanage -r
which forces the OS to look in these folders and thereby load the new plugins you have added.
I also take a very broad sweep when installing this type of plugin as it is not possible to encounter every file type that a business or yourself will encounter and I have therefore installed pretty much every plugin that I have been able to lay my hands on, occasionally checking back at great sites like www.quicklookplugins.com or www.qlplugins.com when I need to find another plugin.
I currently have installed on my system the following plugins:
– Look inside those zip files without having to unzip them.
And that’s the end of my list, but I’d love to hear any recommendations anyone might have. Many thanks to all the cool developers who have spent time creating these incredibly useful plugins.
I’m a small business consultant enabling small business owners to achieve sustainable growth, whilst working part-time at Tees Valley Arts. For more about me personally see peterneal.co.uk