Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
richardnealwebb opened this issue Jul 29, 2023 · 1 comment
Open

Comments

@richardnealwebb
Copy link

[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
Copy link
Contributor

Hi @richardnealwebb,

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

  • Which version of ArcGIS Enterprise is this?
  • Which version of Cookbooks is being used?
  • Operating System?

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants