Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVlf6-0002tt-MK for pgsql-jdbc@arkaria.postgresql.org; Fri, 26 Apr 2013 16:38:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UVlf6-0002Z1-1o for pgsql-jdbc@arkaria.postgresql.org; Fri, 26 Apr 2013 16:38:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVlf5-0002Yv-8O for pgsql-jdbc@postgresql.org; Fri, 26 Apr 2013 16:38:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVlf2-00016S-BS for pgsql-jdbc@postgresql.org; Fri, 26 Apr 2013 16:38:14 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r3QGcAMH013629; Fri, 26 Apr 2013 12:38:11 -0400 (EDT) From: Tom Lane To: pawel_kukawski cc: pgsql-jdbc@postgresql.org Subject: Re: PSQLException: FATAL: password authentication failed for user "XXX" In-reply-to: <1366981741243-5753396.post@n5.nabble.com> References: <1366981741243-5753396.post@n5.nabble.com> Comments: In-reply-to pawel_kukawski message dated "Fri, 26 Apr 2013 06:09:01 -0700" Date: Fri, 26 Apr 2013 12:38:10 -0400 Message-ID: <13628.1366994290@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org pawel_kukawski writes: > I have experienced authentication problems after applying a security > patch(147440-09) to Solaris 10. > PostgreSQL 9.2.1 > JDBC: 9.2 1002 > I got the following exception during startup of my application: > Caused by: org.postgresql.util.PSQLException: FATAL: password authentication > failed for user "XXX" You might try looking into the postmaster log to see what the server logged about it --- the log entries are frequently more verbose than what the client got told. Also, if the problem isn't immediately obvious from the log entry, try turning on log_connections to verify that the JDBC app is connecting with the database+username and from the IP address that you're expecting. regards, tom lane -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc