Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fRpZd-0006jQ-O6 for pgsql-general@arkaria.postgresql.org; Sun, 10 Jun 2018 01:55:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fRpZc-000364-Ai for pgsql-general@arkaria.postgresql.org; Sun, 10 Jun 2018 01:55:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fRpZc-00035n-2Y for pgsql-general@lists.postgresql.org; Sun, 10 Jun 2018 01:55:16 +0000 Received: from sraihb2.sra.co.jp ([202.32.10.6]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fRpZS-0000Vq-4x for pgsql-general@lists.postgresql.org; Sun, 10 Jun 2018 01:55:15 +0000 Received: from srascf.sra.co.jp (srascf [133.137.8.80]) by sraihb2.sra.co.jp (Postfix) with ESMTP id 9BD852A3954 for ; Sun, 10 Jun 2018 10:55:02 +0900 (JST) Received: from srascb.sra.co.jp (unknown [133.137.8.65]) by srascf.sra.co.jp with smtp id 30b5_06fb_2d711ba5_5651_4dd3_aac6_8be0f42305c9; Sun, 10 Jun 2018 10:55:02 +0900 Received: from sranhm.sra.co.jp (osspc25 [133.137.174.97]) by srascb.sra.co.jp (Postfix) with ESMTP id 568452D6943 for ; Sun, 10 Jun 2018 10:55:02 +0900 (JST) Received: from DESKTOP-CV3FL35 (sraihg-115.sra.co.jp [133.137.9.115]) by sranhm.sra.co.jp (Postfix) with SMTP id 30A83A11E9; Sun, 10 Jun 2018 10:55:02 +0900 (JST) Date: Sun, 10 Jun 2018 10:55:01 +0900 From: Bo Peng To: Jean Claude Cc: pgsql-general@lists.postgresql.org Subject: Re: Service pgpool Message-Id: <20180610105501.a48b0ba0c0fc36715b6459e7@sraoss.co.jp> In-Reply-To: References: <20180608112219.77fdd5fc56ae3fdf85753c1b@sraoss.co.jp> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.23; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, > Jun 08 04:40:17 asa-pgpool02 pgpool-II-10[30787]: Starting pgpool-II-10 > service: pgpool is already running with pid 4285 [FAILED] It seemed like Pgpool-II is already started. Did you start Pgpool-II twice? Also may I ask some questions? - How did you install Pgpool-II, using source code or RPM packages? - If you installed Pgpool-II by using RPM packages, did you use the RPM packages from PGDG repository provided by PostgreSQL community or from pgpool yum repository provided by Pgpool-II community? - Could you provide the RPM package name? - How did you start Pgpool-II? It seemed like you started Pgpool-II with systemd, but the init script is used. Normally on RHEL 7.x the systemd service is used to start a service. On Fri, 8 Jun 2018 10:47:34 +0200 Jean Claude wrote: > Hi Bo Peng, > > Thank you for your feedback. > > You can find the status of my service below : > > [root@asa-pgpool02 tmp]# systemctl status pgpool-II-10.service > ● pgpool-II-10.service - SYSV: Starts and stops the pgpool daemon > Loaded: loaded (/etc/rc.d/init.d/pgpool-II-10; bad; vendor preset: > disabled) > Active: failed (Result: exit-code) since Fri 2018-06-08 04:40:17 EDT; > 5min ago > Docs: man:systemd-sysv-generator(8) > Process: 30787 ExecStart=/etc/rc.d/init.d/pgpool-II-10 start > (code=exited, status=1/FAILURE) > > Jun 08 04:40:17 asa-pgpool02 systemd[1]: Starting SYSV: Starts and stops > the pgpool daemon... > Jun 08 04:40:17 asa-pgpool02 pgpool-II-10[30787]: Starting pgpool-II-10 > service: pgpool is already running with pid 4285 [FAILED] > Jun 08 04:40:17 asa-pgpool02 systemd[1]: pgpool-II-10.service: control > process exited, code=exited status=1 > Jun 08 04:40:17 asa-pgpool02 systemd[1]: Failed to start SYSV: Starts and > stops the pgpool daemon. > Jun 08 04:40:17 asa-pgpool02 systemd[1]: Unit pgpool-II-10.service entered > failed state. > Jun 08 04:40:17 asa-pgpool02 systemd[1]: pgpool-II-10.service failed. > [root@asa-pgpool02 tmp]# > > Thanks > > > > 2018-06-08 4:22 GMT+02:00 Bo Peng : > > > Hi, > > > > > below my problem about daemon : > > > > > > Jun 07 14:06:45 vm02 systemd[1]: Failed to start SYSV: Starts and stops > > the pgpool daemon. > > > Jun 07 14:06:45 vm02 systemd[1]: Unit pgpool-II-10.service entered > > failed state. > > > Jun 07 14:06:45 vm02 systemd[1]: pgpool-II-10.service failed. > > > > Could you show more error messages about systemd? > > > > As a common case, starting Pgpool-II failed due to > > missing the socket file directory which is specified > > in pgpool.conf. > > > > By the way as Joshua has already suggested, probably It > > would better to make questions in the Pgpool-II dedicated > > mailing list. > > > > On Thu, 7 Jun 2018 20:16:19 +0200 > > Jean Claude wrote: > > > > > Hi all, > > > > > > below my problem about daemon : > > > > > > Jun 07 14:06:45 vm02 systemd[1]: Failed to start SYSV: Starts and stops > > the > > > pgpool daemon. > > > Jun 07 14:06:45 vm02 systemd[1]: Unit pgpool-II-10.service entered failed > > > state. > > > Jun 07 14:06:45 vm02 systemd[1]: pgpool-II-10.service failed. > > > > > > Can you help me? > > > > > > Thanks a lot > > > > > > -- > > Bo Peng > > SRA OSS, Inc. Japan > > > > -- Bo Peng SRA OSS, Inc. Japan