Hi, This is Ryotaro
I want to use the PostgreSQL as PWH on RHEL7.
however, I couldn't connect from Dynatrace Client.
I installed PostgreSQL, and created DB.
I changed the "pg_hba.conf" and "postgresql.conf", and stopped firewall too though.
The error message as follow:
check connection to database server failed: Connection to XX.XX.XX.XX:5432 refused.
Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. could you tell me about is there any notes on setting up PostgreSQL on linux?
Sorry for asking about PostgreSQL problem though.
Ryotaro, I'm not sure what modifications you made to the .conf files, but here's some notes I use when configuring PostgreSQl on Linux as a PW. These might be for an older version of PostGreSQl so I'm not sure they are still valid. Hope it helps.
1.PGsql needs to be told to allow connections from
the dTServer, even if localhost
Redhat family: DATA_LOCATION=/var/lib/pgsql/<version>
Ubuntu family: /etc/postgresql/<version>/
= ‘*’ (remove comment and change “localhost’ to “*”)
c.modify/add a line to the bottom of the file
“host all all <ipaddress>/32
d.Change existing lines so METHOD is ‘trust’.
e.Don’t forget to reload postgresql (/etc/init.d/postgresql reload)