[pgpool-general: 1707] Re: pgpool - issue with md5

David Kerr web at mr-paradox.net
Thu May 9 12:03:21 JST 2013


sounds smilier to the problem i had the solution was:
http://www.pgpool.net/mediawiki/index.php/FAQ
I cannot use MD5 authentication if start pgpool without -n option. Why?
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.



On May 8, 2013, at 8:00 PM, Jayadevan M <jayadevan.maymala at ibsplc.com> wrote:

> Hi,
> 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?
> 
> 2013-05-08 18:23:48 DEBUG: pid 3301: password does not match: frontend:md57a15dc0847a23d5def2b5c7941d8460d pgpool:md5f51e3de26a7f16dbc7ff99b582e882ab
> 2013-05-08 18:23:51 DEBUG: pid 3317: password does not match: frontend:md54d973dd3805852de6ef2a9d15a46346d pgpool:md554da49b85b7f3f2ebb9bc676182f9d69
> 
> Regards,
> Jayadevan
> -----Original Message-----
> From: Tatsuo Ishii [mailto:ishii at postgresql.org]
> Sent: Thursday, May 09, 2013 4:29 AM
> To: Jayadevan M
> Cc: pgpool-general at pgpool.net
> Subject: Re: pgpool - issue with md5
> 
>> Hi,
>> 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:  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.
>> An error
> 
> It seems the cause of the error is apparent: you supplied wrong password.
> 
> 2013-05-08 18:23:51 DEBUG: pid 3317: password does not match: frontend:md54d973dd3805852de6ef2a9d15a46346d pgpool:md554da49b85b7f3f2ebb9bc676182f9d69
> 
> Are you sure to give pgpool same password which is used when you created pool_passwd entry?
> 
>> read_password_packet_password: failed to read password packet "p"
>> is also present.
> 
> 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.
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
> English: http://www.sraoss.co.jp/index_en.php
> Japanese: http://www.sraoss.co.jp
> 
> 
> 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."
> _______________________________________________
> pgpool-general mailing list
> pgpool-general at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20130508/fbaae331/attachment.html>


More information about the pgpool-general mailing list