I have been having difficulties trying to set up Pacemaker, CoroSync,
STONITH and DRBD on Ubuntu 14.04 LTS.

It appears that the port of dlm to Ubuntu has not taken into account the
fact that the Ubuntu distro uses  file system locations that differ from
those used by the distro where dlm was developed.

I was getting the error
/etc/init.d/dlm: 22: .: Can't open /etc/rc.d/init.d/functions
so in the /etc/init.d/dlm file I changed the line
. /etc/rc.d/init.d/functions
to
. /lib/lsb/init-functions
and that error went away.

Unfortunately I then started to get the error
Starting dlm_controld: /etc/init.d/dlm: 51: /etc/init.d/dlm: daemon: not found
which I have not been able to resolve.

After examining the /lib/lsb/init-functions file I modified the /etc/init.d/dlm 
file by changing the line
        daemon $prog $DLM_CONTROLD_OPTS
to
        start_daemon $prog $DLM_CONTROLD_OPTS
but that just resulted in the error
$Starting dlm_controld: /sbin/start-stop-daemon: unable to stat //dlm_controld 
(No such file or directory)
which is probably also due to file system differences.

Any clues?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dlm in Ubuntu.
https://bugs.launchpad.net/bugs/1248054

Title:
  dlm package installation fails

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to