unable to install opennms unstable version

Joelly Alexander <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
hello,

i am trying to install the opennms from the unstable repository on 
debian testing, but with no luck;
all packets are installed, on initializing opennms and the database i 
get this error:

root@opennms:/# /usr/share/opennms/bin/install -dis
==============================================================================
OpenNMS Installer Version $Id$
==============================================================================

Configures PostgreSQL tables, users, and other miscellaneous settings.

- searching for jicmp:
   - trying to load /usr/lib/jni/libjicmp.so: OK
- searching for jrrd:
   - trying to load /usr/lib/jni/libjrrd.so: OK
- using SQL directory... /usr/share/opennms/etc
- using create.sql... /usr/share/opennms/etc/create.sql
Exception in thread "main" org.opennms.core.schema.MigrationException: 
an error occurred getting the version from the database
         at 
org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:146)
         at 
org.opennms.core.schema.Migrator.validateDatabaseVersion(Migrator.java:174)
         at org.opennms.install.Installer.install(Installer.java:240)
         at org.opennms.install.Installer.main(Installer.java:964)
Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
         at 
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:150)
         at 
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
         at 
org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
         at 
org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
         at 
org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
         at org.postgresql.Driver.makeConnection(Driver.java:393)
         at org.postgresql.Driver.connect(Driver.java:267)
         at java.sql.DriverManager.getConnection(DriverManager.java:582)
         at java.sql.DriverManager.getConnection(DriverManager.java:154)
         at 
org.opennms.netmgt.dao.db.SimpleDataSource.getConnection(SimpleDataSource.java:106)
         at 
org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:134)
         ... 3 more
Caused by: java.net.SocketException: Network is unreachable
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:189)
         at org.postgresql.core.PGStream.<init>(PGStream.java:62)
         at 
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:76)
         ... 13 more
root@opennms:/#



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.