Low batteries would keep it from starting for sure but shouldnt keep it from producing power,check all of your breakers including the one on the generator.
If everything works ok on shore power but not generator then it might be in the transfer switch,or a issue with the generator head itself
__________________
|