-
-
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 #20
Comments
It depends on how you've built it and how are you starting elasticsearch. The |
I've just added the elasticsearch recipe to my run_list - sudo elasticsearch start results in the error. I can see it's put a file in the /etc/rc5.d folder. Any help would be much appreciated. |
You can do several things. First, check the If the problem still persists, please store the content of the elasticsearch-env.sh and the init file in a gist/pastie/hastebin/etc and post here... Or try the #elasticsearch IRC channel, I'm there most of the time. |
that's the thing - I haven't changed any paths, custom configs or anything...I'll dig some more and come back. |
@johnbeynon Any news, or closing? |
closing - no news, no further on - ended up hacking it together. |
I'm having same problem. Running Running
|
@vjpr I need more info then. First thing, try to build a test machine with Vagrant (see https://github.com/karmi/cookbook-elasticsearch#testing-with-vagrant). Then, pastie/gist/hastebin/etc your Chef config (run_list, node config, etc) |
The issue seems to be that running 'elasticsearch' instead of I think my second error came from the 'elasticsearch::default' recipe On 21/08/2012, at 3:00 AM, Karel Minarik [email protected] wrote: @vjpr https://github.com/vjpr I need more info then. First thing, try to — |
Absolutely -- the
That would be very surprising. Report it please if that would be the case. |
Even with service wrapper i m getting this error. |
I have this problem too. bin/elasticsearch -f should 'just work.' That it stopped working since 0.18.6 is a bug. Can you please fix this bug? This makes elasticsearch much harder to use, especially for new users. |
@rjurney I'm afraid I don't know what specific problem you have. Could you describe it in more detail so I can understand and reproduce it? |
This "bug" appears if you download the source release via e.g. http://www.elasticsearch.org/download/master/ instead of the release from http://www.elasticsearch.org/download/ and try to run elasticsearch without compiling. Maybe adding some kind of notice on the http://www.elasticsearch.org/download/master/ page will avoid this being reported as an issue in the future. |
@Juul Good point, but I can't figure out how it's related to the Chef cookbook? People change the download URL to |
My bad, it's not a cookbook issue. This is the only place I've seen it discussed, though. |
To any one who arrives here on the boat that I did ( compile ocd), Pull from git When you run it you will run into some problems that I worked through by ( admittedly I don`t know what things fixed what problems ) Changing /bin/sh to /bin/bash in the files bin/elasticsearch bin/elasticsearch.in.sh Noticing that the file bin/elasticsearch.in.sh is a config file for the java machine and adding the line now you should be able to bring it up. P.s Thank you
|
I've just build a new server with your elasticsearch recipe - when I go to start it it says you must set ES_CLASSPATH - did I miss a step out? I don't think I did...
The text was updated successfully, but these errors were encountered: