After restarting the SharePoint servers, I tried to browse the SharePoint Site. I got the below error:
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. To connect this server to the server farm, use the SharePoint Products Configuration Wizard.