Connect to the ArcGIS Portal embedded PostgreSQL instance:
psql -p 7654 -U portaladmin -d postgres
Start the PostgreSQL server manually:
postgres.exe -D C:\arcgisportal\db\ -p 7654
global/pg_control: Permission Denied"global/pg_control": Permission denied
Fix: Open the command prompt as the
ArcGISuser (not as Administrator). PostgreSQL data directory permissions are set to that specific user.