-
-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You must set ES_CLASSPATH var #82
Comments
I all depends on how you run Elasticsearch. You can't just run
|
So I added elasticsearch -f to the init script, and then ran sudo ./elasticsearch start. I got the following output, and I assume the last line is not good... :(: [2013-04-08 17:15:03,988][INFO ][node ] [ip-10-253-41-10.us-west-2.compute.internal] {0.20.5}[1884]: initializing ...
|
I'm a bit confused by that :) The cookbook comes with an init script (service), and you can use the servicewrapper as well. I'm wondering about what kind of script you use to run elasticsearch.
Indeed -- it means the discovery can't find an endpoint based on the |
Everything with the cookbook seems to have run fine, except when I try to run ES it says "You must set the ES_CLASSPATH var". I see that this is defined in both /usr/local/elasticsearch/bin/elasticsearch.in.sh AND /usr/local/etc/elasticsearch/elasticsearch.en.sh but I don't know where it's looking for this variable in terms of actually starting ES. Any help would be much appreciated.
I should addendum that I followed Karel's instructions on from ES.org, but I got it working using Chef Server, instead of Chef solo. I don't know if there is anything that I did that could have effected the process, but from what I can tell, everything is installed properly (monit, nginx, etc), all the files look correct, the data directories look ok as well, so I'm a bit befuddled.
The text was updated successfully, but these errors were encountered: