Continue in the app
Bug Number BUG-000126198
Submitted Oct 22, 2019
Modified Oct 21, 2022
Severity Medium
Applies To Portal for ArcGIS
Version Found 10.7.1
Prog Language N/A
Server Platform
Client Platform
Database N/A
Locale N/A
Status Fixed
Learn more
Version Fixed 10.8.1
SP Fixed N/A

Bug BUG-000126198


The primary portal and the standby portal are no longer accessible after the pg_hba.conf entries are commented out.

Additional Information


Alternate Solution

1.On primary Portal, open the pg_hba.conf and uncomment out the entries (Ex. C:\arcgisportal\db\pg_hba.conf). See below:


# IPv4 local connections:

host  all       portaladmin      md5

host  replication   portaladmin      md5

# IPv6 local connections:

host  all       portaladmin       ::1/128         md5

host  replication   portaladmin       ::1/128         md5)


host gwdb portaladmin portalPrimary.domain.com md5

host gwdb portaladmin portalStandby.domain.com md5


host gwdb portaladmin md5

host gwdb portaladmin md5


2. Reload Portal for ArcGIS database with the following command, in an administrator command prompt.

  • cd C:\Program Files\ArcGIS\Portal\framework\runtime\pgsql\bin
  • pg_ctl.exe reload -D C:\arcgisportal\db


3. Stop and start Portal for ArcGIS' internal database.

  • pg_ctl.exe stop -D C:\arcgisportal\db
  • pg_ctl.exe start -D C:\arcgisportal\db


4. You should now be able to access the primary Portal for ArcGIS.


5. Repeat Steps 1 through 3 for the standby Portal for ArcGIS.