If you can't get the flame to light at all, and you're sure the gas is on, there's probably an obstruction in the pilot tube. If the flame lights and goes out when you release the gas control knob after holding it in for the recommended 20 to 30 seconds, that's the sign of a thermocouple malfunction.