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


#1

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 login using LDAP protocol first (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