I am encountering the following errors in fdbcli after updating my fdb version to 7.1.28 with pkg, https://github.com/apple/foundationdb/releases/download/7.1.28/FoundationDB-7.1.28_x86_64.pkg.
fdbcli
Using cluster file `/usr/local/etc/foundationdb/fdb.cluster’.
The database is unavailable; type `status’ for more information.
Welcome to the fdbcli. For help, type `help’.
fdb> status
Using cluster file `/usr/local/etc/foundationdb/fdb.cluster’.
Could not communicate with a quorum of coordination servers:
127.0.0.1:4689 (unreachable)
I have tried completely uninstalling and reinstalling with different pkg versions, and also running the following;
fdb> configure ssd single
WARNING: Long delay (Ctrl-C to interrupt)
The database is unavailable; type `status’ for more information.
ERROR: The database is unavailable
Type `configure FORCE <TOKEN…>’ to configure without this check
jzhou
(Jingyu Zhou)
2
is this an empty database? If so, try the command: configure new single ssd
to create one.
Yes, since I completely uninstalled and reinstalled database, this should be empty.
Running configure new single ssd
remains stuck at the following:
fdb> configure new single ssd
WARNING: Long delay (Ctrl-C to interrupt)
The database is unavailable; type `status’ for more information.
jzhou
(Jingyu Zhou)
4
do you have a fdbserver
process listening on this port?
I don’t see any fdbserver
processes running on this port, lsof -i :4689
returns no processes
jzhou
(Jingyu Zhou)
6
that’s the problem. you need to run one with that port.
I tried setting the port with the following (per documentation), but fdbcli still remains stuck –
fdb> coordinators 127.0.0.1:4689
WARNING: Long delay (Ctrl-C to interrupt)
The database is unavailable; type `status’ for more information.
Also verified /etc/foundationdb/foundationdb.conf
contains:
#An individual fdbserver process with id 4689
##Parameters set here override defaults from the [fdbserver] section
[fdbserver.4689]