ABSTRACT This paper investigates the rescheduling problem of multiple oil-driven and electric-driven yard cranes across multiple container yards in semi-automated container terminals under random faults. Efficient fault diagnosis and handling mechanisms are provided to mitigate the effects of faults on the performance of yard operations. At the same time, a rescheduling model is proposed, aiming to minimize weighted carbon emissions and completion time. By analyzing the features of the problem, a tailored adaptive large neighborhood search (ALNS) algorithm is designed to solve the model. The effectiveness of the ALNS is verified through problem instances generated from the operational data of the port of Dalian in China. The factors considered in this paper are relevant to actual port operations, thus offering reliable solutions for scheduling and greening of ports.