Heavy fighting rocked Yemen hours before a UN-brokered ceasefire was due to begin Wednesday, as warring parties come under mounting pressure to end a conflict that has raged for more than two years.
The truce will be the sixth attempt to end the bloodshed since a Saudi-led Arab coalition intervened in March 2015 to support the government of President Abedrabbo Mansour Hadi after rebels overran much of Yemen.
Civilians have paid the highest price in a country that was already the Arabian peninsula's poorest.
Almost 6,900 have been killed -- more than half of them civilians -- while another three million are displaced and millions more need food aid.
A United Nations report said air strikes by the coalition were suspected of causing around half of all civilian deaths, while rebel-affiliated groups were responsible for about a quarter.
The UN special envoy for Yemen, Ismail Ould Cheikh Ahmed, on Sunday announced the truce from 23:59 (2059 GMT) for an initial three days, subject to renewal.
But clashes involving heavy artillery and air raids killed at least five people across the country on Wednesday, including fighting near the Saudi border and around the capital Sanaa, military sources said.
The last ceasefire attempt began in April alongside UN-brokered peace talks in Kuwait but both the rebels and the coalition accused each other of breaches.
After peace talks collapsed in August, fighting escalated until an October 8 coalition air strike which the UN said killed more than 140 people and wounded at least 525 at a funeral in Sanaa.
The United States announced an "immediate review" of its intelligence and refuelling assistance to the coalition, whose investigative team then released unusually quick findings from a probe of the incident.
It said a coalition aircraft "wrongly targeted" the funeral based on "incorrect information".
In another major development, the US Navy for the first time targeted Houthi rebels directly.
On October 13 it hit radar sites which, the US said, were involved in missile launches against a US warship and other vessels.
Yemen's Houthi rebels are allied with members of the security forces loyal to ex-president Ali Abdullah Saleh.
They control the capital Sanaa and other territory but coalition-backed forces earlier pushed them back from the southern port of Aden and adjacent areas.
Both the rebels and pro-government forces have come under increased international pressure to silence their guns.
On Tuesday, US Secretary of State John Kerry hailed the announcement of the new truce and echoed an urgent plea from the UN envoy for unfettered humanitarian access throughout Yemen.
"We ask the parties to take all steps necessary to advance the implementation of this cessation, call on them to sustain it, and strongly encourage its unconditional renewal," Kerry said.
Hadi's government said it would agree to the truce if rebels also adhered to it, and also called for the insurgents to monitor the ceasefire and end their siege of Yemen's third city, Taez.
The rebels, in a statement on Tuesday night, expressed readiness for a "lasting ceasefire, comprehensive and without conditions".
Military sources however said rebel positions in the northern Saada province were struck by coalition raids on Wednesday. At least three strikes also hit a convoy of rebel reinforcements in Omran province, north of Sanaa.
At least two loyalists were killed and 15 wounded in fighting near the Red Sea, in Hajja province, the sources said.
And in Taez, at least two rebels and a pro-government fighter were killed during overnight fighting, according to witnesses and military sources.
In spite of Wednesday's violence, Mustafa Alani, a senior adviser to the Gulf Research Centre, said the prospects for peace were growing.
"I am more optimistic, actually, because the environment is completely different from the previous one," he told AFP.
"At the same time, both parties in the conflict are getting tired. The cost of the conflict -- human, financial -- is very high. Both parties believe they cannot win, they cannot settle it by military means."
Saudi Arabia is spending billion of dollars on the war while imposing cutbacks at home.
Kerry said the international community "will continue to work with all parties to conclude a negotiated settlement" to the conflict.