How to overcome database connection failure for Postgres DB collectors in RSA Via Lifecycle and Governance
Originally Published: 2016-06-27
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 Governance & Lifecycle Database DB2 Connector Datasheet 30Number of Views RSA Governance & Lifecycle Recipes: Report - AD Admin Group Members 31Number of Views RSA MFA Agent for Windows Platform Support Matrix 23Number of Views Error: 'The server has not found anything matching the Request-URI' in RSA Federated Identity Manager (FIM) 67Number of Views Database ID Mismatch being reported in the alert log for RSA Identity Governance & Lifecycle 42Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager Upgrade Process Running out of disk space when using RMAN in RSA Identity Governance & Lifecycle
Don't see what you're looking for?