Install/Uninstall issues with ElasticSearch - unable to startup


(Stephanie Lew) #1

Hi,

Hope you can help!

I am not able to startup the ES in the terminal. Previously installed ES
and was working fine. However, it cannot start up now. Here's the error
returned:

Stephanies-MacBook-Pro:elasticsearch stephanielew$ bin/elasticsearch -f
Exception in thread "main" java.lang.NoClassDefFoundError: Could not
initialize class org.elasticsearch.Version
at
org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:236)
at org.elasticsearch.bootstrap.ElasticSearch.main(ElasticSearch.java:32)

  • Am using MacBook OS Version 10.8.5.
  • Java Version 1.6.0_65

Previous actions:

  • Was using ES Java Api in Maven web project in Netbeans. It was able to
    connect to ES server automatically via Apache Tomcat when the web
    application was run. However, after installing some external jars the ES
    server did not start up.
  • Also, tried to run ES in the terminal separately, but it still could not
    start up.

Despite several attempts to delete some old directories and installing the
latest version, the above error was returned.

Is there some permanent system/environment variables that should be changed
in my computer configurations? Or how can i cleanly remove all
elasticsearch related folders? Any uninstall command?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Clinton Gormley) #2

Sounds like you're trying to start it from the cloned git repo, rather than
first building it.

See the README for details of how to build it

clint

On 18 October 2013 12:33, Stephanie Lew steph.lewyh@gmail.com wrote:

Hi,

Hope you can help!

I am not able to startup the ES in the terminal. Previously installed ES
and was working fine. However, it cannot start up now. Here's the error
returned:

Stephanies-MacBook-Pro:elasticsearch stephanielew$ bin/elasticsearch -f
Exception in thread "main" java.lang.NoClassDefFoundError: Could not
initialize class org.elasticsearch.Version
at
org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:236)
at org.elasticsearch.bootstrap.ElasticSearch.main(ElasticSearch.java:32)

  • Am using MacBook OS Version 10.8.5.
  • Java Version 1.6.0_65

Previous actions:

  • Was using ES Java Api in Maven web project in Netbeans. It was able to
    connect to ES server automatically via Apache Tomcat when the web
    application was run. However, after installing some external jars the ES
    server did not start up.
  • Also, tried to run ES in the terminal separately, but it still could not
    start up.

Despite several attempts to delete some old directories and installing the
latest version, the above error was returned.

Is there some permanent system/environment variables that should be
changed in my computer configurations? Or how can i cleanly remove all
elasticsearch related folders? Any uninstall command?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(David Pilato) #3

Yes. Or download a full packaged version from http://www.elasticsearch.org/download/

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 18 oct. 2013 à 14:35, Clinton Gormley clint@traveljury.com a écrit :

Sounds like you're trying to start it from the cloned git repo, rather than first building it.

See the README for details of how to build it

clint

On 18 October 2013 12:33, Stephanie Lew steph.lewyh@gmail.com wrote:
Hi,

Hope you can help!

I am not able to startup the ES in the terminal. Previously installed ES and was working fine. However, it cannot start up now. Here's the error returned:

Stephanies-MacBook-Pro:elasticsearch stephanielew$ bin/elasticsearch -f
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.Version
at org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:236)
at org.elasticsearch.bootstrap.ElasticSearch.main(ElasticSearch.java:32)

  • Am using MacBook OS Version 10.8.5.
  • Java Version 1.6.0_65

Previous actions:

  • Was using ES Java Api in Maven web project in Netbeans. It was able to connect to ES server automatically via Apache Tomcat when the web application was run. However, after installing some external jars the ES server did not start up.
  • Also, tried to run ES in the terminal separately, but it still could not start up.

Despite several attempts to delete some old directories and installing the latest version, the above error was returned.

Is there some permanent system/environment variables that should be changed in my computer configurations? Or how can i cleanly remove all elasticsearch related folders? Any uninstall command?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4