The refrigerator has a thermostat control mounted on it. Is that correct? The thermostat is malfunctioning if the compressor doesn't run. Remove the old thermostat and replace it with a new one. There may be a short circuit in the unit's wiring if the compressor runs after the wire is removed.
Let's Get It Fixed!
Our virtual experts can diagnose your issue (for free!) and resolve simple problems.