Context
When configuring your aerospike.conf file, there are stanzas that are required for certain use cases that could be optionally left empty.
For example, the security and xdr/namespace stanza could optionally be left empty.
# security stanza for versions 5.7+
security {
}
# xdr/namespace stanza for versions 5.x+
xdr {
dc dc2 {
node-address-port someIP somePort
...
namespace someNamespace{
}
}
}
Method
When configuring empty stanzas in your aerospike.conf file, you would need to separate the two brackets onto separate lines. Keeping them on the same line would result in Aerospike failing to start.
Correct way:
# security stanza
security {
}
Incorrect way:
# security stanza
security {}
# output when trying to start Aerospike
Aug 26 2022 18:16:14 GMT: WARNING (as): (signal.c:165) SIGINT received, shutting down Aerospike Enterprise Edition build 6.0.0.5 os ubuntu20.04
Aug 26 2022 18:16:14 GMT: WARNING (as): (signal.c:169) startup was not complete, exiting immediately