How to overcome database connection failure for Postgres DB collectors in RSA Via Lifecycle and Governance
Originally Published: 2016-06-27
Last Modified: 2023-10-06
Article Number
Applies To
RSA Version/Condition: All Versions
Platform: Linux
O/S Version: Red Hat Enterprise Linux 6.8
Issue
Caused by: org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "<IP address of host>", user "rbacxintegration", database "infosecdata", SSL off at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:415) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:188)
Cause
Resolution
# TYPE DATABASE USER CIDR-ADDRESS METHOD
host all all 0.0.0.0/0 md5
You need to enter the IP address of the computer on which your application is running. For example, if your IP address is 192.168.123.250, enter it in pg_hba.conf as 192.168.123.0. The .0 acts a wildcard in case your computer is assigned a new IP address at a later time (hopefully it will be in the same range as the original.)
Once the above line is added in pg_hba.conf, PostgreSQL needs to be restarted using the command:
/etc/init.d/postgresql restart
Related Articles
RSA Authentication Manager 8.6 Patch 2 Readme 32Number of Views SecurID Governance & Lifecycle 7.5.2 Patch 10 Release Notes 27Number of Views RSA Announces RSA Authentication Agent 2.0.1 for Microsoft AD FS Support for Windows Server 2019 18Number of Views RSA MFA Agent for Windows Platform Support Matrix 28Number of Views RSA Authentication Manager 8.4 Administrator's Guide 49Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Report preview and/or generation fails with 'java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperrepor… RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA Authentication Manager 8.9 Setup and Configuration Guide How to set up the REST RSA SecurID Authentication API for Authentication Manager 8.2 SP1
Don't see what you're looking for?