Had to go and login just to say thank you. Like others, I've been all over looking for a fix for this. Cropped up when I upgraded to a new box and had to get everything back up and running. You saved me a lot of headaches!
If you're here having trouble and tried a lot of various things, run through the steps that @bonatoque listed.