A rocket has hit an oil refinery near the Iraq border.