Had this strange problem this evening when the sound icon in the menu bar became disabled with a grey icon and didn’t come back even after restarting the machine. After googling for couple of minutes I found this solution and it worked like a charm. Apply the following commands in your terminal
[sourcecode language=”shell”]
sudo chown -R _coreaudiod:admin /Library/Preferences/Audio
[/sourcecode]
The command above will fix the permissions. Now lets fix the dynamic linkers using the following command
[sourcecode language=”shell”]
sudo update_dyld_shared_cache -force
[/sourcecode]
Now restart the coreaudio service
[sourcecode language=”shell”]
sudo killall coreaudiod
[/sourcecode]
Tada! The sound is back 🙂