Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwsQv-0005xL-74 for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Oct 2016 15:05:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bwsQu-0001JY-La for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Oct 2016 15:05:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bwsQt-0001HB-O2 for pgsql-bugs@postgresql.org; Wed, 19 Oct 2016 15:05:31 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bwsQm-0001uV-DH for pgsql-bugs@postgresql.org; Wed, 19 Oct 2016 15:05:30 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1bwsQl-0005z6-RS; Wed, 19 Oct 2016 11:05:23 -0400 Date: Wed, 19 Oct 2016 11:05:23 -0400 From: Bruce Momjian To: alf@svada.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14370: pgagent_96 service typo? Message-ID: <20161019150523.GG5087@momjian.us> References: <20161014102203.1397.49877@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161014102203.1397.49877@wrigleys.postgresql.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org You need to report this to the PGAdmin team: http://www.pgadmin.org/support/ Thanks. --------------------------------------------------------------------------- On Fri, Oct 14, 2016 at 10:22:03AM +0000, alf@svada.com wrote: > The following bug has been logged on the website: > > Bug reference: 14370 > Logged by: Alf Normann Klausen > Email address: alf@svada.com > PostgreSQL version: 9.6.0 > Operating system: CentOs 7 > Description: > > [root@tvm-alfkla ~]# systemctl start pgagent_96.service > Job for pgagent_96.service failed because the control process exited with > error code. See "systemctl status pgagent_96.service" and "journalctl -xe" > for details. > > [root@tvm-alfkla ~]# journalctl -u pgagent_96 > systemd[27365]: Failed at step EXEC spawning /usr/bin/pgagent_95: No such > file or directory > okt. 14 12:07:50 tvm-alfkla systemd[1]: pgagent_96.service: control process > exited, code=exited status=203 > okt. 14 12:07:50 tvm-alfkla systemd[1]: Failed to start PgAgent for > PostgreSQL 9.6. > okt. 14 12:07:50 tvm-alfkla systemd[1]: Unit pgagent_96.service entered > failed state. > okt. 14 12:07:50 tvm-alfkla systemd[1]: pgagent_96.service failed. > > > [root@tvm-alfkla ~]# grep pgagent_95 > /usr/lib/systemd/system/pgagent_96.service > Environment=LOGFILE=/var/log/pgagent_95.log > ExecStart=/usr/bin/pgagent_95 -s ${LOGFILE} hostaddr=${DBHOST} > dbname=${DBNAME} user=${DBUSER} port=${DBPORT} > ExecStop=/usr/bin/kill -TERM /usr/bin/pgagent_95 > [root@tvm-alfkla ~]# > > So the fix that works for me is: > [root@tvm-alfkla ~]# sed -i 's/pgagent_95/pgagent_96/g' > /usr/lib/systemd/system/pgagent_96.service > > [root@tvm-alfkla ~]# systemctl daemon-reload > [root@tvm-alfkla ~]# > > > -- > Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-bugs -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs