Uploaded image for project: 'Windows Installer'
  1. Windows Installer
  2. WIN-2

Install fails on Windows Server 2012 R2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: Installer
    • Labels:
    • Environment:
      Windows Server 2012 R2, JDK 1.8.0_25, PostgreSQL 9.4
    • Tracking Code:
      WIND

      Description

      OpenNMS Installer
      ==============================================================================

      Configures PostgreSQL tables, users, and other miscellaneous settings.

      DEBUG: Looks like we're on Windows... Validating.
      WARNING: Unable to retrieve the value for SOFTWARE\Microsoft\Windows NT\CurrentVersion\CSDVersion
      DEBUG: Windows NT Version 6.3, Build 9600 (Service Pack 0)
      DEBUG: Platform is IPv6 ready: true

      • searching for jicmp.dll:
      • trying to load C:/Program Files/OpenNMS/lib\jicmp.dll: OK
      • searching for jicmp6.dll:
      • trying to load C:/Program Files/OpenNMS/lib\jicmp6.dll: OK
      • searching for jrrd.dll:
      • trying to load C:/Program Files/OpenNMS/lib\jrrd.dll: NO
      • trying to load C:\Program Files\OpenNMS\lib\jrrd.dll: NO
      • trying to load C:\Program Files\OpenNMS\lib\jrrd.dll: NO
      • trying to load C:\Program Files\Java\jdk1.8.0_25\bin\jrrd.dll: NO
      • trying to load C:\Windows\Sun\Java\bin\jrrd.dll: NO
      • trying to load C:\Windows\system32\jrrd.dll: NO
      • trying to load C:\Windows\jrrd.dll: NO
      • trying to load C:\ProgramData\Oracle\Java\javapath\jrrd.dll: NO
      • trying to load C:\Windows\system32\jrrd.dll: NO
      • trying to load C:\Windows\jrrd.dll: NO
      • trying to load C:\Windows\System32\Wbem\jrrd.dll: NO
      • trying to load C:\Windows\System32\WindowsPowerShell\v1.0
        jrrd.dll: NO
      • trying to load .\jrrd.dll: 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... C:\Program Files\OpenNMS\etc
      • using create.sql... C:\Program Files\OpenNMS\etc\create.sql
        java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366)
        at java.lang.Thread.run(Thread.java:745)
        Caused by: org.opennms.core.schema.MigrationException: an error occurred getting the version from the database
        at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:183)
        at org.opennms.core.schema.Migrator.validateDatabaseVersion(Migrator.java:211)
        at org.opennms.install.Installer.install(Installer.java:231)
        at org.opennms.install.Installer.main(Installer.java:967)
        ... 6 more
        Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"
        at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398)
        at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173)
        at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
        at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:136)
        at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)
        at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21)
        at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31)
        at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
        at org.postgresql.Driver.makeConnection(Driver.java:410)
        at org.postgresql.Driver.connect(Driver.java:280)
        at java.sql.DriverManager.getConnection(DriverManager.java:664)
        at java.sql.DriverManager.getConnection(DriverManager.java:208)
        at org.opennms.core.db.install.SimpleDataSource.getConnection(SimpleDataSource.java:93)
        at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:171)
        ... 9 more

        Attachments

        1. IL0-786.pdf
          241 kB
        2. IQ0-100.pdf
          250 kB
        3. IREB.pdf
          247 kB

          Activity

            People

            Assignee:
            ranger Benjamin Reed
            Reporter:
            imzyrk imzyrk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: