It is the duty of the judge of probate to see that such publication is duly made; and any executor or administrator failing to make the same must not be allowed any compensation as such; and he and his sureties are liable, on proof that such notice has not been given, to any creditor for the amount which he would have been entitled to out of the assets of the estate had his claim been duly presented.