This can be solved using two methods
First one is run the configuration tool
You need to have user account in SharePoint Central Administration Site Collection Admin group.
You can go to central administration site collection and go to change site collection administrators
and select central admin web application
then add the corresponding user as a secondary administrator.