The present application discloses a fault location method and device, a storage medium and a
computer program product, and relates to the field of
computer technology. The method includes: obtaining the address information of a
server; wherein the address information includes the address information of input and output ports, the
system address topology, and the address information of each
peripheral device; when a
peripheral device fault is detected, determining the fault address corresponding to the
peripheral device fault; determining the corresponding fault address type according to the fault address, and performing fault location based on the fault address type and the address information of the
server. The fault location method provided by the present application realizes automatic location of peripheral device faults by a
baseboard management controller, and the
baseboard management controller collects the address information of the
server in advance. When a peripheral device fault is detected, the fault location is automatically realized according to the fault address and the pre-collected address information, realizing full
automation of fault data collection and fault location, and improving the efficiency of fault location.