Esri / arcgis-cookbook

Chef cookbooks for ArcGIS
Apache License 2.0
290 stars 115 forks source link

Cannot connect to database: Connection to localhost:7654 refused #365

Open richardnealwebb opened 11 months ago

richardnealwebb commented 11 months ago

[2023-07-29T15:04:32+10:00] FATAL: RuntimeError: arcgis_enterprise_portal[Create Portal Site] (arcgis-enterprise::portal line 61) had an error: RuntimeError: com.esri.arcgis.portal.admin.core.PortalException: java.lang.Exception: Cannot connect to database: Connection to localhost:7654 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

cameronkroeker commented 11 months ago

Hi @richardnealwebb,

Looks like the portal site failed to create. Could you provide additional information or context? For example:

I recommend checking the portal logs on disk to see if there are any additional logs that may provide clues.

Windows: C:\arcgisportal\logs\<machine name>\portal\portal-20150101.095803-8596-0.0.log Linux: <Portal for ArcGIS installation directory>/arcgisportal/logs/<machine name>/portal/portal-20150101.095803-8596-0.0.log

Thanks, Cameron K.