Libya hopes to resume oil production at one of its largest oilfields, al Sharara, within three days after protesters agreed to suspend their two-month stoppage.
Tribesmen calling for greater local power have held the 350,000 barrels per day field blocked since the end of October, one of many disruptions that have crippled Libya's vital oil sector.
The defence ministry said the protesters had agreed to suspend their strike after the government agreed to listen to their demands.
"They agreed to lift the blockage," the ministry's spokesman said.
Spokesman Mohamed al-Harari said Libya's State National Oil Corp (NOC) hoped to resume output in three days, adding "engineers are preparing the field to restart production".
The protesters had demanded the setting up of a local council and granting national identity cards for tribesmen form the minority of Tuareg.
Militias and tribesmen have seized ports and oilfields across Libya to press for political or financial demands, cutting output to around 220,000 bpd from 1.4 million bpd in July. Oil is the main source for the budget and for the funding of food imports.