Issue
Service Won't Start Due to Missing sudo/su
Cause
The sudo
and/or su
commands might not be available on some flavors of Linux. However, this is a simple issue to resolve.
For example, the runuser
command is the default on the default installation of Amazon Linux within AWS, but it isn't an option during the installation. While Contrast makes an effort to support as many environments as possible with our Enterprise On-Premises (EOP) product, it's impossible to predict every potential scenario and test it internally.
Resolution
You can resolve this issue by either installing sudo
or su
on your target server. If that's not an option, you can edit the $CONTRAST_HOME/bin/contrast-server.initd
script directly and update it to reflect your environment.