After I sudo service elasticsearch start, the the first time I run elasticsearch status it has a green light, now after 3 -4 seconds I tried to status again now it says failed I also tried to curl the port but still having an error
this is the error in my terminal after
elasticsearch.yml

