Re: Need help with new install, stuck on database

Bob Greene <[email protected]> Thu, 3 Apr 2014 01:44:25 +0000
Newsgroups gmane.network.opennms.install
Message-ID <CF622708.18541%[email protected]>
Did you follow the instructions in the Quick Start<http://www.opennms.org/wiki/QuickStart#Edit_pg_hba.conf_to_Allow_postgres_to_Authenticate>?

From: Chris Tallerico <[email protected]<mailto:[email protected]>>
Reply-To: Installation questions and help <[email protected]<mailto:[email protected]>>
Date: Wednesday, April 2,2014 at 8:00 PM
To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Subject: [opennms-install] Need help with new install, stuck on database

Not a server guy....Trying to get OpenNMS set up on a Centos server.  Stuck at Create Database.  Getting these errors:


[root@montgomertech ~]# /opt/opennms/bin/install -dis
==============================================================================
OpenNMS Installer
==============================================================================

Configures PostgreSQL tables, users, and other miscellaneous settings.

- searching for libjicmp.so:
  - trying to load /usr/lib64/libjicmp.so: OK
- searching for libjicmp6.so:
  - trying to load /usr/lib64/libjicmp6.so: OK
- searching for libjrrd.so:
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /usr/java/jdk1.6.0_24/jre/lib/amd64/server/libjrrd.so: NO
  - trying to load /usr/java/jdk1.6.0_24/jre/lib/amd64/libjrrd.so: NO
  - trying to load /usr/java/jdk1.6.0_24/jre/../lib/amd64/libjrrd.so: NO
  - trying to load /libjrrd.so: NO
 - trying to load /opt/opennms/lib/libjrrd.so: NO
  - trying to load /opt/opennms/lib/linux64/libjrrd.so: NO
  - trying to load /usr/java/packages/lib/amd64/libjrrd.so: NO
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /lib64/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... /opt/opennms/etc
- using create.sql... /opt/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:179)
        at org.opennms.core.schema.Migrator.validateDatabaseVersion(Migrator.java:207)
        at org.opennms.install.Installer.install(Installer.java:227)
        at org.opennms.install.Installer.main(Installer.java:960)
Caused by: org.postgresql.util.PSQLException: FATAL: Ident 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.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
        at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:30)
        at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.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.core.db.install.SimpleDataSource.getConnection(SimpleDataSource.java:92)
        at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:167)
        ... 3 more




Chris Tallerico
Sr. Consultant
[cid:[email protected]]

Technology Manager for Premier Commercial Buildings Nationally
Office 866.824.8362 | Cell 415.509.0567 |[email protected]<mailto:[email protected]>

------------------------------------------------------------------------------

_______________________________________________
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
image001.jpg (image/jpeg, 2.6 KB) - not displayed