Hi,
Not for some errors.
IF the iMessages login does not work in Any Mac user account then try this.
In the Apple Icon Menu > About this Mac is the Serial Number showing ?
This panel is different in Yosemite and you don't have to click the current OS level line twice.
If the serial number is Missing then you will have to visit an Apple Store with the computer to have them put it back.
10:02 pm Monday; February 9, 2015
iMac 2.5Ghz i5 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad