From: | alf(at)svada(dot)com |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #14370: pgagent_96 service typo? |
Date: | 2016-10-14 10:22:03 |
Message-ID: | 20161014102203.1397.49877@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 14370
Logged by: Alf Normann Klausen
Email address: alf(at)svada(dot)com
PostgreSQL version: 9.6.0
Operating system: CentOs 7
Description:
[root(at)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(at)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(at)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(at)tvm-alfkla ~]#
So the fix that works for me is:
[root(at)tvm-alfkla ~]# sed -i 's/pgagent_95/pgagent_96/g'
/usr/lib/systemd/system/pgagent_96.service
[root(at)tvm-alfkla ~]# systemctl daemon-reload
[root(at)tvm-alfkla ~]#
From | Date | Subject | |
---|---|---|---|
Next Message | kesavan.sengodan | 2016-10-14 13:49:50 | BUG #14371: Issue in uninstalling Postgres 8.4 in windows 10 OS |
Previous Message | Tom Lane | 2016-10-13 20:19:26 | Re: BUG #14364: json_populate_record doesn't accept JSON arrays |