FATAL: password authentication failed for user when starting JBoss ON Server
Issue
- Unable to login
-
Following message is logged in the server log
WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.postgresql.util.PSQLException: FATAL: password authentication failed for user "rhqadmin")
-
When trying to install ON receive below in
rhq-installer.log
:
15:27:46,256 ERROR [org.rhq.enterprise.server.installer.Installer] The installer will now exit due to previous errors: java.lang.Exception: org.postgresql.util.PSQLException:FATAL: Ident authentication failed for user "rhqadmin"[SQLException=FATAL: Ident authentication failed for user "rhqadmin"]
at org.rhq.enterprise.server.installer.InstallerServiceImpl.test(InstallerServiceImpl.java:257) [rhq-installer-util-4.12.0.JON330GA.jar:4.12.0.JON330GA]
at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:96) [rhq-installer-util-4.12.0.JON330GA.jar:4.12.0.JON330GA]
at org.rhq.enterprise.server.installer.Installer.main(Installer.java:59) [rhq-installer-util-4.12.0.JON330GA.jar:4.12.0.JON330GA]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_95]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_95]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_95]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_95]
at org.jboss.modules.Module.run(Module.java:312) [jboss-modules.jar:1.3.3.Final-redhat-1]
at org.jboss.modules.Main.main(Main.java:460) [jboss-modules.jar:1.3.3.Final-redhat-1]
Environment
- Red Hat JBoss Operations Network (ON) 3.1, 3.2, 3.3
- PostgreSQL database
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.