<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">sounds smilier to the problem i had the solution was:<div><a href="http://www.pgpool.net/mediawiki/index.php/FAQ">http://www.pgpool.net/mediawiki/index.php/FAQ</a></div><div><h3 style="background-image: none; background-color: rgb(255, 255, 255); margin: 0px 0px 0.3em; overflow: hidden; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-style: none; width: auto; font-size: 17px; font-family: sans-serif; line-height: 19.1875px; "><span class="mw-headline" id="I_cannot_use_MD5_authentication_if_start_pgpool_without_-n_option._Why.3F">I cannot use MD5 authentication if start pgpool without -n option. Why?</span></h3><dl style="margin-top: 0.2em; margin-bottom: 0.5em; font-family: sans-serif; font-size: 13px; line-height: 19.1875px; background-color: rgb(255, 255, 255); "><dd style="line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em;">You must have given -f option as a relative path: i.e. "-f pgpool.conf", rather than full path: i.e. "-f /usr/local/etc/pgpool.conf". Pgpool tries to locate the full path of pool_passwd (which is neccesary for MD5 auth) from pgpool.conf path. This is fine with -n option. However if pgpool starts without -n option, it changes current directory to "/", which is neccessary processs for daemonizing. As a result, pgpool tries to open "/pool_passwd", which will not successs.</dd><div><br></div><div><br></div><div><br></div></dl><div><div>On May 8, 2013, at 8:00 PM, Jayadevan M &lt;<a href="mailto:jayadevan.maymala@ibsplc.com">jayadevan.maymala@ibsplc.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<br>Though the password I am supplying is the same and I have not made any changes to the pgpol password, the values in the error message change. Is that how it should be?<br><br>2013-05-08 18:23:48 DEBUG: pid 3301: password does not match: frontend:md57a15dc0847a23d5def2b5c7941d8460d pgpool:md5f51e3de26a7f16dbc7ff99b582e882ab<br>2013-05-08 18:23:51 DEBUG: pid 3317: password does not match: frontend:md54d973dd3805852de6ef2a9d15a46346d pgpool:md554da49b85b7f3f2ebb9bc676182f9d69<br><br>Regards,<br>Jayadevan<br>-----Original Message-----<br>From: Tatsuo Ishii [mailto:ishii@<a href="http://postgresql.org">postgresql.org</a>]<br>Sent: Thursday, May 09, 2013 4:29 AM<br>To: Jayadevan M<br>Cc: <a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>Subject: Re: pgpool - issue with md5<br><br><blockquote type="cite">Hi,<br>I have been trying to get md5 authentication work with pgpool and keep running into issues (pgpool not picking the right pool_passwd file and so on). Right now, all that seems to be solved, but I am getting a "psql: FATAL: &nbsp;password authentication failed for user "hbsi"" error. I am attaching the debug output from pgpool. It looks like the password from the frontend and the one in pgpool config keeps changing.<br>An error<br></blockquote><br>It seems the cause of the error is apparent: you supplied wrong password.<br><br>2013-05-08 18:23:51 DEBUG: pid 3317: password does not match: frontend:md54d973dd3805852de6ef2a9d15a46346d pgpool:md554da49b85b7f3f2ebb9bc676182f9d69<br><br>Are you sure to give pgpool same password which is used when you created pool_passwd entry?<br><br><blockquote type="cite">read_password_packet_password: failed to read password packet "p"<br>is also present.<br></blockquote><br>This is normal. psql tries to connect to pgpool with no auth and pgpool rejects it with the message, then psql retry with md5 auth.<br>--<br>Tatsuo Ishii<br>SRA OSS, Inc. Japan<br>English: <a href="http://www.sraoss.co.jp/index_en.php">http://www.sraoss.co.jp/index_en.php</a><br>Japanese: <a href="http://www.sraoss.co.jp">http://www.sraoss.co.jp</a><br><br><br>DISCLAIMER: "The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."<br>_______________________________________________<br>pgpool-general mailing list<br><a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>http://www.pgpool.net/mailman/listinfo/pgpool-general<br><br></blockquote></div><br></div></body></html>