[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-install
Subject:    Re: [opennms-install] problem installing opennms
From:       Tarus Balog <tarus () opennms ! org>
Date:       2008-07-15 21:36:38
Message-ID: F70E1804-CB3A-4527-8343-13F54CEE246F () opennms ! org
[Download RAW message or body]


On Jul 15, 2008, at 2:56 PM, Sushant sapra wrote:

> I am using Ubuntu 8.4 and have updated it.
>
>
>
> The error i am getting is :
>
> root@sushant-desktop:/usr/share/opennms/bin# sudo $OPENNMS_HOME/bin/ 
> install -disU
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> OpenNMS Installer Version $Id: Installer.java 3056 2006-03-26  
> 19:39:16Z djgregor $
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
>
> Configures PostgreSQL tables, users, and other miscellaneous settings.
>
> Exception in thread “main” org.postgresql.util.PSQLException:  
> Connection refused. Check that the hostname and port are correct and  
> that the postmaster is accepting TCP/IP connections.
> at  
> org 
> .postgresql 
> .jdbc1 
> .AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java: 
> 204)
> at org.postgresql.Driver.connect(Driver.java:139)
> at java.sql.DriverManager.getConnection(DriverManager.java:582)
> at java.sql.DriverManager.getConnection(DriverManager.java:185)
> at rg.opennms.install.Installer.databaseConnect(Installer.java:616)
> at org.opennms.install.Installer.install(Installer.java:195)
> at org.opennms.install.Installer.main(Installer.java:2453)
>
> plz guide me further.. what shal i do..??
>

Is the postmaster running?

ps -ef | grep postmaster

and did you modify pg_hba.conf to allow for local host connections?

-T

_______________________________________________________________________
Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 503 961 7746
Email: tarus@opennms.org                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic