Changed /etc/init.d/ctdb
pidfile="/var/run/ctdb/ctdbd.pid"  to pidfile="/run/ctdb/ctdbd.pid"

Then

sudo systemctl edit ctdb

[Service]
ExecStartPre=/bin/mkdir -p /run/ctdb

And it will work upon reboot as well.  (/run is deleted every reboot)
Still seems to be looking for /var/run in the logs though.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821775

Title:
  ctdb cannot create PID file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ctdb/+bug/1821775/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to