[pgpool-general-jp: 1421] Re: listen_addresses = '' で pgpool-II が起動できない

大森雄介 omori.y2001 @ gmail.com
2016年 8月 30日 (火) 18:19:00 JST


石井さん

大森です。

CentOS 6, CentOS 7 で git://git.postgresql.org/git/pgpool2.git をインストールし、
listen_address = '' でも pgpool-II が起動できることを確認いたしました。

早速のご対応ありがとうございました。


2016年8月30日 7:40 Tatsuo Ishii <ishii @ sraoss.co.jp>:

> > 石井です。
> >
> >> 大森と申します。
> >> 初めて投稿させていただきます。
> >>
> >> listen_addresses について質問させていただきます。
> >>
> >> CentOS 6, CentOS 7 に pgdg95 から RPM で pgpool-II 3.5.3 をインストールしています。
> >>
> >> http://www.pgpool.net/docs/latest/pgpool-ja.html#deploy
> >> pgpool-II を「Webサーバやアプリケーションサーバと同居」させる配置を検討しており、
> >> UNIX ドメインソケット経由のコネクションのみ受け付ければ十分と考え、
> >> listen_addresses に「''」を指定したところ pgpool-II の起動に失敗します。
> >>
> >> [設定]
> >> ---------------------
> >> listen_addresses = ''
> >> port = 9999
> >> socket_dir = '/tmp'
> >> num_init_children = 1
> >> debug_level = 1
> >> ---------------------
> >>
> >> [ログ]
> >> ------------------------------------------------------------
> ----------------------------------------
> >> 2016-08-25 17:58:35: pid 2170: FATAL:  unable to set options on socket
> >> 2016-08-25 17:58:35: pid 2170: DETAIL:  fcntl system call failed with
> error
> >> "Bad file descriptor"
> >> 2016-08-25 17:58:35: pid 2168: LOG:  pgpool-II successfully started.
> >> version 3.5.3 (ekieboshi)
> >> 2016-08-25 17:58:35: pid 2168: LOG:  child process with pid: 2170 exits
> >> with status 768
> >> 2016-08-25 17:58:35: pid 2168: FATAL:  child process exit with fatal
> error.
> >> exiting pgpool-II
> >> 2016-08-25 17:58:35: pid 2173: FATAL:  unable to set options on socket
> >> 2016-08-25 17:58:35: pid 2173: DETAIL:  fcntl system call failed with
> error
> >> "Bad file descriptor"
> >> ------------------------------------------------------------
> ----------------------------------------
> >>
> >> listen_addresses に「*」や「localhost」などを指定した場合は pgpool-II が起動出来ており、
> >> TCP/IP でも UNIX ドメインソケットでも接続出来ています。
> >>
> >> マニュアルに「''」を指定する説明が記載されているものの、「''」は非対応であるのか、
> >> それともほかの設定に不備があるのか判断できずにおります。
> >
> > バグだと思うので、Bug trackに追加しておきました。
> >
> > http://www.pgpool.net/mantisbt/view.php?id=237
> >
> >> 設定等で確認すべき点があればご教授いただけますと幸いです。
> >> よろしくお願いいたします。
> >
> > 申し訳ありませんが、バグが修正されるまでは、listen_addresses に
> > 「localhost」を指定して運用ください。
>
> 早速修正されたのでご確認ください。
>
> http://www.pgpool.net/mantisbt/view.php?id=237
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
> English: http://www.sraoss.co.jp/index_en.php
> Japanese:http://www.sraoss.co.jp
>
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://www.sraoss.jp/pipermail/pgpool-general-jp/attachments/20160830/08e42c39/attachment-0001.html>


pgpool-general-jp メーリングリストの案内