I've installed more packages and now, when I run bin/elasticsearch I now get this:
-bash-4.3$ cd elasticsearch-2.1.0/
-bash-4.3$ bin/elasticsearch
bin/elasticsearch: line 75: dirname: command not found
bin/elasticsearch: line 84: dirname: command not found
bin/elasticsearch: line 125: uname: command not found
bin/elasticsearch: line 134: cut: command not found
bin/elasticsearch: line 138: grep: command not found
Error: Could not find or load main class org.elasticsearch.bootstrap.Elasticsear ch
-bash-4.3$
I've set the ES_CLASSPATH var on my machine to:
ES_CLASSPATH='C:\elasticsearch-2.1.0\bin' and set the Path variable to include it too. Still get startup errors.
Please help me restore the operation in this shell.
Try running bin/elasticsearch.bat directly. It looks like your cygwin environment is missing too many linux things for bin/elasticsearch to work properly.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.