No audio when turning on system

No audio when turning on system

Got a new cable box. Audio did not work. After changing boxes, remotes, cables, eventually figured out that if I turn on the system then unplug and re-attach HDMI cable, audio comes on. Now,every time I turn on the system I have to unplug and re-attach HDMI cable to get audio. WHAT IS WRONG?