<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><base href="x-msg://1355/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes - I just did a diff of the two files and they are exactly the same.<div><br></div><div>I made sure (just now) to restart both postgres servers just in case.</div><div><br></div><div>Here's the output I'm getting from pgpool in debug mode when I try to make the connection (with sslmode=allow):</div><div><br></div><div><div>2012-08-31 01:34:54 DEBUG: pid 21890: I am 21890 accept fd 6</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: read_startup_packet: application_name: psql</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: Protocol Major: 3 Minor: 0 database: mike user: mike</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: new_connection: connecting 0 backend</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: new_connection: connecting 1 backend</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_ssl: sending client-&gt;server SSL request</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_ssl: client-&gt;server SSL response: S</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_ssl: sending client-&gt;server SSL request</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_ssl: client-&gt;server SSL response: S</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_read_message_length: slot: 0 length: 12</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_read_message_length: slot: 1 length: 12</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_do_auth: auth kind:5</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: I am 21890 accept fd 6</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: Protocol Major: 1234 Minor: 5679 database: &nbsp;user:&nbsp;</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: SSLRequest from client</div><div>2012-08-31 01:34:54 ERROR: pid 21890: pool_ssl: Loading SSL certificate: No such file or directory</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: read_startup_packet: application_name: psql</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: Protocol Major: 3 Minor: 0 database: mike user: mike</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: new_connection: connecting 0 backend</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: new_connection: connecting 1 backend</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_ssl: sending client-&gt;server SSL request</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_ssl: client-&gt;server SSL response: S</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_ssl: sending client-&gt;server SSL request</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_ssl: client-&gt;server SSL response: S</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_read_message_length: slot: 0 length: 12</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_read_message_length: slot: 1 length: 12</div><div>2012-08-31 01:34:54 DEBUG: pid 21890: pool_do_auth: auth kind:5</div><div><br></div><div><br></div><div>And then psql's output:</div><div><br></div><div><div>ubuntu@app1:~$ psql "host=localhost port=9999 user=mike sslmode=allow"</div><div>psql: ERROR: &nbsp;MD5 authentication is unsupported in replication, master-slave and parallel modes.</div><div>HINT: &nbsp;check pg_hba.conf</div><div>ERROR: &nbsp;MD5 authentication is unsupported in replication, master-slave and parallel modes.</div><div>HINT: &nbsp;check pg_hba.conf</div></div><div><br></div><div><br></div><div>Thanks again for your help!</div><div><br></div><div><div>On Aug 30, 2012, at 5:56 PM, Lazáro Rubén García Martínez &lt;<a href="mailto:lgarciam@vnz.uci.cu">lgarciam@vnz.uci.cu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div ocsi="x" style="font-family: Menlo; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="font-family: Tahoma; direction: ltr; font-size: x-small; "><div>The pg_hba.conf in each postgresql server has the same configuration??</div><div>&nbsp;</div><div>Regards.</div><div dir="ltr"><font size="2" face="Tahoma"></font>&nbsp;</div><div id="divRpF940711" style="direction: ltr; "><hr tabindex="-1"><font size="2" face="Tahoma"><b>From:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:pgpool-general-bounces@pgpool.net">pgpool-general-bounces@pgpool.net</a><span class="Apple-converted-space">&nbsp;</span>[<a href="mailto:pgpool-general-bounces@pgpool.net">pgpool-general-bounces@pgpool.net</a>] On Behalf Of Michael Barrett [<a href="mailto:loki77@gmail.com">loki77@gmail.com</a>]<br><b>Sent:</b><span class="Apple-converted-space">&nbsp;</span>Thursday, August 30, 2012 7:00 PM<br><b>To:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br><b>Subject:</b><span class="Apple-converted-space">&nbsp;</span>[pgpool-general: 936] Issue w/ md5 auth in master/slave mode<br></font><br></div><div></div><div>Hi, I'm working on getting pgpool working in a master/slave setup using md5 authentication. &nbsp;Here's the versions of software I'm running:<div><br></div><div>pgpool-II-3.2.0</div><div>postgresql-9.1.5</div><div><br></div><div>I've setup a pool_passwd file using pg_md5 on the pgpool server for the user 'mike'. &nbsp;I've also setup the user 'mike' in the postgres database and updated pg_hba.conf to allow md5 connections from the pool host. &nbsp;As well I've setup pool_hba.conf &nbsp;with the following entry:</div><div><br></div><div>host &nbsp; &nbsp;all &nbsp; &nbsp; &nbsp; &nbsp; all &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<a href="http://127.0.0.1/32" target="_blank" style="color: rgb(17, 85, 204); ">127.0.0.1/32</a>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;md5</div><div><br></div><div>Whenever I try to connect (via psql) I get the following error:</div><div><br></div><div><div style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; color: rgb(34, 34, 34); font-size: 12px; ">psql: ERROR: &nbsp;MD5 authentication is unsupported in replication, master-slave and parallel modes.</div><div style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; color: rgb(34, 34, 34); font-size: 12px; ">HINT: &nbsp;check pg_hba.conf</div><div style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; color: rgb(34, 34, 34); font-size: 12px; "><br></div><div style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; color: rgb(34, 34, 34); font-size: 12px; ">Any idea what might be going on there? &nbsp;I don't see it attempt to auth against the postgres server at all, and I'm not sure why pgpool is saying that md5 isn't allowed with master-slave mode when it sounds like it has been able to since 3.0.</div><div style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; color: rgb(34, 34, 34); font-size: 12px; "><br></div><div style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; color: rgb(34, 34, 34); font-size: 12px; ">Thanks in advance!</div><div class="yj6qo ajU" style="padding: 10px 0px; background-color: rgb(255, 255, 255); margin: 2px 0px 0px; outline: invert none medium; width: 22px; font-family: arial, sans-serif; color: rgb(34, 34, 34); font-size: 12px; "></div></div><div><br></div>--<span class="Apple-converted-space">&nbsp;</span><br>Michael Barrett<br><br><hr><font color="gray" size="1" face="Arial">Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!<br><a href="http://www.antiterroristas.cu">http://www.antiterroristas.cu</a><br><a href="http://justiciaparaloscinco.wordpress.com">http://justiciaparaloscinco.wordpress.com</a><br></font></div></div><br><hr><font face="Arial" color="Gray" size="1">Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!<br><a href="http://www.antiterroristas.cu">http://www.antiterroristas.cu</a><br><a href="http://justiciaparaloscinco.wordpress.com">http://justiciaparaloscinco.wordpress.com</a><br></font></div></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Michael Barrett</div><div><a href="mailto:loki77@gmail.com">loki77@gmail.com</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>