Em..weird. This is the only log that I can find in the 192.168.1.136 postgresql database.<div><br></div><div>And when I click the recovery button, it still running as primary server</div><div><br></div><div>Aside from that,I could not find ANY log for pgpool server.</div>
<div><br></div><div>The default folder on pgpool server is on /var/log/pgpool/  am I right?</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Fri, Nov 9, 2012 at 3:32 PM, Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im HOEnZb">Unfortunately this is not the log I wanted.  Can you try online<br>
recovery again and send the standby PostgreSQL log?<br>
</div><div class="HOEnZb"><div class="h5">--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_is_in_recovery()<br>
&gt; LOG:  statement: SELECT pg_is_in_recovery()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_is_in_recovery()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_is_in_recovery()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_is_in_recovery()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_is_in_recovery()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_is_in_recovery()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_is_in_recovery()<br>
&gt; .<br>
&gt; .<br>
&gt; .<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt; LOG:  statement: SELECT pg_last_xlog_replay_location()<br>
&gt;<br>
&gt; That is for today&#39;s logs.<br>
&gt; And the output is similar to any other date since I&#39;m setting this<br>
&gt; postgresql with pgpool.<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Nov 9, 2012 at 2:55 PM, Tatsuo Ishii &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; It seems PostgreSQL on 192.168.1.136 accidentaly started up as a<br>
&gt;&gt; primary server.  Can you show us PostgreSQL log when it came up?<br>
&gt;&gt; -<br>
&gt;&gt; Tatsuo Ishii<br>
&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt;<br>
&gt;&gt; &gt; Hi Tatsuo san,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Anyway I&#39;ve already figured out the problem.<br>
&gt;&gt; &gt; It seems that I&#39;ve mistakenly configured wrong setting in pgpool conf.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; But new problem arise when I&#39;m solving this problem.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; IP Address           Port    Status<br>
&gt;&gt; &gt;                                     Weight<br>
&gt;&gt; &gt; 192.168.1.134      5432     UP.DISCONNECT.RUNNING AS PRIMARY SERVER<br>
&gt;&gt; &gt;  0.500<br>
&gt;&gt; &gt; 192.168.1.136      5432     UP.DISCONNECT.RUNNING AS PRIMARY SERVER<br>
&gt;&gt; &gt;  0.500<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I want to make  the postgreSQL in 192.168.1.134 as primary server whereas<br>
&gt;&gt; &gt; the 192.168.1.136 as standby server.<br>
&gt;&gt; &gt; I&#39;m using master/slave stream replication and follow exactly as your<br>
&gt;&gt; &gt; documentation here (exclude the hostname and pasword) :<br>
&gt;&gt; &gt;<br>
&gt;&gt; <a href="http://www.pgpool.net/pgpool-web/contrib_docs/simple_sr_setting2/index.html" target="_blank">http://www.pgpool.net/pgpool-web/contrib_docs/simple_sr_setting2/index.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Can you help me.Why it is showing this status?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Fri, Nov 9, 2012 at 1:00 PM, Tatsuo Ishii &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Hi all,<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; I&#39;m facing new problem when configuring my pgpoolAdmin-3.2.1<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; When I go to the node info it show the this status :<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; IP Address           Port    Status   Weight<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; 192.168.1.134      5432     UP        0.500<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; When I click the disconnect button, it show this status :<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; IP Address           Port    Status   Weight<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; 192.168.1.134      5432     DOWN        0.500<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; But when I click the recovery button, it showing this kind of error<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Error Code  e1010<br>
&gt;&gt; &gt;&gt; &gt; Error Message pcp_attach_node command error occurred.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Can someone explain what might cause this to happened?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Please make sure that PostgreSQL on 192.168.1.134 is up and<br>
&gt;&gt; &gt;&gt; running. If you are sure, please show us the pgpool log and PostgreSQL<br>
&gt;&gt; &gt;&gt; log of 192.168.1.134.<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; Tatsuo Ishii<br>
&gt;&gt; &gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; &gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; &gt;&gt; Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt;<br>
</div></div></blockquote></div><br></div>