Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Symptom: You can SSH into the target machine but can’t connect to PostgreSQL

  1. If PostgreSQL is hosted natively on an EC2 instance, verify that the instance belongs to a Security Group which exposes port 5432. This can easily be done via Amazon's Management Console.
  2. Follow the steps here to ensure that PostgreSQL is configured to allow remote connections. Note that, for productions systems, these restrictions should not be cavalierly relaxed. The relevant configuration files for our current deployments of OpenLMIS reside in /var/lib/pgsql/9.2/data/.

...