Probably a motherboard issue, check the system for bad capacitors, they will be puffy and/or have black dots on the tops if bad. Your system was made right around the era when poor quality capacitors were floating around.
It may be the power supply, but the motherboard is more likely based on your system's age and model.