It really doesn't look like x-pack is installed on your elasicsearch cluster.
Can you follow these steps:
- Remove the
xpack.security.enabled
line fromconfig/elasticsearch.yml
(you don't need it, security is enabled by default once x-pack is installed) - Run this from your elasticsearch installation directory (which will show which plugins are installed on the filesystem)
bin/elasticsearch-plugin list --verbose
- Start Elasticsearch
- And then run this (which will show which plugins are actually running on the cluster)
curl 'http://localhost:9200/_cat/plugins?v&pretty'
- And run this (which tests the most minimal of x-pack functionality)
curl 'http://localhost:9200/_xpack?categories=features&pretty'