I just installed revision 9387 and encountered a problem running install.

- 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://localhost:5432/postgres',
driver class='org.postgresql.Driver', properties: user='postgres',
password=''].  Original error: org.postgresql.util.PSQLException:
FATAL: database "postgres" does not exist


I fixed this by editing opennms-datasources.xml and changing

url="jdbc:postgresql://localhost:5432/postgres"

to

url="jdbc:postgresql://localhost:5432/template1"

I assume this is an error in the file, or should I have done something else?

--Bill--

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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