Hi there
There are few possibilities:
1/ You already have a farm of the same type closer to the houses. Try to group together farms of the same type.
2/ There aren't enough workers. In that case the farm is technically working but very slow. For example, a sheep farm takes about a year to produce its first wool but if you have, lets say, 5 workers out of the requited 31, it will take about six years for the first wool to be produced.
3/ The sheep/cattle pasture is too far from the farm /100 tiles or more/. Keep the pasture and the farm as close to each other as you can.
4/ Zoom in on the pasture and check out if you have any sheep/cattle inside. If there isn't any, destroy and build again.
[This message has been edited by vpos (edited 06-19-2022 @ 01:44 PM).]