Re: PGDG packaged RepMgr v5.2.1 does not create necessary directories
| От | Greg Clough |
|---|---|
| Тема | Re: PGDG packaged RepMgr v5.2.1 does not create necessary directories |
| Дата | |
| Msg-id | CADjwvTPU8Aiq=StxZncv6QwX74wmCCVHq8XkW6TpegCw3-ZfVg@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: PGDG packaged RepMgr v5.2.1 does not create necessary directories (Devrim Gündüz <devrim@gunduz.org>) |
| Ответы |
Re: PGDG packaged RepMgr v5.2.1 does not create necessary directories
|
| Список | pgsql-pkg-yum |
Hi Devrim,
When repmgr tried to start, it failed because those directories don't exist. I cleaned it up with a fresh OS install and tried the 2ndQuadrant repo packages... and these made the directories during the "yum install".
I didn't think repmgr was SUID root (but I didn't check), so it can't mkdir in /run during startup, right?
Maybe I've screwed something up here, so I'll do some more basic testing, and send you the output.
I didn't think repmgr was SUID root (but I didn't check), so it can't mkdir in /run during startup, right?
Maybe I've screwed something up here, so I'll do some more basic testing, and send you the output.
Thanks,
Greg.
On Thu, 21 Jan 2021 at 21:43, Devrim Gündüz <devrim@gunduz.org> wrote:
Hi Greg,
On Mon, 2021-01-18 at 17:27 +0000, Greg Clough wrote:
> [root@localhost ~]# ls -ald /run/repmgr /var/run/repmgr
> ls: cannot access /run/repmgr: No such file or directory
> ls: cannot access /var/run/repmgr: No such file or directory
systemd will create these directories. See:
/usr/lib/tmpfiles.d/repmgr_13.conf
What error are you getting?
Cheers,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
В списке pgsql-pkg-yum по дате отправления: