MacOS – Elasticsearch is not running

Elasticsearch Version

7.17.4

Installed Plugins

No response

Java Version

bundled

OS Version

Mac OS X Ventura

Problem Description

I’m trying to install Elasticsearch using this guide.

When I start Elasticsearch with the command brew services start elasticsearch-full I see this window alert:

and in the log file I see this message:

/opt/homebrew/Cellar/elasticsearch-full/7.17.4/libexec/bin/elasticsearch-env: line 83: 10827 Killed: 9    
"$JAVA" "$XSHARE" -cp "$ES_CLASSPATH" org.elasticsearch.tools.java_version_checker.JavaVersionChecker

Elasticsearch is not running.

Steps to Reproduce

Run these commands:

brew tap elastic/tap
brew install elastic/tap/elasticsearch-full
brew services start elasticsearch-full

SOLUTION:

For Mac Users

System Settings > Privacy & Security > Developer Tools

Check/Add the terminal and start the elastic search from the terminal.

Revisions

No comments yet.

Leave a Reply