On 4/24/06, Raj Mathur <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > >>>>> "lazylabs" == lazylabs <[EMAIL PROTECTED]> writes: > > lazylabs> Hi, I was trying to install opennms on debian > lazylabs> Sarge. While trying to run the opennms installer process > > lazylabs> $ $OPENNMS_HOME/bin/install -disU i get an error saying > lazylabs> "Exception in thread main > lazylabs> org.postgresql.util.pgsqlexception: connection refused". > > lazylabs> netstat -an shows that postmaster process is listening > lazylabs> on *:5432. > > lazylabs> So, i tried connecting to pgsql using psql client. > > lazylabs> $ psql -U postgres -l lists the databases sucessfully. > > lazylabs> but $ psql -U postgres -h localhost -l or $ psql -U > lazylabs> postgres -h 127.0.0.1 -l fails. it asks whether pgsql is > lazylabs> running on127.0.0.1 and post 5432. > > PostgreSQL doesn't listen on the TCP interface by default. You'll > have to enable tcpip_socket = true in postgresql.conf and restart > PostgreSQL.
its there.. and it IS listening on port 4532.. $ netstat -anp | grep postmaster tcp 0 0.0.0.0:5432 0.0.0.0:* LISTEN 1019/postmaster ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help
