Linux OS : Failed to create native process factories for Machine Learning

Hi

FileNotFoundException[/tmp/elasticsearch/controller_log_24991 (No such file or directory)];

Can you check if the directory /tmp/elasticsearch exists please. The user who you run elasticsearch as should have read, write and execute permission on that directory (mode 700), creating that directory may well solve your problem. Alternatively you can change the temporary directory elasticsearch uses by exporting the ES_TMPDIR variable before staring elasticsearch

export ES_TMPDIR=/my/temp/dir

I'd like to understand how this error happened. Which version of Linux and Elasticsearch are you using? Was elasticsearch running successfully before you installed x-pack?

Thanks