fixed starting sequence mk_dsemon after shm_attach