is this a propane tank, if so tank may be empty, is this natural gas, if so the city may have shut their side off, if none of these then most likely the regulator needs replaced! or there is another shutoff behind the appliance that you are trying to light! should be a shut off at the appliance by code!
bleed the lines, check for dead bugs clogging the jets. gas should flow to the pilot circuit when the safety is pressed on lighting selection.
You are asking in the wrong category. This one is for vehicles.
Try the Home and Garden category.
Either a spiderweb in the line or a thermocouple in line.