Old day & night furnace quit working.

My house is heated by a very old day and night natural gas furnace, today I noticed the heater was not running, it I can hear a fast tick from the igniter and the pilot light is lit, but the blower is off and the flame won’t light. After a couple minutes it starts to make a chattering sound, sounds like a solenoid being cycled on/off really quickly. I haven’t opened it and tested anything yet, any idea what might be the problem?