FAQ - What causes the "unknown security message command 20" WARNING log message?

The Aerospike Knowledge Base has moved to https://support.aerospike.com. Content on https://discuss.aerospike.com is being migrated to either https://support.aerospike.com or https://docs.aerospike.com. Maintenance on articles stored in this repository ceased on December 31st 2022 and this article may be stale. If you have any questions, please do not hesitate to raise a case via https://support.aerospike.com.

Explanation for “unknown security message command 20” WARNING log message

Details

Aerospike started logging the following WARNING:

WARNING (security): (security.c:857) unknown security message command 20

Answer

This is due to new clients supporting the upcoming feature to enable the LDAP protocol on the server side. Aerospike server versions not supporting this feature will display the above WARNING as new clients will attempt to use the new login protocol first (which supports both LDAP and non-LDAP authentication) that wouldn’t be recognized by the server versions not supporting it yet and then fall back to use the legacy method.

The above message should therefore be harmless.

This can also happen due to newer client libraries being pulled in automatically by 3rd party monitoring software which may, for example, execute a command like “pip install aerospike”. This will install the latest Aerospike python client. To work around, explicitly specify the version:

pip install aerospike==3.0.2

Notes

  • Please check the release notes of each client to valdidate the version that support LDAP.

Keywords

UNKNOWN SECURITY LDAP LOGIN

Timestmap

4/16/2018