I don't know what's wrong with him, but if he's not having healthy poops, he needs to go see the vet. Whenever there is a symptom like that, any animal should be brought to the vet, whether or not they are a snake. So call up your vet, schedule that appointment, and let us know how it goes!