<div dir="ltr">ok, the pidfile is in the pgpool conf file. I had to use the same file in the init script and in the pgpool conf file.<br>Now it&#39;s ok :)<br>Thanks<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-05-12 13:03 GMT+02:00 adrien nayrat <span dir="ltr">&lt;<a href="mailto:adrien.nayrat.axess@gmail.com" target="_blank">adrien.nayrat.axess@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Yugo,<br><br>Thanks for your reply. I can&#39;t directly apply your patch because I have customed the init script for my company (we start several instances of pgpool).<br>I apply some changes and I think the $pidfile is never written in your patch?<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-12 12:10 GMT+02:00 Yugo Nagata <span dir="ltr">&lt;<a href="mailto:nagata@sraoss.co.jp" target="_blank">nagata@sraoss.co.jp</a>&gt;</span>:<div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
pgpool.init has some problems especially in stop and restart.<br>
I&#39;m fixing this and attach the patche. Could you please try this?<br>
<br>
Please see [pgpool-general: 2793] Re: redhat pgpool.init script<br>
in details.<br>
<div><br>
<br>
On Mon, 12 May 2014 11:57:03 +0200<br>
adrien nayrat &lt;<a href="mailto:adrien.nayrat.axess@gmail.com" target="_blank">adrien.nayrat.axess@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have an issue with pgpool, when I stop the service &quot;/etc/init.d/pgpool<br>
&gt; stop&quot;. It seems that pgpool don&#39;t remove the socket and pidfile<br>
&gt; Then, when I wan&#39;t to restart pgpool I have this message in the log<br>
&gt; &quot;pid file found but it seems bogus. Trying to start pgpool anyway...&quot;<br>
&gt;<br>
&gt;<br>
</div>&gt;    1. Pgpool running<br>
&gt;    2. Stop pgpool (The socket and pid file are not deleted)<br>
&gt;    3. First start =&gt; &quot;pid file found but it seems bogus. Trying to start<br>
<div>&gt;    pgpool anyway..&quot; -&gt; Sockets and pid file are deleted<br>
</div>&gt;    4. Second start, pgpool run successfully<br>
<div><div>&gt;<br>
&gt;<br>
&gt; Any idea?<br>
&gt; Thanks a lot :)<br>
&gt;<br>
&gt; pgpool-II version 3.3.3 (tokakiboshi)<br>
&gt; CentOS release 6.5 (Final)<br>
<br>
<br>
</div></div><span><font color="#888888">--<br>
Yugo Nagata &lt;<a href="mailto:nagata@sraoss.co.jp" target="_blank">nagata@sraoss.co.jp</a>&gt;<br>
</font></span></blockquote></div></div></div><br></div>
</blockquote></div><br></div>