The contrast-server service fails to start on server reboot

  • Updated

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

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request