If you have changed your model database, and you do not have a backup:
Follow the steps for “Restoring the generic model database”.
Reissue all the commands you issued to change model.