Sometimes catalog and catproc components become invalid due to some invalid objects. You need to find those objects and take necessary action.

Use below script to get the objects which is causing the issue:

It will ask you compile the invalid objects, once these objects are validated, CATALOG and CATPROC will become VALID.