This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database.
I get this error while accessing central admin after server reboot in production.
Checked SQL services - running; checked permission for farm account in databases - sys admin in sql server; password for farm account is never expiring; no default gateway change in web server; firewall disabled