Installation Error - error occured getting a database version
Middlebrook Nicholas <[email protected]>
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <4DB9B3D37D7ECC4485B382F11EB4CBE024F5934C@hsmailbox01.beaconk12.org> |
Hello everyone, hoping all is well!
I am working on installing the most recent version of OpenNMS (as of this posting date) on Ubuntu 12.10. My Postgresql version is 9.1, I am using Java SDK 1.6.0_26 obtained using the optional ppa repository as indicated in the Debian/Ubuntu install directions located on the OpenNMS wiki. When I go to install open nms following the directions:
Try It! Create the Database
Now it's time to create and configure the OpenNMS database. To do so, run the following command (as root):
sudo /usr/share/opennms/bin/install -dis
I receive the following error message:
==============================================================================
OpenNMS Installer
==============================================================================
Configures PostgreSQL tables, users, and other miscellaneous settings.
- searching for jicmp:
- trying to load /usr/lib/jni/libjicmp.so: OK
- searching for jicmp6:
- trying to load /usr/lib/jni/libjicmp6.so: OK
- searching for jrrd:
- trying to load /usr/lib/jni/libjrrd.so: NO
- trying to load /usr/lib/jni/libjrrd.so: NO
- trying to load /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/server/libjrrd.so: NO
- trying to load /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/libjrrd.so: NO
- trying to load /usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/i386/libjrrd.so: NO
- trying to load /libjrrd.so: NO
- trying to load /usr/share/opennms/lib/libjrrd.so: NO
- trying to load /usr/share/opennms/lib/linux32/libjrrd.so: NO
- trying to load /usr/java/packages/lib/i386/libjrrd.so: NO
- trying to load /lib/libjrrd.so: NO
- trying to load /usr/lib/libjrrd.so: NO
- trying to load /usr/lib/jni/libjrrd.so: NO
- trying to load /usr/lib/libjrrd.so: NO
- trying to load /usr/local/lib/libjrrd.so: NO
- trying to load /opt/NMSjicmp/lib/32/libjrrd.so: NO
- trying to load /opt/NMSjicmp/lib/64/libjrrd.so: NO
- trying to load /opt/NMSjicmp6/lib/32/libjrrd.so: NO
- trying to load /opt/NMSjicmp6/lib/64/libjrrd.so: NO
- Failed to load the optional jrrd library.
- This error is not fatal, since jrrd is only required for optional features.
- For more information, see http://www.opennms.org/index.php/jrrd
- 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:178)
at org.opennms.core.schema.Migrator.validateDatabaseVersion(Migrator.java:206)
at org.opennms.install.Installer.install(Installer.java:226)
at org.opennms.install.Installer.main(Installer.java:949)
Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:291)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
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:90)
at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:166)
... 3 more
I have searched high and low for two days and tried everything possible to correct this error, including using Java 7, older versions of Postgresql, previous versions of Ubuntu, and a complete wipe and reinstall of everything from scratch following the instructions laid out by the OpenNMS wiki to no avail. And yes, my Postgresql service is running as the output of:
/etc/init.d/postgresql status
comes back as
9.1/main (port 5432): online
Any help from this point forward would be greatly appreciated as I am officially in over my head and quite stuck. As always, any information needed will be happily provided.
Thank you in advance and everyone have a great weekend!
Best,
Niko M.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
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