It worked fine after manually setting all the environment variables.
I would say this though.
Server a : ES out of box works from home dir.
Server b : ES out of box neither works from /usr/lib/ nor does it work from
home dir. Only way is to manually set env parameters.
Both servers are
Apart from cluster name and node name I didnt change anything.
Version 1.0.1
Commands I use to start bin/elasticsearch
On Wednesday, March 12, 2014 5:20:56 AM UTC-5, Alexander Reelsen wrote:
Hey,
can you be more verbose, how you are actually starting elasticsearch,
which version you are
I have
RHEL 6.
Java 1.7
default shell is bash.
I tried it on a server, it worked fine right out of the box, but when I
moved to the actual set of servers it failed.
Its got something to do with environment for sure, but I can't figure out
what.
On Wednesday, March 12, 2014 5:20:56 AM
And do you start Elasticsearch by the same user you installed Elasticsearch
under?
Jörg
On Wed, Mar 12, 2014 at 8:19 PM, joergpra...@gmail.com
joergpra...@gmail.com wrote:
How do you start Elasticsearch, by
$ cd $ES_HOME
$ ./bin/elasticsearch
or
$ cd $ES_HOME/bin
$ ./elasticsearch
I didnt want elasticsearch to be under a user's directory so I have it in
/usr/lib/elasticsearch. All the files are owned by the non root user that
is running the command
bash /usr/lib/elasticsearch/bin/elasticsearch
On Wednesday, March 12, 2014 2:21:41 PM UTC-5, Jörg Prante wrote:
And do
The script elasticsearch, how you call it with absolute path under system
dir /usr/lib, has problems in traversing the path to find the parent folder
and set the variable ES_HOME.
You should use an init script, like provided by the distributions or the
service wrapper, with preconfigured
Hey,
can you be more verbose, how you are actually starting elasticsearch, which
version you are using, what operating system you are running on, which java
version you are running, what is your default shell? Did you modify
anything from the standard installation?
Thanks.
--Alex
On Tue, Mar
I get this error at elasticsearch startup
Exception in thread main java.lang.NoClassDefFoundError:
org.apache.lucene.util.Version
at org.elasticsearch.Version.clinit(Version.java:42)
at java.lang.Class.initializeClass(libgcj.so.10)
at