No the IP doesn&#39;t come up. <br><br><div class="gmail_quote">On 6 November 2012 11:06, Yugo Nagata <span dir="ltr">&lt;<a href="mailto:nagata@sraoss.co.jp" target="_blank">nagata@sraoss.co.jp</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dose the virtual ip is bringing up on the scond pgpool server?<br>
<div><div class="h5"><br>
On Tue, 6 Nov 2012 10:59:16 +0000<br>
Will Ferguson &lt;<a href="mailto:will.ferguson@vyre.com">will.ferguson@vyre.com</a>&gt; wrote:<br>
<br>
&gt; Thanks but leaving the first pgpool instance running for hours before<br>
&gt; starting the second still doesn&#39;t help. Strange that it is fine the other<br>
&gt; way around. I&#39;ll keep my eye out for the fix.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Will<br>
&gt;<br>
&gt; On 6 November 2012 00:20, Yugo Nagata &lt;<a href="mailto:nagata@sraoss.co.jp">nagata@sraoss.co.jp</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Wait a few seconds after the first pgpool has started.<br>
&gt; &gt; Then, you would be able to start the second successfully.<br>
&gt; &gt;<br>
&gt; &gt; I recognize this problem and am trying to resolve it.<br>
&gt; &gt;<br>
&gt; &gt; On Mon, 5 Nov 2012 07:07:25 -0800<br>
&gt; &gt; Lonni J Friedman &lt;<a href="mailto:netllama@gmail.com">netllama@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; I&#39;ve seen this happen often a well.  I&#39;m guessing that there&#39;s a race<br>
&gt; &gt; &gt; condition somewhere.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Mon, Nov 5, 2012 at 7:00 AM, Will Ferguson &lt;<a href="mailto:will.ferguson@vyre.com">will.ferguson@vyre.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt; Hello<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I have two pgpool servers: will-pgpool1 &amp; will-pgpool2 with watchdog<br>
&gt; &gt; enabled<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I can start will-pgpool2 first which takes the virtual IP, and then<br>
&gt; &gt; start<br>
&gt; &gt; &gt; &gt; will-pgpool1 and all works fine.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; But if I start will-pgpool1 first which takes the virtual IP, and then<br>
&gt; &gt; start<br>
&gt; &gt; &gt; &gt; will-pgpool2 the pgpool2 server doesn&#39;t start.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Both pgpool.conf files are the same except wd_hostname and<br>
&gt; &gt; &gt; &gt; other_pgpool_hostname0<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Both instances are started as root with -d -n<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Below is the log debug output.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Thanks,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Will<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: listen_addresses<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;*&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: port<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 9999 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: socket_dir<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;/tmp&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: pcp_port<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 9898 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: pcp_socket_dir<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;/tmp&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_hostname0<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;will-db1&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_port0<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 5432 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: port slot number 0<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_weight0<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 1 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: weight slot number 0<br>
&gt; &gt; &gt; &gt; weight: 1.000000<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_data_directory0<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;/data/postgres&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_flag0<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;ALLOW_TO_FAILOVER&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: extract_string_tokens: token:<br>
&gt; &gt; &gt; &gt; ALLOW_TO_FAILOVER<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: allow_to_failover on<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: slot number 0 flag:<br>
&gt; &gt; 0000<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_hostname1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;will-db2&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_port1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 5432 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: port slot number 1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_weight1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 1 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: weight slot number 1<br>
&gt; &gt; &gt; &gt; weight: 1.000000<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_data_directory1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;/data/postgres&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_flag1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;ALLOW_TO_FAILOVER&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: extract_string_tokens: token:<br>
&gt; &gt; &gt; &gt; ALLOW_TO_FAILOVER<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: allow_to_failover on<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: slot number 1 flag:<br>
&gt; &gt; 0000<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_hostname2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;will-db3&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_port2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 5432 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: port slot number 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_weight2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 1 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: weight slot number 2<br>
&gt; &gt; &gt; &gt; weight: 1.000000<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_data_directory2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;/data/postgres&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: backend_flag2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;ALLOW_TO_FAILOVER&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: extract_string_tokens: token:<br>
&gt; &gt; &gt; &gt; ALLOW_TO_FAILOVER<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: allow_to_failover on<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: pool_config: slot number 2 flag:<br>
&gt; &gt; 0000<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: enable_pool_hba<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: on kind: 1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: authentication_timeout<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 60 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: ssl<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: off kind: 1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: num_init_children<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 32 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: max_pool<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 4 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: child_life_time<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 300 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: child_max_connections<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 0 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: connection_life_time<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 0 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: client_idle_limit<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 0 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: log_destination<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;stderr&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: print_timestamp<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: on kind: 1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: log_connections<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: off kind: 1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: log_hostname<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: on kind: 1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: log_statement<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: off kind: 1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: log_per_node_statement<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: off kind: 1<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: w<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value:<br>
&gt; &gt; &gt; &gt;  kind: 7<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: log_standby_delay<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;always&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: syslog_facility<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;LOCAL0&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: syslog_ident<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: &#39;pgpool&#39; kind: 4<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: key: debug_level<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: value: 0 kind: 2<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 DEBUG: pid 2145: loading<br>
&gt; &gt; &quot;/usr/local/etc/pool_hba.conf&quot;<br>
&gt; &gt; &gt; &gt; for client authentication configuration file<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 LOG:   pid 2145: wd_chk_sticky:<br>
&gt; &gt; ifup[/sbin/ifconfig]<br>
&gt; &gt; &gt; &gt; doesn&#39;t have sticky bit<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:40 LOG:   pid 2145: wd_create_send_socket: connect()<br>
&gt; &gt; &gt; &gt; reports failure (Connection refused). You can safely ignore this while<br>
&gt; &gt; &gt; &gt; starting up.<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:42 ERROR: pid 2145: wd_init: delegate_IP already<br>
&gt; &gt; exists<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:42 ERROR: pid 2145: watchdog: wd_init failed<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:42 ERROR: pid 2145: wd_main error<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:42 ERROR: pid 2145: unlink(/tmp/.s.PGSQL.9898)<br>
&gt; &gt; failed: No<br>
&gt; &gt; &gt; &gt; such file or directory<br>
&gt; &gt; &gt; &gt; 2012-11-05 14:58:42 DEBUG: pid 2145: shmem_exit(1)<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; pgpool-general mailing list<br>
&gt; &gt; &gt; <a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
&gt; &gt; &gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Yugo Nagata &lt;<a href="mailto:nagata@sraoss.co.jp">nagata@sraoss.co.jp</a>&gt;<br>
&gt; &gt;<br>
&gt;<br></div></div><span class="HOEnZb"><font color="#888888">--<br>
Yugo Nagata &lt;<a href="mailto:nagata@sraoss.co.jp">nagata@sraoss.co.jp</a>&gt;<br>
</font></span></blockquote></div><br>