cogd init to check lock path