From: alf@svada.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14370: pgagent_96 service typo?
Date: Fri, 14 Oct 2016 10:22:03 +0000
Message-ID: <20161014102203.1397.49877@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
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: alf@svada.com
Subject: Re: BUG #14370: pgagent_96 service typo?
In-Reply-To: <20161014102203.1397.49877@wrigleys.postgresql.org>
References: <20161014102203.1397.49877@wrigleys.postgresql.org>
* 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