In postgresql.conf I put:
listen_addresse s = 'localhost'
port = 5432
max_connections = 256
shared_buffers = 1024MB
max_fsm_pages = 204800
In pg_hba.conf
I put:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
#...
User Profile
Collapse
-
Postgres can't talk on TCP/IP connection
Building OpenNMS 1.2.9 on
OpenSUSE 10.3 using
Postgres 8.2.7
When I run:
$OPENNMS_HOME/bin/install -disU
Output is:
Exception in thread "main" org.postgresql. util.PSQLExcept ion: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql. jdbc1.AbstractJ dbc1Connection. openConnection( AbstractJdbc1Co nnection.java:2 04)...
No activity results to display
Show More
Leave a comment: