Days of protests in two provinces of Ecuador have virtually halted state oil production , handing President Alfredo Palacio 's four-month-old government its first major crisis and contributing to a $ 2 spike in crude oil futures in New York on Friday .