Issue
On Linux distributions, the contrast-server
service may fail to start upon a server restart.
Run the following command from the server:
cat /var/log/messages | egrep 'contrast-server'
You may see these errors logged:
contrast-server.service: Failed to determine user credentials: No such process
contrast-server.service: Failed at step USER spawning /contrast/util/bin/systemd-start.sh: No such process
contrast-server.service: Control process exited, code=exited status=217
contrast-server.service: Failed with result 'exit-code'.
Cause
Contrast is attempting to start before the NetworkManager is up and running.
Resolution
Edit /etc/systemd/system/contrast-server.service
to add an After=
line in the [Unit]
section:
After=network-online.target