# Encountered problem while starting elasticsearch on AWS

**URL:** <https://discuss.elastic.co/t/encountered-problem-while-starting-elasticsearch-on-aws/15359>\
**Category:** Elasticsearch\
**Created:** [January 22, 2014, 12:39pm UTC](https://discuss.elastic.co/t/encountered-problem-while-starting-elasticsearch-on-aws/15359 "2014-01-22T12:39:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimjmin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimjmin/32/15223_2.png) [@kimjmin](https://discuss.elastic.co/u/kimjmin)\
**Post date:** [January 22, 2014, 12:39pm UTC](https://discuss.elastic.co/t/encountered-problem-while-starting-elasticsearch-on-aws/15359/1 "2014-01-22T12:39:13Z")

</div>

Hi, I'm from Korea, country of kimchi 🙂

I'm trying to run elasticsearch on AWS EC2 system.  
I was following instruction  
on [http://www.elasticsearch.org/tutorials/elasticsearch-on-ec2/](http://www.elasticsearch.org/tutorials/elasticsearch-on-ec2/) page.

I installed aws plugin and configure config/elasticsearch.yml as follow.

cluster.name: candi  
cloud:  
aws:  
region: ap-northeast-1  
access\_key: \*\*\*\*  
secret\_key: \*\*\*\*  
discovery:  
type: ec2  
groups: candoop1  
gateway:  
type: s3  
s3:  
bucket: candoitsoft-elasticsearch-data

and when I run elasticsearch it shows me next.

[2014-01-22 12:22:48,387][INFO][node] [candoop1]  
version[0.90.10], pid[1664], build[0a5781f/2014-01-10T10:18:37Z]  
[2014-01-22 12:22:48,388][INFO][node] [candoop1]  
initializing ...  
[2014-01-22 12:22:48,557][INFO][plugins] [candoop1]  
loaded [cloud-aws], sites []  
[2014-01-22 12:22:48,567][ERROR][bootstrap] {0.90.10}:  
Initialization Failed ...

- NoClassDefFoundError[org/elasticsearch/repositories/RepositoriesModule]  
ClassNotFoundException[org.elasticsearch.repositories.RepositoriesModule]

I found that there is a repositories.RepositoriesModule file on github  
source  
[https://github.com/elasticsearch/elasticsearch/tree/master/src/main/java/org/elasticsearch/repositories](https://github.com/elasticsearch/elasticsearch/tree/master/src/main/java/org/elasticsearch/repositories)

but when I download install file from elasticsearch.org download page  
[http://www.elasticsearch.org/download/](http://www.elasticsearch.org/download/)  
and unzipped elasticsearch-0.90.10.jar file under $ES\_HOME/lib  
there are no class files and package path _org.elasticsearch.repositories_

How can I recover this problem? Can I install elasticsearch directly from  
github?  
I'm not very familiar with github. so...

Thank you. Waiting answers.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/bfb1fc24-4f02-47ed-9514-dbd004d36f45%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bfb1fc24-4f02-47ed-9514-dbd004d36f45%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 22, 2014, 4:48pm UTC](https://discuss.elastic.co/t/encountered-problem-while-starting-elasticsearch-on-aws/15359/2 "2014-01-22T16:48:41Z")

</div>

You are trying to use AWS plugin 2.0.0.RC1 with elasticsearch 0.90.x.  
This version only works with elasticsearch 1.0.0.RC1 and \>

For 0.90.x, latest version is 1.16.0

See README:

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 22 janvier 2014 at 13:39:17, Jong Min Kim ([kimjmin@gmail.com](mailto:kimjmin@gmail.com)) a écrit:

Hi, I'm from Korea, country of kimchi 🙂

I'm trying to run elasticsearch on AWS EC2 system.  
I was following instruction on [http://www.elasticsearch.org/tutorials/elasticsearch-on-ec2/](http://www.elasticsearch.org/tutorials/elasticsearch-on-ec2/) page.

I installed aws plugin and configure config/elasticsearch.yml as follow.

cluster.name: candi  
cloud:  
aws:  
region: ap-northeast-1  
access\_key: \*\*\*\*  
secret\_key: \*\*\*\*  
discovery:  
type: ec2  
groups: candoop1  
gateway:  
type: s3  
s3:  
bucket: candoitsoft-elasticsearch-data

and when I run elasticsearch it shows me next.

[2014-01-22 12:22:48,387][INFO][node] [candoop1] version[0.90.10], pid[1664], build[0a5781f/2014-01-10T10:18:37Z]  
[2014-01-22 12:22:48,388][INFO][node] [candoop1] initializing ...  
[2014-01-22 12:22:48,557][INFO][plugins] [candoop1] loaded [cloud-aws], sites []  
[2014-01-22 12:22:48,567][ERROR][bootstrap] {0.90.10}: Initialization Failed ...

- NoClassDefFoundError[org/elasticsearch/repositories/RepositoriesModule]  
ClassNotFoundException[org.elasticsearch.repositories.RepositoriesModule]

I found that there is a repositories.RepositoriesModule file on github source  
[https://github.com/elasticsearch/elasticsearch/tree/master/src/main/java/org/elasticsearch/repositories](https://github.com/elasticsearch/elasticsearch/tree/master/src/main/java/org/elasticsearch/repositories)

but when I download install file from elasticsearch.org download page  
[http://www.elasticsearch.org/download/](http://www.elasticsearch.org/download/)  
and unzipped elasticsearch-0.90.10.jar file under $ES\_HOME/lib  
there are no class files and package path org.elasticsearch.repositories

How can I recover this problem? Can I install elasticsearch directly from github?  
I'm not very familiar with github. so...

Thank you. Waiting answers.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/bfb1fc24-4f02-47ed-9514-dbd004d36f45%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bfb1fc24-4f02-47ed-9514-dbd004d36f45%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.52dff66f.4e6afb66.74cd%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.52dff66f.4e6afb66.74cd%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![kimjmin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimjmin/32/15223_2.png) [@kimjmin](https://discuss.elastic.co/u/kimjmin)\
**Post date:** [January 23, 2014, 1:42am UTC](https://discuss.elastic.co/t/encountered-problem-while-starting-elasticsearch-on-aws/15359/3 "2014-01-23T01:42:38Z")

</div>

Thanks! Really appreciate for your answer. 🙂

2014년 1월 23일 목요일 오전 1시 48분 41초 UTC+9, David Pilato 님의 말:

> You are trying to use AWS plugin 2.0.0.RC1 with elasticsearch 0.90.x.  
> This version only works with elasticsearch 1.0.0.RC1 and \>
> 
> For 0.90.x, latest version is 1.16.0
> 
> See README:
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 22 janvier 2014 at 13:39:17, Jong Min Kim ([kim...@gmail.com](mailto:kim...@gmail.com)\<javascript:\>)  
> a écrit:
> 
> Hi, I'm from Korea, country of kimchi 🙂
> 
> I'm trying to run elasticsearch on AWS EC2 system.  
> I was following instruction on  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/elasticsearch-on-ec2/) page.
> 
> I installed aws plugin and configure config/elasticsearch.yml as follow.
> 
> cluster.name: candi  
> cloud:  
> aws:  
> region: ap-northeast-1  
> access\_key: \*\*\*\*  
> secret\_key: \*\*\*\*  
> discovery:  
> type: ec2  
> groups: candoop1  
> gateway:  
> type: s3  
> s3:  
> bucket: candoitsoft-elasticsearch-data
> 
> and when I run elasticsearch it shows me next.
> 
> [2014-01-22 12:22:48,387][INFO][node] [candoop1]  
> version[0.90.10], pid[1664], build[0a5781f/2014-01-10T10:18:37Z]  
> [2014-01-22 12:22:48,388][INFO][node] [candoop1]  
> initializing ...  
> [2014-01-22 12:22:48,557][INFO][plugins] [candoop1]  
> loaded [cloud-aws], sites   
> [2014-01-22 12:22:48,567][ERROR][bootstrap] {0.90.10}:  
> Initialization Failed ...
> 
> - NoClassDefFoundError[org/elasticsearch/repositories/RepositoriesModule]  
> ClassNotFoundException[org.elasticsearch.repositories.RepositoriesModule]
> 
> I found that there is a repositories.RepositoriesModule file on github  
> source
> 
> [https://github.com/elasticsearch/elasticsearch/tree/master/src/main/java/org/elasticsearch/repositories](https://github.com/elasticsearch/elasticsearch/tree/master/src/main/java/org/elasticsearch/repositories)
> 
> but when I download install file from [elasticsearch.org](http://elasticsearch.org) download page  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/download/)  
> and unzipped elasticsearch-0.90.10.jar file under $ES\_HOME/lib  
> there are no class files and package path _org.elasticsearch.repositories_
> 
> How can I recover this problem? Can I install elasticsearch directly from  
> github?  
> I'm not very familiar with github. so...
> 
> Thank you. Waiting answers.
> 
> --  
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/bfb1fc24-4f02-47ed-9514-dbd004d36f45%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bfb1fc24-4f02-47ed-9514-dbd004d36f45%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/43a99dc1-a710-4a0d-8092-da4850efb11e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/43a99dc1-a710-4a0d-8092-da4850efb11e%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:55am UTC](https://discuss.elastic.co/t/encountered-problem-while-starting-elasticsearch-on-aws/15359/4 "2017-07-06T01:55:14Z")

</div>


