Dany Bensighar wrote:
> Hi All,
> 
>     Please find the below mentioned error
> 
> - checking database version... Exception in thread "main" 
> java.sql.SQLException: Could not get an administrative connection to the 
> database.  Is the database running, listening for TCP connections, and 
> allowing us to connect and authenticate from localhost?  Tried 
> connecting to database specified by data source 
> SimpleDataSource[URL='jdbc:postgresql://192.168.12.124/template1', 
> driver class='org.postgresql.Driver', properties: user='postgres', 
> password=''].  Original error: org.postgresql.util.PSQLException: FATAL: 
> missing or erroneous pg_hba.conf file

> Please help me to solve this error

Have you started postgresql and done the initial initdb?  If you used a 
postgresql installation that is part of an OS distribution, the script that 
starts it may do the initdb for you, but you still have to permit access over 
tcp from the local host as described under 'Customizing the pg_hba.conf file' 
here: http://www.opennms.org/wiki/Building_OpenNMS.

-- 
   Les Mikesell
    lesmikes...@gmail.com





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

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

Reply via email to