By: Jeff E Mandel user 26 Oct 2018 at 10:35 a.m. CDT

2 Responses
Jeff E Mandel gravatar
This refers back to the earlier ticket I had on cred-manager not surviving reboot. The problem is that the init.d files all need some help. This was pointed out in afroDC's post https://github.com/GluuFederation/community-edition-setup/issues/410. The first thing is to put the proper LSB block into /etc/init.d/opendj. Having fixed this, running `update-rc.d cred-manager defaults` works, but results in the wrong order of service activation, because Ubuntu 16.04 use a new approach to determining the order in which services are started, and picks the wrong order resulting in a nonfunctional setup unless you enable legacy mode. The solution is to edit the init.d files and set the Required-Start: line to coerce the order: ``` File: dependency cred-manager: oxauth oxauth: identity identity: opendj ``` This gives the following order in rc3.d: S03opendj -> ../init.d/opendj ``` S04identity -> ../init.d/identity S05oxauth -> ../init.d/oxauth S06cred-manager -> ../init.d/cred-manager ``` The server now starts up properly

By William Lowe user 26 Oct 2018 at 10:39 a.m. CDT

William Lowe gravatar
Thanks! Assigning to Jose for review. Just a note, we're getting ready to deprecate Cred Manager once we release the new and improved app called Casa, where we re-architected the platform to be plugin-oriented.

By William Lowe user 19 Nov 2018 at 8:15 a.m. CST

William Lowe gravatar
Hi Jeff, Closing this out for now. Thanks, Will