[pgpool-general: 2820] Re: pgpool 3.3.3 don't remove socket and pid after stop

adrien nayrat adrien.nayrat.axess at gmail.com
Mon May 12 20:59:25 JST 2014


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.
Now it's ok :)
Thanks


2014-05-12 13:03 GMT+02:00 adrien nayrat <adrien.nayrat.axess at gmail.com>:

> Yugo,
>
> Thanks for your reply. I can't directly apply your patch because I have
> customed the init script for my company (we start several instances of
> pgpool).
> I apply some changes and I think the $pidfile is never written in your
> patch?
>
>
> 2014-05-12 12:10 GMT+02:00 Yugo Nagata <nagata at sraoss.co.jp>:
>
> Hi,
>>
>> pgpool.init has some problems especially in stop and restart.
>> I'm fixing this and attach the patche. Could you please try this?
>>
>> Please see [pgpool-general: 2793] Re: redhat pgpool.init script
>> in details.
>>
>>
>> On Mon, 12 May 2014 11:57:03 +0200
>> adrien nayrat <adrien.nayrat.axess at gmail.com> wrote:
>>
>> > Hi,
>> >
>> > I have an issue with pgpool, when I stop the service "/etc/init.d/pgpool
>> > stop". It seems that pgpool don't remove the socket and pidfile
>> > Then, when I wan't to restart pgpool I have this message in the log
>> > "pid file found but it seems bogus. Trying to start pgpool anyway..."
>> >
>> >
>> >    1. Pgpool running
>> >    2. Stop pgpool (The socket and pid file are not deleted)
>> >    3. First start => "pid file found but it seems bogus. Trying to start
>> >    pgpool anyway.." -> Sockets and pid file are deleted
>> >    4. Second start, pgpool run successfully
>> >
>> >
>> > Any idea?
>> > Thanks a lot :)
>> >
>> > pgpool-II version 3.3.3 (tokakiboshi)
>> > CentOS release 6.5 (Final)
>>
>>
>> --
>> Yugo Nagata <nagata at sraoss.co.jp>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20140512/ef454a92/attachment.html>


More information about the pgpool-general mailing list