Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need Consul systemd file #8

Closed
pratikbin opened this issue Apr 5, 2021 · 1 comment
Closed

need Consul systemd file #8

pratikbin opened this issue Apr 5, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@pratikbin
Copy link

Hello, @mr-karan

Kindly can you share the consul's systemd file just like you shared nomad's unit file? I'm struggling with Multiple private IP... thingy. FYI I clearing consul data directory everytime

consul.hcl

bind = "wlp0s20f3"
datacenter = "blr1"
data_dir = "/opt/consul/"
encrypt = "thisissecret"
server = true
bootstrap_expect = 1
bind_addr = "0.0.0.0"
ui = true
connect {
  enabled = true
}
Apr 05 09:38:18 ctos systemd[1]: consul.service: Scheduled restart job, restart counter is at 2.
Apr 05 09:38:18 ctos systemd[1]: Stopped "HashiCorp Consul - A service mesh solution".
Apr 05 09:38:18 ctos systemd[1]: Starting "HashiCorp Consul - A service mesh solution"...
Apr 05 09:38:18 ctos consul[50234]: ==> Multiple private IPv4 addresses found. Please configure one with 'bind' and/or 'advertise'.
Apr 05 09:38:18 ctos systemd[1]: consul.service: Main process exited, code=exited, status=1/FAILURE
Apr 05 09:38:18 ctos systemd[1]: consul.service: Failed with result 'exit-code'.
Apr 05 09:38:18 ctos systemd[1]: Failed to start "HashiCorp Consul - A service mesh solution".

@mr-karan
Copy link
Owner

mr-karan commented Apr 9, 2021

Done! a09fcc1

@mr-karan mr-karan closed this as completed Apr 9, 2021
@mr-karan mr-karan added the enhancement New feature or request label Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants