I’m following along with the getting started guide and am on an M1 Mac using macos 13.4
After installing the package FoundationDB-7.3.4_arm64.pkg I can see the processes running but fdbcli reports The database is unavailable. If I issue the status command then I get Could not communicate with a quorum of coordination servers along with the host/port being unreachable.
Looking at foundationdb.conf and fdb.cluster seems fine so I’m not sure where to start in troubleshooting here. Any tips would be appreciated!
Edit: adding that running lsof -PiTCP -sTCP:LISTEN does not show the port despite ps aux showing a process for: /usr/local/libexec/fdbserver --cluster-file /usr/local/etc/foundationdb/fdb.cluster --datadir /usr/local/foundationdb/data/4689 --listen-address
fdb> status details
Using cluster file `/usr/local/etc/foundationdb/fdb.cluster'.
Could not communicate with a quorum of coordination servers:
127.0.0.1:4689 (unreachable)
As mentioned, I can see the three processes running but nothing is actively listening on port 4689 on this machine. foundationdb.conf and fdb.cluster are default as below.
foundationdb.conf
## foundationdb.conf
##
## Configuration file for FoundationDB server processes
## Full documentation is available at
## https://apple.github.io/foundationdb/configuration.html#the-configuration-file
[general]
restart-delay = 60
## by default, restart-backoff = restart-delay-reset-interval = restart-delay
# initial-restart-delay = 0
# restart-backoff = 60
# restart-delay-reset-interval = 60
cluster-file = /usr/local/etc/foundationdb/fdb.cluster
# kill-on-configuration-change = true
## Default parameters for individual fdbserver processes
[fdbserver]
command = /usr/local/libexec/fdbserver
public-address = auto:$ID
listen-address = public
datadir = /usr/local/foundationdb/data/$ID
logdir = /usr/local/foundationdb/logs
# logsize = 10MiB
# maxlogssize = 100MiB
# machine-id =
# datacenter-id =
# class =
# memory = 8GiB
# storage-memory = 1GiB
# cache-memory = 2GiB
# metrics-cluster =
# metrics-prefix =
## An individual fdbserver process with id 4689
## Parameters set here override defaults from the [fdbserver] section
[fdbserver.4689]
[backup_agent]
command = /usr/local/foundationdb/backup_agent/backup_agent
logdir = /usr/local/foundationdb/logs
[backup_agent.1]
For extra info, here’s the trace output during process start. I’ve only included the section where it attempts to connect and fails. The same sequence then repeats itself continuously.