From: Bruce Momjian <bruce@momjian.us>
To: alf@svada.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14370: pgagent_96 service typo?
Date: Wed, 19 Oct 2016 11:05:23 -0400
Message-ID: <20161019150523.GG5087@momjian.us> (raw)
In-Reply-To: <20161014102203.1397.49877@wrigleys.postgresql.org>
References: <20161014102203.1397.49877@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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 <bruce@momjian.us> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, alf@svada.com
Subject: Re: BUG #14370: pgagent_96 service typo?
In-Reply-To: <20161019150523.GG5087@momjian.us>
References: <20161014102203.1397.49877@wrigleys.postgresql.org> <20161019150523.GG5087@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox