Re: BUG #14370: pgagent_96 service typo?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #14370: pgagent_96 service typo?
Дата
Msg-id 20161019150523.GG5087@momjian.us
обсуждение исходный текст
Ответ на BUG #14370: pgagent_96 service typo?  (alf@svada.com)
Список pgsql-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 +

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Rader, David"
Дата:
Сообщение: Re: BUG #14382: System.TypeLoadException: Failure has occurred while loading a type
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #14373: PostgreSQL Service is seems to be "Stopped" after Jan 19, 2038.