I encounter this error which trying to register a PostgreSQL database:
Unable to process request. Error handling service request :Could not find a service with the name 'System/GPServer/PublishingToolsEx' in the configured clusters. Service may be stopped or ArcGIS Server may not be running.
I am using ArcGIS Server 10.5 with patches installed.