I’m trying to get a cluster up and running keep failing at starting the service, my configuration is passing and I’m getting this when trying to start the service :
ubuntu@ip-10-0-1-228:~/gh/machine-deployment/consul-hashicorp$ sudo consul validate /etc/consul.d/consul.hcl
Configuration is valid!
ubuntu@ip-10-0-1-228:~/gh/machine-deployment/consul-hashicorp$ sudo systemctl start consul
Job for consul.service failed because the control process exited with error code.
See “systemctl status consul.service” and “journalctl -xe” for details.
ubuntu@ip-10-0-1-228:~/gh/machine-deployment/consul-hashicorp$ journalctl -xe
Jul 26 13:31:44 ip-10-0-1-228 systemd[1]: Failed to start “HashiCorp Consul - A service mesh solution”.
– Subject: Unit consul.service has failed
– Defined-By: systemd
– Support: http://www.ubuntu.com/support
– Unit consul.service has failed.
– The result is RESULT.
Jul 26 13:31:44 ip-10-0-1-228 systemd[1]: consul.service: Service hold-off time over, scheduling restart.
Jul 26 13:31:44 ip-10-0-1-228 systemd[1]: consul.service: Scheduled restart job, restart counter is at 5.
– Subject: Automatic restarting of a unit has been scheduled
– Defined-By: systemd
– Support: http://www.ubuntu.com/support
– Automatic restarting of the unit consul.service has been scheduled, as the result for
– the configured Restart= setting for the unit.
Are there any other places to check where the failure is ?
I’m using the systemd unit file from https://learn.hashicorp.com/consul/datacenter-deploy/deployment-guide#download-consul