org.postgresql.util.PSQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • OpenNMS - discuss - ONMS Install
    via by Unknown author,
  • 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
    via by imzyrk,
  • Repeated postgres exception on discovery
    via by Jason Dobies,
  • sqoop error : password authentication failed
    via Stack Overflow by crouhcred
    ,
  • 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
    via by imzyrk,
    • 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.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:185) at org.rhq.plugins.postgres.PostgresDiscoveryComponent.buildConnection(PostgresDiscoveryComponent.java:230) at org.rhq.plugins.postgres.PostgresServerComponent.getConnection(PostgresServerComponent.java:135) at org.rhq.plugins.postgres.PostgresServerComponent.getAvailability(PostgresServerComponent.java:117) at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Users with the same issue

    Unknown visitor1 times, last one,
    silex
    15 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    36 more bugmates