Not able to start elasticsearch due to failed memory lock

Have a look at this previous post, which described a similar issue.

Could you please check if the logs contain messages that show in more detail why the syscall filters failed? It may have to do with the way the kernel was compiled.

If all else fails, you may have to disable memlock and syscall filtering (see the documentation, on how to do this).