If gluu-server was stopped and started via snap , it tries to start all services even they are disabled:
$ systemctl list-unit-files | grep enabled | grep "snap.gluu-server"
snap.gluu-server.apache2.service enabled enabled
snap.gluu-server.casa.service disabled enabled
snap.gluu-server.fido2.service enabled enabled
snap.gluu-server.gluu-radius.service enabled enabled
snap.gluu-server.identity.service enabled enabled
snap.gluu-server.idp.service disabled enabled
snap.gluu-server.opendj.service enabled enabled
snap.gluu-server.oxauth-rp.service disabled enabled
snap.gluu-server.oxauth.service enabled enabled
snap.gluu-server.oxd-server.service disabled enabled
snap.gluu-server.passport.service enabled enabled
snap.gluu-server.scim.service disabled enabled
snap.gluu-server.yacron.service enabled enabled
mbaser@snap:~/gluu-snap$ sudo snap stop gluu-server
Stopped.
mbaser@snap:~/gluu-snap$ sudo snap start gluu-server
error: cannot perform the following tasks:
- start of [gluu-server.apache2 gluu-server.casa gluu-server.fido2 gluu-server.gluu-radius gluu-server.identity gluu-server.idp gluu-server.opendj gluu-server.oxauth gluu-server.oxauth-rp gluu-server.oxd-server gluu-server.passport gluu-server.scim gluu-server.yacron] (# systemctl start snap.gluu-server.apache2.service snap.gluu-server.casa.service snap.gluu-server.fido2.service snap.gluu-server.gluu-radius.service snap.gluu-server.identity.service snap.gluu-server.idp.service snap.gluu-server.opendj.service snap.gluu-server.oxauth.service snap.gluu-server.oxauth-rp.service snap.gluu-server.oxd-server.service snap.gluu-server.passport.service snap.gluu-server.scim.service snap.gluu-server.yacron.service
Job for snap.gluu-server.casa.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.casa.service" and "journalctl -xe" for details.
Job for snap.gluu-server.idp.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.idp.service" and "journalctl -xe" for details.
Job for snap.gluu-server.scim.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.scim.service" and "journalctl -xe" for details.
Job for snap.gluu-server.oxauth-rp.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.oxauth-rp.service" and "journalctl -xe" for details.
Job for snap.gluu-server.oxd-server.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.oxd-server.service" and "journalctl -xe" for details.
)
- start of [gluu-server.apache2 gluu-server.casa gluu-server.fido2 gluu-server.gluu-radius gluu-server.identity gluu-server.idp gluu-server.opendj gluu-server.oxauth gluu-server.oxauth-rp gluu-server.oxd-server gluu-server.passport gluu-server.scim gluu-server.yacron] (exit status 1)
mbaser@snap:~$ sudo snap services gluu-server
Service Startup Current Notes
gluu-server.apache2 enabled active -
gluu-server.casa disabled inactive -
gluu-server.fido2 disabled inactive -
gluu-server.gluu-radius disabled inactive -
gluu-server.identity enabled active -
gluu-server.idp disabled inactive -
gluu-server.opendj enabled active -
gluu-server.oxauth enabled active -
gluu-server.oxauth-rp disabled inactive -
gluu-server.oxd-server disabled inactive -
gluu-server.passport disabled inactive -
gluu-server.scim disabled inactive -
gluu-server.yacron enabled active -
mbaser@snap:~$ sudo snap stop gluu-server
Stopped.
mbaser@snap:~$ sudo snap services gluu-server
Service Startup Current Notes
gluu-server.apache2 enabled inactive -
gluu-server.casa disabled inactive -
gluu-server.fido2 disabled inactive -
gluu-server.gluu-radius disabled inactive -
gluu-server.identity enabled inactive -
gluu-server.idp disabled inactive -
gluu-server.opendj enabled inactive -
gluu-server.oxauth enabled inactive -
gluu-server.oxauth-rp disabled inactive -
gluu-server.oxd-server disabled inactive -
gluu-server.passport disabled inactive -
gluu-server.scim disabled inactive -
gluu-server.yacron enabled inactive -
mbaser@snap:~$ sudo snap start gluu-server
error: cannot perform the following tasks:
- start of [gluu-server.apache2 gluu-server.casa gluu-server.fido2 gluu-server.gluu-radius gluu-server.identity gluu-server.idp gluu-server.opendj gluu-server.oxauth gluu-server.oxauth-rp gluu-server.oxd-server gluu-server.passport gluu-server.scim gluu-server.yacron] (# systemctl start snap.gluu-server.apache2.service snap.gluu-server.casa.service snap.gluu-server.fido2.service snap.gluu-server.gluu-radius.service snap.gluu-server.identity.service snap.gluu-server.idp.service snap.gluu-server.opendj.service snap.gluu-server.oxauth.service snap.gluu-server.oxauth-rp.service snap.gluu-server.oxd-server.service snap.gluu-server.passport.service snap.gluu-server.scim.service snap.gluu-server.yacron.service
Job for snap.gluu-server.fido2.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.fido2.service" and "journalctl -xe" for details.
Job for snap.gluu-server.casa.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.casa.service" and "journalctl -xe" for details.
Job for snap.gluu-server.oxd-server.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.oxd-server.service" and "journalctl -xe" for details.
Job for snap.gluu-server.oxauth-rp.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.oxauth-rp.service" and "journalctl -xe" for details.
Job for snap.gluu-server.idp.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.idp.service" and "journalctl -xe" for details.
Job for snap.gluu-server.scim.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.scim.service" and "journalctl -xe" for details.
Job for snap.gluu-server.passport.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.passport.service" and "journalctl -xe" for details.
Job for snap.gluu-server.gluu-radius.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.gluu-radius.service" and "journalctl -xe" for details.
)
- start of [gluu-server.apache2 gluu-server.casa gluu-server.fido2 gluu-server.gluu-radius gluu-server.identity gluu-server.idp gluu-server.opendj gluu-server.oxauth gluu-server.oxauth-rp gluu-server.oxd-server gluu-server.passport gluu-server.scim gluu-server.yacron] (exit status 1)
mbaser@snap:~$ sudo snap services gluu-server
Service Startup Current Notes
gluu-server.apache2 enabled active -
gluu-server.casa disabled inactive -
gluu-server.fido2 disabled inactive -
gluu-server.gluu-radius disabled inactive -
gluu-server.identity enabled active -
gluu-server.idp disabled inactive -
gluu-server.opendj enabled active -
gluu-server.oxauth enabled active -
gluu-server.oxauth-rp disabled inactive -
gluu-server.oxd-server disabled inactive -
gluu-server.passport disabled inactive -
gluu-server.scim disabled inactive -
gluu-server.yacron enabled active -
mbaser@snap:~$ sudo snap stop gluu-server
Stopped.
mbaser@snap:~$ sudo snap services gluu-server
Service Startup Current Notes
gluu-server.apache2 enabled inactive -
gluu-server.casa disabled inactive -
gluu-server.fido2 disabled inactive -
gluu-server.gluu-radius disabled inactive -
gluu-server.identity enabled inactive -
gluu-server.idp disabled inactive -
gluu-server.opendj enabled inactive -
gluu-server.oxauth enabled inactive -
gluu-server.oxauth-rp disabled inactive -
gluu-server.oxd-server disabled inactive -
gluu-server.passport disabled inactive -
gluu-server.scim disabled inactive -
gluu-server.yacron enabled inactive -
mbaser@snap:~$ sudo snap start gluu-server
error: cannot perform the following tasks:
- start of [gluu-server.apache2 gluu-server.casa gluu-server.fido2 gluu-server.gluu-radius gluu-server.identity gluu-server.idp gluu-server.opendj gluu-server.oxauth gluu-server.oxauth-rp gluu-server.oxd-server gluu-server.passport gluu-server.scim gluu-server.yacron] (# systemctl start snap.gluu-server.apache2.service snap.gluu-server.casa.service snap.gluu-server.fido2.service snap.gluu-server.gluu-radius.service snap.gluu-server.identity.service snap.gluu-server.idp.service snap.gluu-server.opendj.service snap.gluu-server.oxauth.service snap.gluu-server.oxauth-rp.service snap.gluu-server.oxd-server.service snap.gluu-server.passport.service snap.gluu-server.scim.service snap.gluu-server.yacron.service
Job for snap.gluu-server.oxauth-rp.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.oxauth-rp.service" and "journalctl -xe" for details.
Job for snap.gluu-server.oxd-server.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.oxd-server.service" and "journalctl -xe" for details.
Job for snap.gluu-server.scim.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.scim.service" and "journalctl -xe" for details.
Job for snap.gluu-server.idp.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.idp.service" and "journalctl -xe" for details.
Job for snap.gluu-server.gluu-radius.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.gluu-radius.service" and "journalctl -xe" for details.
Job for snap.gluu-server.fido2.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.fido2.service" and "journalctl -xe" for details.
Job for snap.gluu-server.casa.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.casa.service" and "journalctl -xe" for details.
Job for snap.gluu-server.passport.service failed because the control process exited with error code.
See "systemctl status snap.gluu-server.passport.service" and "journalctl -xe" for details.
)
- start of [gluu-server.apache2 gluu-server.casa gluu-server.fido2 gluu-server.gluu-radius gluu-server.identity gluu-server.idp gluu-server.opendj gluu-server.oxauth gluu-server.oxauth-rp gluu-server.oxd-server gluu-server.passport gluu-server.scim gluu-server.yacron] (exit status 1)
mbaser@snap:~$ sudo snap services gluu-server
Service Startup Current Notes
gluu-server.apache2 enabled active -
gluu-server.casa disabled inactive -
gluu-server.fido2 disabled inactive -
gluu-server.gluu-radius disabled inactive -
gluu-server.identity enabled active -
gluu-server.idp disabled inactive -
gluu-server.opendj enabled active -
gluu-server.oxauth enabled active -
gluu-server.oxauth-rp disabled inactive -
gluu-server.oxd-server disabled inactive -
gluu-server.passport disabled inactive -
gluu-server.scim disabled inactive -
gluu-server.yacron enabled active -