I had the same issue when I installed iOS8 on my 5S. I had to reset all settings to get it to start counting steps and distance.
All settings for the phone, or the Health part?
I'd like to get my tracking to work, but don't want to lose a bunch of random info on my phone to do so.