Quantcast

Facing problem in last step

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Facing problem in last step

shashank
Somebody plz help me to sort out this error.




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
com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
        at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:495)
        at org.opennms.install.IPv6Validator.getStringFromRegistry(IPv6Validator.java:162)
        at org.opennms.install.IPv6Validator.isPlatformIPv6Ready(IPv6Validator.java:65)
        at org.opennms.install.Installer.checkIPv6(Installer.java:298)
        at org.opennms.install.Installer.install(Installer.java:194)
        at org.opennms.install.Installer.main(Installer.java:949)
DEBUG: Windows NT Version 6.2, Build 9200 (Service Pack 0)
- 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.7.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:\Program Files\PC Connectivity Solution\\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 C:\Program Files\Microsoft SQL Server\110\Tools\Binn\\jrrd.dll: NO
  - trying to load C:\Program Files\MATLAB\R2012b\runtime\win32\jrrd.dll: NO
  - trying to load C:\Program Files\MATLAB\R2012b\bin\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
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: Protocol error.  Session setup failed.
        at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:407)
        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:571)
        at java.sql.DriverManager.getConnection(DriverManager.java:187)
        at org.opennms.netmgt.dao.db.SimpleDataSource.getConnection(SimpleDataSource.java:90)
        at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:166)
        ... 3 more


Thank you
Loading...