Re: Need help with new install, stuck on database

Chris Tallerico <[email protected]> Thu, 3 Apr 2014 23:48:30 +0000
Newsgroups gmane.network.opennms.install
Message-ID <1C83001B13EC2948A323D6ADB82A66D9DE9F75@P3PWEX4MB010.ex4.secureserver.net>
Without a doubt....I work predominantly on outdoor wireless networks and miss things now and then...It happens :)

As a good ending to this string..........I'm logged into our Open NMS now and ready to start adding devices!

Thanks again to you and the others that have responded.

CT




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]>

From: Bob Greene [mailto:[email protected]]
Sent: Thursday, April 3, 2014 4:40 PM
To: Installation questions and help
Subject: Re: [opennms-install] Need help with new install, stuck on database

Glad to hear you figured it out.  You aren't the first or the last to miss something simple.  I've missed plenty myself, but now I can roll out an installation pretty quick.

In the end, you learned something and I'll be you won't make that mistake again (there are plenty of other mistakes for next time).

From: Chris Tallerico <[email protected]<mailto:[email protected]>>
Reply-To: Installation questions and help <[email protected]<mailto:[email protected]>>
Date: Thursday, April 3,2014 at 5:38 PM
To: Installation questions and help <[email protected]<mailto:[email protected]>>
Subject: Re: [opennms-install] Need help with new install, stuck on database

Ron and Bob,

So I went thought everything and found that I did make those adds, but goofed on the IP address.  Instead of FOLLOWING the directions, I ASSUMED (and you know the old saying! LOL) that the IP should be that of my server, not the 127.0.0.1 in the directions.  Made the change and voila!  Everything loaded................On to the firewall section of the set up!

Thanks again to everyone that responded...I really appreciate it.




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]>

From: Ronald Roskens [mailto:[email protected]]
Sent: Wednesday, April 2, 2014 7:03 PM
To: Installation questions and help
Subject: Re: [opennms-install] Need help with new install, stuck on database

Chris,

Your postgresql database isn't configured for password authentication. See the wiki page http://www.opennms.org/wiki/QuickStart for a guide on how to reconfigure postgresql to get you past this.

Ron

On Apr 2, 2014, at 8:00 PM, Chris Tallerico <[email protected]<mailto:[email protected]>> wrote:



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
<image001.jpg>

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

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

_______________________________________________
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