semanage confirms my host is running in permissive mode.
I can login to postgresql as user puppetdb when I don't use a password like this:
[msk@puppet ~]$ su - postgres
Password:
Last login: Fri Jun 21 14:19:01 EDT 2019 on pts/1
bash-4.2$ psql -d puppetdb -U puppetdb
psql: FATAL: Peer authentication failed for user "puppetdb"
netstat -tlpn |grep postmaster shows
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 22948/postmaster
The error I see in /var/log/puppetlabs/puppetdb/puppetdb.log by the hundred is:
Pool - Connection is not available, request timed out after 3012ms.
2019-06-21T13:36:50.267-04:00 ERROR [p.p.c.services] Will retry database connection after temporary failure: java.sql.SQLTransientConnectionException: PDBMigrationsPool - Connection is not available, request timed out after 3000ms.
/var/lib/pgsql/11/data/pg_hba.conf contains:
local all all peer
host all all 127.0.0.1/32 ident
host puppetdb puppetdb 127.0.0.1/32 peer
postgresql-Fri.log is full of
FATAL: remaining connection slots are reserved for non-replication superuser connections
Thanks for any clues.