hi!

Your postgreSQL might not be running with TCP support.

Edit postgresql.conf file (go figure where it is located)...and make
sure that  tcpip_socket is set to true...

e.g:  tcpip_socket = true;

then edit postmaster.opts and append a '-i' at the end of the following:

old entry:
 /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data

change it to:
 /usr/bin/postmaster -p -5432 -D /var/lib/pgsql/data -i

you may also refer to : www.geocities.com/g_virat/opennms.pdf (pretty
old report though, but might help).

Hope this helps,

Regards,

Virat

On 4/23/06, Harwinder Sidhu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was trying to install opennms on debian Sarge. While trying to run
> the opennms installer process
>
> $ $OPENNMS_HOME/bin/install -disU
> i get an error saying "Exception in thread main
> org.postgresql.util.pgsqlexception: connection refused".
>
> netstat -an shows that postmaster process is listening on *:5432.
>
> So, i tried connecting to pgsql using psql client.
>
> $ psql -U postgres -l
> lists the databases sucessfully.
>
> but
> $ psql -U postgres -h localhost -l
> or
> $ psql -U postgres -h 127.0.0.1 -l
> fails. it asks whether pgsql is running on127.0.0.1 and post 5432.
>
> So, it seems some pgsql authentication issues.
> $ cat /etc/postgresql/pg_hba.conf
> local all all trust
> host all all 127.0.0.1 255.255.255.255 trust
>
> can u help??
>
> harwinder
>
> _________________________________________________________________
> All  that you wanted to know about Ms Beautiful Lips
> http://server1.msn.co.in/Profile/katrina.asp
>
>
>
> -------------------------------------------------------
> 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&kid=120709&bid=263057&dat=121642
> _______________________________________________
> linux-india-help mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
>


-------------------------------------------------------
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

Reply via email to