<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>consul</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/consul</string>
<string>agent</string>
<string>-config-dir</string>
<string>/etc/consul.d/client</string>
</array>
<key>RunAtLoad</key><true/>
<key>KeepAlive</key><true/>
<key>StandardOutPath</key>
<string>/var/log/consul.log</string>
<key>StandardErrorPath</key>
<string>/var/log/consul_err.log</string>
</dict>
</plist>
bootstrap_expect > 0: expecting 3 servers
==> Error starting agent: Failed to start Consul server: Failed to start Raft: mmap too large
goroutine 1 [running]:
github.com/hashicorp/consul/vendor/github.com/boltdb/bolt.(*node).spill(0xc4201d81c0, 0x10, 0x10)
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/vendor/github.com/boltdb/bolt/node.go:375 +0x715
github.com/hashicorp/consul/vendor/github.com/boltdb/bolt.(*Bucket).spill(0xc42003a0f8, 0x19c88fe, 0x2b272e0)
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/vendor/github.com/boltdb/bolt/bucket.go:570 +0x4d3
github.com/hashicorp/consul/vendor/github.com/boltdb/bolt.(*Tx).Commit(0xc42003a0e0, 0x29ba09c, 0x4)
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/vendor/github.com/boltdb/bolt/tx.go:163 +0x129
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft-boltdb/bolt_store.go:75 +0x134
github.com/hashicorp/consul/vendor/github.com/hashicorp/raft-boltdb.NewBoltStore(0xc420504240, 0x18, 0x2, 0xc420504240, 0x18)
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft-boltdb/bolt_store.go:51 +0xc4
github.com/hashicorp/consul/agent/consul.(*Server).setupRaft(0xc4203c2f00, 0x0, 0x0)
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/agent/consul/server.go:488 +0xaa5
github.com/hashicorp/consul/agent/consul.NewServerLogger(0xc42008b180, 0xc420461860, 0xc4203aaf60, 0x0, 0xc420461860, 0xc4203b2c00)
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/agent/consul/server.go:333 +0xcb9
github.com/hashicorp/consul/agent.(*Agent).Start(0xc420342a80, 0xc420342a80, 0x0)
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/agent/agent.go:292 +0x2ed
github.com/hashicorp/consul/command/agent.(*cmd).run(0xc4202ab000, 0xc42000e1a0, 0x2, 0x2, 0x0)
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/command/agent/agent.go:337 +0x414
github.com/hashicorp/consul/command/agent.(*cmd).Run(0xc4202ab000, 0xc42000e1a0, 0x2, 0x2, 0xc4202adee0)
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/command/agent/agent.go:77 +0x50
github.com/hashicorp/consul/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc4201c8ea0, 0xc4201c8ea0, 0x40, 0xc4202b6340)
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/vendor/github.com/mitchellh/cli/cli.go:242 +0x1eb
main.realMain(0x1c48687)
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/main.go:52 +0x416
main.main()
/private/tmp/consul-20180209-96398-sbh1rs/src/github.com/hashicorp/consul/main.go:19 +0x22
bootstrap_expect > 0: expecting 3 servers
panic: pgid (206158430208) above high water mark (8390)
consul join <ip-address-ubuntu>
Error joining address '<ip-address-ubuntu>': Put http://127.0.0.1:8500/v1/agent/join/10.1.10.196: dial tcp 127.0.0.1:8500: getsockopt: connection refused
Failed to join any nodes.
Error retrieving members: Get http://127.0.0.1:8500/v1/agent/members?segment=_all: dial tcp 127.0.0.1:8500: getsockopt: connection refused
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
Community chat: https://gitter.im/hashicorp-consul/Lobby
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/821013ff-5dfc-4f9e-b8fe-c906baa60482%40googlegroups.com.
Hey Kasper, no worries about stating the obvious - I'm very new to all this so any help is appreciated!I don't believe it is firewall issues, because both mac's have the firewall turned off, and the ubuntu server didn't get affected by the powercut? (unless I'm missing something else?)
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
Community chat: https://gitter.im/hashicorp-consul/Lobby
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/f7efceb0-8870-41b9-afe8-c3d727db34bc%40googlegroups.com.
Trying <ip-address-mac2>...
telnet: connect to address <ip-address-mac2>: Connection refused
telnet: Unable to connect to remote host
And this result happens across all servers (with the different IPs).
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
Community chat: https://gitter.im/hashicorp-consul/Lobby
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/175f35d6-0fb2-4ea5-8d8e-7e22aee39bb8%40googlegroups.com.
telnet localhost 8500
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
I'm getting slightly lost, as isn't this the expected outcome? Consul is currently failing to start/connect to the server, and I'm unable to run any consul commands on both mac-mini's, with the errors logged in consul_err.log being:
Mac 1
--------
bootstrap_expect > 0: expecting 3 servers
==> Error starting agent: Failed to start Consul server: Failed to start Raft: mmap too large
--> the raft.db file thinks it is 562.95 TB large, but if I get more info, it's only 34.4MB on disk... Which I suppose explains the error "Failed to start Raft: mmap too large" although apart from deleting it, I'm not sure what else to do with this?
Mac 2