Sounds as if something sticking, 1st check the ice level switch arm, and water etc Make sure all the arms in the ice compartment move freely, other than that could be a sticking relay on pcb. depends how good you are at diy, But as ok after switching off, something is getting reset, as when you switch off, it resets every thing like that. If not arms etc, could be the board component fault. Very difficult to know without tests
SD, June 2012