Ultimately it was a incompletely terminated account from WHM Terminate Action. Net::AIM and Net::OSCAR modules were all upto date. Only the zone file for the terminated account was removed and other details were left intact. So added back the DNS, and then terminated the account again. Thereafter no more errors.