A guess~ it could be the thermocoupler that keeps pilot on. If this is first time check the inline gas tap is on,if there is one. Usually each gas appliance has a separate gas tap so one can be serviced without having all gas appliances off.
Bob
June 2011