I had that problem on my teg before, the power wires were corroded and basically disconnected, repaired the wires and the compressor kicked on no problem. Id also throw a bottle of refrigerant in the system before any further trouble shooting continues just to be sure that you arent low on refrigerant.