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.
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