# Elasticsearch error of class not found

**URL:** <https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490>\
**Category:** Elasticsearch\
**Created:** [March 20, 2014, 9:39am UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490 "2014-03-20T09:39:56Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anikessh\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Anikessh\_Jain](https://discuss.elastic.co/u/Anikessh_Jain)\
**Post date:** [March 20, 2014, 9:39am UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/1 "2014-03-20T09:39:56Z")

</div>

Hi All.

I am a newbie to Elastic search and I am configuring Kibana with Logstash  
and Redis and Elasticsearch in Centos 32 Bit and when i am trying to  
start the service of elastic search i am getting the below error

WrapperSimpleApp Error: Unable

to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF

How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.

--  
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/bd7b47b5-46f1-4066-89a9-ba5c4929a25c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bd7b47b5-46f1-4066-89a9-ba5c4929a25c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Anikessh\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Anikessh\_Jain](https://discuss.elastic.co/u/Anikessh_Jain)\
**Post date:** [March 20, 2014, 10:01am UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/2 "2014-03-20T10:01:42Z")

</div>

Can anybody help me it is a bit urgent .

On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:

> Hi All.
> 
> I am a newbie to Elastic search and I am configuring Kibana with Logstash  
> and Redis and Elasticsearch in Centos 32 Bit and when i am trying to  
> start the service of Elasticsearch i am getting the below error
> 
> WrapperSimpleApp Error: Unable
> 
> to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF
> 
> How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.

--  
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/c2e6f892-9d61-4ecf-9624-b180842bac11%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c2e6f892-9d61-4ecf-9624-b180842bac11%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Anikessh\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Anikessh\_Jain](https://discuss.elastic.co/u/Anikessh_Jain)\
**Post date:** [March 20, 2014, 1:54pm UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/3 "2014-03-20T13:54:31Z")

</div>

nobody there to help me , help me please i am in need

On Thursday, March 20, 2014 3:31:42 PM UTC+5:30, Anikessh Jain wrote:

> Can anybody help me it is a bit urgent .
> 
> On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:
> 
> > Hi All.
> > 
> > I am a newbie to Elastic search and I am configuring Kibana with Logstash  
> > and Redis and Elasticsearch in Centos 32 Bit and when i am trying to  
> > start the service of Elasticsearch i am getting the below error
> > 
> > WrapperSimpleApp Error: Unable
> > 
> > to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF
> > 
> > How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.

--  
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/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [March 20, 2014, 2:40pm UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/4 "2014-03-20T14:40:22Z")

</div>

What did you download?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 20 mars 2014 à 14:54, Anikessh Jain [anikesshjain88@gmail.com](mailto:anikesshjain88@gmail.com) a écrit :

nobody there to help me , help me please i am in need

> On Thursday, March 20, 2014 3:31:42 PM UTC+5:30, Anikessh Jain wrote:  
> Can anybody help me it is a bit urgent .
> 
> > On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:  
> > Hi All.
> > 
> > I am a newbie to Elastic search and I am configuring Kibana with Logstash and Redis and Elasticsearch in Centos 32 Bit and when i am trying to start the service of Elasticsearch i am getting the below error
> > 
> > WrapperSimpleApp Error: Unable  
> > to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF
> > 
> > How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.

--  
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/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/63E9FEAC-ABB9-4127-AA9B-66FFF4F99338%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/63E9FEAC-ABB9-4127-AA9B-66FFF4F99338%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Anikessh\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Anikessh\_Jain](https://discuss.elastic.co/u/Anikessh_Jain)\
**Post date:** [March 20, 2014, 3:33pm UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/5 "2014-03-20T15:33:46Z")

</div>

wget [https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz)  
tar xvf elasticsearch-0.20.2.tar.gz

mv elasticsearch-0.20.2 elasticsearch

wget [http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip](http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip)  
unzip master  
mv elasticsearch-servicewrapper-master/service/ elasticsearch/bin  
rm -rf master  
rm -rf elasticsearch-servicewrapper-master/

Configure ‘elasticsearch.conf’

set.default.ES\_HOME=/usr/local/elasticsearch  
set.default.ES\_HEAP\_SIZE=4096  
wrapper.java.additional.10=-Des.max-open-files=true

wrapper.logfile.maxsize=5m  
wrapper.logfile.maxfiles=5

Add ES home to root user’s ‘.bash\_profile’

# Elasticsearch

export ES\_HOME=/usr/local/elasticsearch

Create elasticsearch user

useradd -d /home/elasticsearch -s /bin/sh elasticsearch  
chown -R elasticsearch:elasticsearch $ES\_HOME  
chown -R elasticsearch:elasticsearch /mnt/storage/es-data

Edit elasticsearch user’s ‘.bash\_profile’

# .bash\_profile

# Get the aliases and functions

if [-f ~/.bashrc]; then  
. ~/.bashrc  
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

# JAVA\_HOME needs to be the latest 1.7 JDK on the system

JAVA\_HOME=/usr/local/jdk7  
export JAVA\_HOME

#Add JAVA\_HOME to the PATH  
PATH=$JAVA\_HOME/bin:$PATH

# Elasticsearch

export ES\_HOME=/usr/local/elasticsearch

unset USERNAME

Edit ‘/etc/security/limits.conf’ (optional as this will be set in the service script, too)

elasticsearch soft nofile 65535  
elasticsearch hard nofile 65535

Verify the file descriptor limit

sudo -u elasticsearch -s ulimit -Sn

Install the service

bin/service/elasticsearch install

Edit ‘/etc/init.d/elasticsearch’

# Java

JAVA\_HOME=/usr/local/jdk7  
export JAVA\_HOME  
PATH=$JAVA\_HOME/bin:$PATH  
RUN\_AS\_USER=elasticsearch  
ULIMIT\_N=65535

Run the service

bin/service/elasticsearch start  
or  
service elasticsearch start -\> here the above error i am getting can you please help me

please help me what wrong i have done

On Thursday, March 20, 2014 8:10:22 PM UTC+5:30, David Pilato wrote:

> What did you download?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 20 mars 2014 à 14:54, Anikessh Jain \<[anikess...@gmail.com](mailto:anikess...@gmail.com) \<javascript:\>\>  
> a écrit :
> 
> nobody there to help me , help me please i am in need
> 
> On Thursday, March 20, 2014 3:31:42 PM UTC+5:30, Anikessh Jain wrote:
> 
> > Can anybody help me it is a bit urgent .
> > 
> > On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:
> > 
> > > Hi All.
> > > 
> > > I am a newbie to Elastic search and I am configuring Kibana with  
> > > Logstash and Redis and Elasticsearch in Centos 32 Bit and when i am  
> > > trying to start the service of Elasticsearch i am getting the below error
> > > 
> > > WrapperSimpleApp Error: Unable
> > > 
> > > to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF
> > > 
> > > How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.
> > > 
> > > --  
> > > 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/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/6d8b8875-5c20-41de-bb37-87c9c263a176%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6d8b8875-5c20-41de-bb37-87c9c263a176%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Anikessh\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Anikessh\_Jain](https://discuss.elastic.co/u/Anikessh_Jain)\
**Post date:** [March 20, 2014, 3:34pm UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/6 "2014-03-20T15:34:01Z")

</div>

On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:

> Hi All.
> 
> I am a newbie to Elastic search and I am configuring Kibana with Logstash  
> and Redis and Elasticsearch in Centos 32 Bit and when i am trying to  
> start the service of Elasticsearch i am getting the below error
> 
> WrapperSimpleApp Error: Unable
> 
> to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF
> 
> How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.

--  
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/a8275483-ac50-4f0a-a150-61481c2f8d94%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a8275483-ac50-4f0a-a150-61481c2f8d94%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Anikessh\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Anikessh\_Jain](https://discuss.elastic.co/u/Anikessh_Jain)\
**Post date:** [March 20, 2014, 4:06pm UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/7 "2014-03-20T16:06:06Z")

</div>

please help on the above error

On Thursday, March 20, 2014 9:03:46 PM UTC+5:30, Anikessh Jain wrote:

> wget [https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz)  
> tar xvf elasticsearch-0.20.2.tar.gz
> 
> mv elasticsearch-0.20.2 elasticsearch
> 
> wget [http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip](http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip)  
> unzip master  
> mv elasticsearch-servicewrapper-master/service/ elasticsearch/bin  
> rm -rf master  
> rm -rf elasticsearch-servicewrapper-master/
> 
> Configure ‘elasticsearch.conf’
> 
> set.default.ES\_HOME=/usr/local/elasticsearch  
> set.default.ES\_HEAP\_SIZE=4096  
> wrapper.java.additional.10=-Des.max-open-files=true
> 
> wrapper.logfile.maxsize=5m  
> wrapper.logfile.maxfiles=5
> 
> Add ES home to root user’s ‘.bash\_profile’
> 
> # Elasticsearch
> 
> export ES\_HOME=/usr/local/elasticsearch
> 
> Create elasticsearch user
> 
> useradd -d /home/elasticsearch -s /bin/sh elasticsearch  
> chown -R elasticsearch:elasticsearch $ES\_HOME  
> chown -R elasticsearch:elasticsearch /mnt/storage/es-data
> 
> Edit elasticsearch user’s ‘.bash\_profile’
> 
> # .bash\_profile
> 
> # Get the aliases and functions
> 
> if [-f ~/.bashrc]; then  
> . ~/.bashrc  
> fi
> 
> # User specific environment and startup programs
> 
> PATH=$PATH:$HOME/bin
> 
> export PATH
> 
> # JAVA\_HOME needs to be the latest 1.7 JDK on the system
> 
> JAVA\_HOME=/usr/local/jdk7  
> export JAVA\_HOME
> 
> #Add JAVA\_HOME to the PATH  
> PATH=$JAVA\_HOME/bin:$PATH
> 
> # Elasticsearch
> 
> export ES\_HOME=/usr/local/elasticsearch
> 
> unset USERNAME
> 
> Edit ‘/etc/security/limits.conf’ (optional as this will be set in the service script, too)
> 
> elasticsearch soft nofile 65535  
> elasticsearch hard nofile 65535
> 
> Verify the file descriptor limit
> 
> sudo -u elasticsearch -s ulimit -Sn
> 
> Install the service
> 
> bin/service/elasticsearch install
> 
> Edit ‘/etc/init.d/elasticsearch’
> 
> # Java
> 
> JAVA\_HOME=/usr/local/jdk7  
> export JAVA\_HOME  
> PATH=$JAVA\_HOME/bin:$PATH  
> RUN\_AS\_USER=elasticsearch  
> ULIMIT\_N=65535
> 
> Run the service
> 
> bin/service/elasticsearch start  
> or  
> service elasticsearch start -\> here the above error i am getting can you please help me
> 
> please help me what wrong i have done
> 
> On Thursday, March 20, 2014 8:10:22 PM UTC+5:30, David Pilato wrote:
> 
> > What did you download?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 20 mars 2014 à 14:54, Anikessh Jain [anikess...@gmail.com](mailto:anikess...@gmail.com) a écrit :
> > 
> > nobody there to help me , help me please i am in need
> > 
> > On Thursday, March 20, 2014 3:31:42 PM UTC+5:30, Anikessh Jain wrote:
> > 
> > > Can anybody help me it is a bit urgent .
> > > 
> > > On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:
> > > 
> > > > Hi All.
> > > > 
> > > > I am a newbie to Elastic search and I am configuring Kibana with  
> > > > Logstash and Redis and Elasticsearch in Centos 32 Bit and when i am  
> > > > trying to start the service of Elasticsearch i am getting the below error
> > > > 
> > > > WrapperSimpleApp Error: Unable
> > > > 
> > > > to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF
> > > > 
> > > > How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.
> > > > 
> > > > --  
> > > > 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).  
> > > > To view this discussion on the web visit  
> > > > [https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > .  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [March 20, 2014, 4:41pm UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/8 "2014-03-20T16:41:52Z")

</div>

First download a recent version. If you are starting with elasticsearch, you don't need to start with a so old version.  
1.0.1 is fine.

Then read the documentation here: [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html)

No need to install so many pieces.

Unzip and launch. That's all.

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

Le 20 mars 2014 à 17:06:12, Anikessh Jain ([anikesshjain88@gmail.com](mailto:anikesshjain88@gmail.com)) a écrit:

please help on the above error

On Thursday, March 20, 2014 9:03:46 PM UTC+5:30, Anikessh Jain wrote:

wget [https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz)  
tar xvf elasticsearch-0.20.2.tar.gz

mv elasticsearch-0.20.2 elasticsearch

wget [http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip](http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip)  
unzip master  
mv elasticsearch-servicewrapper-master/service/ elasticsearch/bin  
rm -rf master  
rm -rf elasticsearch-servicewrapper-master/

Configure ‘elasticsearch.conf’

set.default.ES\_HOME=/usr/local/elasticsearch  
set.default.ES\_HEAP\_SIZE=4096  
wrapper.java.additional.10=-Des.max-open-files=true

wrapper.logfile.maxsize=5m  
wrapper.logfile.maxfiles=5

Add ES home to root user’s ‘.bash\_profile’

# ElasticSearch

export ES\_HOME=/usr/local/elasticsearch

Create elasticsearch user

useradd -d /home/elasticsearch -s /bin/sh elasticsearch  
chown -R elasticsearch:elasticsearch $ES\_HOME  
chown -R elasticsearch:elasticsearch /mnt/storage/es-data

Edit elasticsearch user’s ‘.bash\_profile’

# .bash\_profile

# Get the aliases and functions

if [-f ~/.bashrc]; then  
. ~/.bashrc  
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

# JAVA\_HOME needs to be the latest 1.7 JDK on the system

JAVA\_HOME=/usr/local/jdk7  
export JAVA\_HOME

#Add JAVA\_HOME to the PATH  
PATH=$JAVA\_HOME/bin:$PATH

# ElasticSearch

export ES\_HOME=/usr/local/elasticsearch

unset USERNAME

Edit ‘/etc/security/limits.conf’ (optional as this will be set in the service script, too)

elasticsearch soft nofile 65535  
elasticsearch hard nofile 65535

Verify the file descriptor limit

sudo -u elasticsearch -s ulimit -Sn

Install the service

bin/service/elasticsearch install

Edit ‘/etc/init.d/elasticsearch’

# Java

JAVA\_HOME=/usr/local/jdk7  
export JAVA\_HOME  
PATH=$JAVA\_HOME/bin:$PATH  
RUN\_AS\_USER=elasticsearch  
ULIMIT\_N=65535

Run the service

bin/service/elasticsearch start  
or  
service elasticsearch start -\> here the above error i am getting can you please help me

please help me what wrong i have done  
On Thursday, March 20, 2014 8:10:22 PM UTC+5:30, David Pilato wrote:  
What did you download?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 20 mars 2014 à 14:54, Anikessh Jain [anikess...@gmail.com](mailto:anikess...@gmail.com) a écrit :

nobody there to help me , help me please i am in need

On Thursday, March 20, 2014 3:31:42 PM UTC+5:30, Anikessh Jain wrote:  
Can anybody help me it is a bit urgent .

On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:  
Hi All.

I am a newbie to Elastic search and I am configuring Kibana with Logstash and Redis and Elasticsearch in Centos 32 Bit and when i am trying to start the service of elastic search i am getting the below error

WrapperSimpleApp Error: Unable

to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF

## How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.

## 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). To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com). For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

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/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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.532b1a51.333ab105.c9bd%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.532b1a51.333ab105.c9bd%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Anikessh\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Anikessh\_Jain](https://discuss.elastic.co/u/Anikessh_Jain)\
**Post date:** [March 20, 2014, 4:49pm UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/9 "2014-03-20T16:49:43Z")

</div>

Hi David,

But why do people download and install it through  
elasticsearch-servicewrapper ,does the leatest version supports it all bcoz  
i want to install kibana with logstash and redis with elasticsearch and i  
am a little bit confused will it work bcoz i have wasted my whole day on on  
error.please guide me what to do as i dont know what to do and doing it for  
first time

On Thursday, March 20, 2014 10:11:52 PM UTC+5:30, David Pilato wrote:

> First download a recent version. If you are starting with elasticsearch,  
> you don't need to start with a so old version.  
> 1.0.1 is fine.
> 
> Then read the documentation here:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html)
> 
> No need to install so many pieces.
> 
> Unzip and launch. That's all.
> 
> --  
> _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 20 mars 2014 à 17:06:12, Anikessh Jain ([anikess...@gmail.com](mailto:anikess...@gmail.com)\<javascript:\>)  
> a écrit:
> 
> please help on the above error
> 
> On Thursday, March 20, 2014 9:03:46 PM UTC+5:30, Anikessh Jain wrote:
> 
> > wget [https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz)  
> > tar xvf elasticsearch-0.20.2.tar.gz
> > 
> > mv elasticsearch-0.20.2 elasticsearch
> > 
> > wget [http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip](http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip)  
> > unzip master  
> > mv elasticsearch-servicewrapper-master/service/ elasticsearch/bin  
> > rm -rf master  
> > rm -rf elasticsearch-servicewrapper-master/
> > 
> > Configure ‘elasticsearch.conf’
> > 
> > set.default.ES\_HOME=/usr/local/elasticsearch  
> > set.default.ES\_HEAP\_SIZE=4096  
> > wrapper.java.additional.10=-Des.max-open-files=true
> > 
> > wrapper.logfile.maxsize=5m  
> > wrapper.logfile.maxfiles=5
> > 
> > Add ES home to root user’s ‘.bash\_profile’
> > 
> > # Elasticsearch
> > 
> > export ES\_HOME=/usr/local/elasticsearch
> > 
> > Create elasticsearch user
> > 
> > useradd -d /home/elasticsearch -s /bin/sh elasticsearch  
> > chown -R elasticsearch:elasticsearch $ES\_HOME  
> > chown -R elasticsearch:elasticsearch /mnt/storage/es-data
> > 
> > Edit elasticsearch user’s ‘.bash\_profile’
> > 
> > # .bash\_profile
> > 
> > # Get the aliases and functions
> > 
> > if [-f ~/.bashrc]; then  
> > . ~/.bashrc  
> > fi
> > 
> > # User specific environment and startup programs
> > 
> > PATH=$PATH:$HOME/bin
> > 
> > export PATH
> > 
> > # JAVA\_HOME needs to be the latest 1.7 JDK on the system
> > 
> > JAVA\_HOME=/usr/local/jdk7  
> > export JAVA\_HOME
> > 
> > #Add JAVA\_HOME to the PATH  
> > PATH=$JAVA\_HOME/bin:$PATH
> > 
> > # Elasticsearch
> > 
> > export ES\_HOME=/usr/local/elasticsearch
> > 
> > unset USERNAME
> > 
> > Edit ‘/etc/security/limits.conf’ (optional as this will be set in the service script, too)
> > 
> > elasticsearch soft nofile 65535  
> > elasticsearch hard nofile 65535
> > 
> > Verify the file descriptor limit
> > 
> > sudo -u elasticsearch -s ulimit -Sn
> > 
> > Install the service
> > 
> > bin/service/elasticsearch install
> > 
> > Edit ‘/etc/init.d/elasticsearch’
> > 
> > # Java
> > 
> > JAVA\_HOME=/usr/local/jdk7  
> > export JAVA\_HOME  
> > PATH=$JAVA\_HOME/bin:$PATH  
> > RUN\_AS\_USER=elasticsearch  
> > ULIMIT\_N=65535
> > 
> > Run the service
> > 
> > bin/service/elasticsearch start  
> > or  
> > service elasticsearch start -\> here the above error i am getting can you please help me
> > 
> > ```
> > please help me what wrong i have done  
> > 
> > ```
> > 
> > On Thursday, March 20, 2014 8:10:22 PM UTC+5:30, David Pilato wrote:
> > 
> > > What did you download?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 20 mars 2014 à 14:54, Anikessh Jain [anikess...@gmail.com](mailto:anikess...@gmail.com) a écrit :
> > > 
> > > nobody there to help me , help me please i am in need
> > > 
> > > On Thursday, March 20, 2014 3:31:42 PM UTC+5:30, Anikessh Jain wrote:
> > > 
> > > > Can anybody help me it is a bit urgent .
> > > > 
> > > > On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:
> > > > 
> > > > > Hi All.
> > > > > 
> > > > > I am a newbie to Elastic search and I am configuring Kibana with  
> > > > > Logstash and Redis and Elasticsearch in Centos 32 Bit and when i am  
> > > > > trying to start the service of Elasticsearch i am getting the below error
> > > > > 
> > > > > WrapperSimpleApp Error: Unable
> > > > > 
> > > > > to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF
> > > > > 
> > > > > How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.
> > > > > 
> > > > > --  
> > > > > 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).  
> > > > > To view this discussion on the web visit  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > .  
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > 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/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [March 20, 2014, 5:00pm UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/10 "2014-03-20T17:00:35Z")

</div>

I don't know.

So let me help you for elasticsearch:

wget [https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.tar.gz)  
tar xzf elasticsearch-1.0.1.tar.gz  
./elasticsearch-1.0.1/bin/elasticsearch

And that's all!  
This is basically what is written here: [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html#setup-installation](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html#setup-installation)

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

Le 20 mars 2014 à 17:49:49, Anikessh Jain ([anikesshjain88@gmail.com](mailto:anikesshjain88@gmail.com)) a écrit:

Hi David,

But why do people download and install it through elasticsearch-servicewrapper ,does the leatest version supports it all bcoz i want to install kibana with logstash and redis with elasticsearch and i am a little bit confused will it work bcoz i have wasted my whole day on on error.please guide me what to do as i dont know what to do and doing it for first time

On Thursday, March 20, 2014 10:11:52 PM UTC+5:30, David Pilato wrote:  
First download a recent version. If you are starting with elasticsearch, you don't need to start with a so old version.  
1.0.1 is fine.

Then read the documentation here: [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html)

No need to install so many pieces.

Unzip and launch. That's all.

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

Le 20 mars 2014 à 17:06:12, Anikessh Jain ([anikess...@gmail.com](mailto:anikess...@gmail.com)) a écrit:

please help on the above error

On Thursday, March 20, 2014 9:03:46 PM UTC+5:30, Anikessh Jain wrote:

wget [https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz)  
tar xvf elasticsearch-0.20.2.tar.gz

mv elasticsearch-0.20.2 elasticsearch

wget [http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip](http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip)  
unzip master  
mv elasticsearch-servicewrapper-master/service/ elasticsearch/bin  
rm -rf master  
rm -rf elasticsearch-servicewrapper-master/

Configure ‘elasticsearch.conf’

set.default.ES\_HOME=/usr/local/elasticsearch  
set.default.ES\_HEAP\_SIZE=4096  
wrapper.java.additional.10=-Des.max-open-files=true

wrapper.logfile.maxsize=5m  
wrapper.logfile.maxfiles=5

Add ES home to root user’s ‘.bash\_profile’

# ElasticSearch

export ES\_HOME=/usr/local/elasticsearch

Create elasticsearch user

useradd -d /home/elasticsearch -s /bin/sh elasticsearch  
chown -R elasticsearch:elasticsearch $ES\_HOME  
chown -R elasticsearch:elasticsearch /mnt/storage/es-data

Edit elasticsearch user’s ‘.bash\_profile’

# .bash\_profile

# Get the aliases and functions

if [-f ~/.bashrc]; then  
. ~/.bashrc  
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

# JAVA\_HOME needs to be the latest 1.7 JDK on the system

JAVA\_HOME=/usr/local/jdk7  
export JAVA\_HOME

#Add JAVA\_HOME to the PATH  
PATH=$JAVA\_HOME/bin:$PATH

# ElasticSearch

export ES\_HOME=/usr/local/elasticsearch

unset USERNAME

Edit ‘/etc/security/limits.conf’ (optional as this will be set in the service script, too)

elasticsearch soft nofile 65535  
elasticsearch hard nofile 65535

Verify the file descriptor limit

sudo -u elasticsearch -s ulimit -Sn

Install the service

bin/service/elasticsearch install

Edit ‘/etc/init.d/elasticsearch’

# Java

JAVA\_HOME=/usr/local/jdk7  
export JAVA\_HOME  
PATH=$JAVA\_HOME/bin:$PATH  
RUN\_AS\_USER=elasticsearch  
ULIMIT\_N=65535

Run the service

bin/service/elasticsearch start  
or  
service elasticsearch start -\> here the above error i am getting can you please help me

please help me what wrong i have done  
On Thursday, March 20, 2014 8:10:22 PM UTC+5:30, David Pilato wrote:  
What did you download?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 20 mars 2014 à 14:54, Anikessh Jain [anikess...@gmail.com](mailto:anikess...@gmail.com) a écrit :

nobody there to help me , help me please i am in need

On Thursday, March 20, 2014 3:31:42 PM UTC+5:30, Anikessh Jain wrote:  
Can anybody help me it is a bit urgent .

On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:  
Hi All.

I am a newbie to Elastic search and I am configuring Kibana with Logstash and Redis and Elasticsearch in Centos 32 Bit and when i am trying to start the service of elastic search i am getting the below error

WrapperSimpleApp Error: Unable

to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF

## How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.

## 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). To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com). For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

## 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). To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com). For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

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/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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.532b1eb3.6763845e.c9bd%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.532b1eb3.6763845e.c9bd%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Anikessh\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Anikessh\_Jain](https://discuss.elastic.co/u/Anikessh_Jain)\
**Post date:** [March 20, 2014, 5:26pm UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/11 "2014-03-20T17:26:17Z")

</div>

thnks for the info

how to run the service on ipv4 bcoz when i am starting ti is starting on  
ipv6 instead on ipv4 ,how do i change that

On Thursday, March 20, 2014 10:30:35 PM UTC+5:30, David Pilato wrote:

> I don't know.
> 
> So let me help you for elasticsearch:
> 
> wget  
> [https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.tar.gz)  
> tar xzf elasticsearch-1.0.1.tar.gz  
> ./elasticsearch-1.0.1/bin/elasticsearch
> 
> And that's all!  
> This is basically what is written here:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html#setup-installation)
> 
> --  
> _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 20 mars 2014 à 17:49:49, Anikessh Jain ([anikess...@gmail.com](mailto:anikess...@gmail.com)\<javascript:\>)  
> a écrit:
> 
> Hi David,
> 
> But why do people download and install it through  
> elasticsearch-servicewrapper ,does the leatest version supports it all bcoz  
> i want to install kibana with logstash and redis with elasticsearch and i  
> am a little bit confused will it work bcoz i have wasted my whole day on on  
> error.please guide me what to do as i dont know what to do and doing it for  
> first time
> 
> On Thursday, March 20, 2014 10:11:52 PM UTC+5:30, David Pilato wrote:
> 
> > First download a recent version. If you are starting with  
> > elasticsearch, you don't need to start with a so old version.  
> > 1.0.1 is fine.
> > 
> > Then read the documentation here:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html)
> > 
> > No need to install so many pieces.
> > 
> > Unzip and launch. That's all.
> > 
> > ```
> > -- 
> > 
> > ```
> > 
> > _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 20 mars 2014 à 17:06:12, Anikessh Jain ([anikess...@gmail.com](mailto:anikess...@gmail.com)) a écrit:
> > 
> > please help on the above error
> > 
> > On Thursday, March 20, 2014 9:03:46 PM UTC+5:30, Anikessh Jain wrote:
> > 
> > > wget [https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz)  
> > > tar xvf elasticsearch-0.20.2.tar.gz
> > > 
> > > mv elasticsearch-0.20.2 elasticsearch
> > > 
> > > wget [http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip](http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip)  
> > > unzip master  
> > > mv elasticsearch-servicewrapper-master/service/ elasticsearch/bin  
> > > rm -rf master  
> > > rm -rf elasticsearch-servicewrapper-master/
> > > 
> > > Configure ‘elasticsearch.conf’
> > > 
> > > set.default.ES\_HOME=/usr/local/elasticsearch  
> > > set.default.ES\_HEAP\_SIZE=4096  
> > > wrapper.java.additional.10=-Des.max-open-files=true
> > > 
> > > wrapper.logfile.maxsize=5m  
> > > wrapper.logfile.maxfiles=5
> > > 
> > > Add ES home to root user’s ‘.bash\_profile’
> > > 
> > > # Elasticsearch
> > > 
> > > export ES\_HOME=/usr/local/elasticsearch
> > > 
> > > Create elasticsearch user
> > > 
> > > useradd -d /home/elasticsearch -s /bin/sh elasticsearch  
> > > chown -R elasticsearch:elasticsearch $ES\_HOME  
> > > chown -R elasticsearch:elasticsearch /mnt/storage/es-data
> > > 
> > > Edit elasticsearch user’s ‘.bash\_profile’
> > > 
> > > # .bash\_profile
> > > 
> > > # Get the aliases and functions
> > > 
> > > if [-f ~/.bashrc]; then  
> > > . ~/.bashrc  
> > > fi
> > > 
> > > # User specific environment and startup programs
> > > 
> > > PATH=$PATH:$HOME/bin
> > > 
> > > export PATH
> > > 
> > > # JAVA\_HOME needs to be the latest 1.7 JDK on the system
> > > 
> > > JAVA\_HOME=/usr/local/jdk7  
> > > export JAVA\_HOME
> > > 
> > > #Add JAVA\_HOME to the PATH  
> > > PATH=$JAVA\_HOME/bin:$PATH
> > > 
> > > # Elasticsearch
> > > 
> > > export ES\_HOME=/usr/local/elasticsearch
> > > 
> > > unset USERNAME
> > > 
> > > Edit ‘/etc/security/limits.conf’ (optional as this will be set in the service script, too)
> > > 
> > > elasticsearch soft nofile 65535  
> > > elasticsearch hard nofile 65535
> > > 
> > > Verify the file descriptor limit
> > > 
> > > sudo -u elasticsearch -s ulimit -Sn
> > > 
> > > Install the service
> > > 
> > > bin/service/elasticsearch install
> > > 
> > > Edit ‘/etc/init.d/elasticsearch’
> > > 
> > > # Java
> > > 
> > > JAVA\_HOME=/usr/local/jdk7  
> > > export JAVA\_HOME  
> > > PATH=$JAVA\_HOME/bin:$PATH  
> > > RUN\_AS\_USER=elasticsearch  
> > > ULIMIT\_N=65535
> > > 
> > > Run the service
> > > 
> > > bin/service/elasticsearch start  
> > > or  
> > > service elasticsearch start -\> here the above error i am getting can you please help me
> > > 
> > > ```
> > > please help me what wrong i have done   
> > > 
> > > ```
> > > 
> > > On Thursday, March 20, 2014 8:10:22 PM UTC+5:30, David Pilato wrote:
> > > 
> > > > What did you download?
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > Le 20 mars 2014 à 14:54, Anikessh Jain [anikess...@gmail.com](mailto:anikess...@gmail.com) a écrit :
> > > > 
> > > > nobody there to help me , help me please i am in need
> > > > 
> > > > On Thursday, March 20, 2014 3:31:42 PM UTC+5:30, Anikessh Jain wrote:
> > > > 
> > > > > Can anybody help me it is a bit urgent .
> > > > > 
> > > > > On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:
> > > > > 
> > > > > > Hi All.
> > > > > > 
> > > > > > I am a newbie to Elastic search and I am configuring Kibana with  
> > > > > > Logstash and Redis and Elasticsearch in Centos 32 Bit and when i am  
> > > > > > trying to start the service of Elasticsearch i am getting the below error
> > > > > > 
> > > > > > WrapperSimpleApp Error: Unable
> > > > > > 
> > > > > > to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF
> > > > > > 
> > > > > > How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.
> > > > > > 
> > > > > > --  
> > > > > > 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).  
> > > > > > To view this discussion on the web visit  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > .  
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > 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).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > 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/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/ee2db8f2-6c77-41f5-9596-c0aa836b7d85%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ee2db8f2-6c77-41f5-9596-c0aa836b7d85%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [March 20, 2014, 6:48pm UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/12 "2014-03-20T18:48:36Z")

</div>

On the same page I gave you, you have a chapter "configuration".  
I think you should at least read it.

Also on the guide, there is a search bar. Very useful to search for some information. Try with "network".

I'm sure you will find information you are looking for.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 20 mars 2014 à 18:26, Anikessh Jain [anikesshjain88@gmail.com](mailto:anikesshjain88@gmail.com) a écrit :

thnks for the info

how to run the service on ipv4 bcoz when i am starting ti is starting on ipv6 instead on ipv4 ,how do i change that

> On Thursday, March 20, 2014 10:30:35 PM UTC+5:30, David Pilato wrote:  
> I don't know.
> 
> So let me help you for elasticsearch:
> 
> wget [https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.tar.gz)  
> tar xzf elasticsearch-1.0.1.tar.gz  
> ./elasticsearch-1.0.1/bin/elasticsearch
> 
> And that's all!  
> This is basically what is written here: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html#setup-installation)
> 
> --  
> David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> @dadoonet | @elasticsearchfr
> 
> > Le 20 mars 2014 à 17:49:49, Anikessh Jain ([anikess...@gmail.com](mailto:anikess...@gmail.com)) a écrit:
> > 
> > Hi David,
> > 
> > But why do people download and install it through elasticsearch-servicewrapper ,does the leatest version supports it all bcoz i want to install kibana with logstash and redis with elasticsearch and i am a little bit confused will it work bcoz i have wasted my whole day on on error.please guide me what to do as i dont know what to do and doing it for first time
> > 
> > > On Thursday, March 20, 2014 10:11:52 PM UTC+5:30, David Pilato wrote:  
> > > First download a recent version. If you are starting with elasticsearch, you don't need to start with a so old version.  
> > > 1.0.1 is fine.
> > > 
> > > Then read the documentation here: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html)
> > > 
> > > No need to install so many pieces.
> > > 
> > > Unzip and launch. That's all.
> > > 
> > > --  
> > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > @dadoonet | @elasticsearchfr
> > > 
> > > > Le 20 mars 2014 à 17:06:12, Anikessh Jain ([anikess...@gmail.com](mailto:anikess...@gmail.com)) a écrit:
> > > > 
> > > > please help on the above error
> > > > 
> > > > > On Thursday, March 20, 2014 9:03:46 PM UTC+5:30, Anikessh Jain wrote:
> > > > > 
> > > > > > wget [https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz)  
> > > > > > tar xvf elasticsearch-0.20.2.tar.gz
> > > > > > 
> > > > > > mv elasticsearch-0.20.2 elasticsearch
> > > > > > 
> > > > > > wget [http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip](http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip)  
> > > > > > unzip master  
> > > > > > mv elasticsearch-servicewrapper-master/service/ elasticsearch/bin  
> > > > > > rm -rf master  
> > > > > > rm -rf elasticsearch-servicewrapper-master/
> > > > > > 
> > > > > > Configure ‘elasticsearch.conf’
> > > > > > 
> > > > > > set.default.ES\_HOME=/usr/local/elasticsearch  
> > > > > > set.default.ES\_HEAP\_SIZE=4096  
> > > > > > wrapper.java.additional.10=-Des.max-open-files=true
> > > > > > 
> > > > > > wrapper.logfile.maxsize=5m  
> > > > > > wrapper.logfile.maxfiles=5
> > > > > > 
> > > > > > Add ES home to root user’s ‘.bash\_profile’
> > > > > > 
> > > > > > # Elasticsearch
> > > > > > 
> > > > > > export ES\_HOME=/usr/local/elasticsearch
> > > > > > 
> > > > > > Create elasticsearch user
> > > > > > 
> > > > > > useradd -d /home/elasticsearch -s /bin/sh elasticsearch  
> > > > > > chown -R elasticsearch:elasticsearch $ES\_HOME  
> > > > > > chown -R elasticsearch:elasticsearch /mnt/storage/es-data
> > > > > > 
> > > > > > Edit elasticsearch user’s ‘.bash\_profile’
> > > > > > 
> > > > > > # .bash\_profile
> > > > > > 
> > > > > > # Get the aliases and functions
> > > > > > 
> > > > > > if [-f ~/.bashrc]; then  
> > > > > > . ~/.bashrc  
> > > > > > fi
> > > > > > 
> > > > > > # User specific environment and startup programs
> > > > > > 
> > > > > > PATH=$PATH:$HOME/bin
> > > > > > 
> > > > > > export PATH
> > > > > > 
> > > > > > # JAVA\_HOME needs to be the latest 1.7 JDK on the system
> > > > > > 
> > > > > > JAVA\_HOME=/usr/local/jdk7  
> > > > > > export JAVA\_HOME
> > > > > > 
> > > > > > #Add JAVA\_HOME to the PATH  
> > > > > > PATH=$JAVA\_HOME/bin:$PATH
> > > > > > 
> > > > > > # Elasticsearch
> > > > > > 
> > > > > > export ES\_HOME=/usr/local/elasticsearch
> > > > > > 
> > > > > > unset USERNAME
> > > > > > 
> > > > > > Edit ‘/etc/security/limits.conf’ (optional as this will be set in the service script, too)
> > > > > > 
> > > > > > elasticsearch soft nofile 65535  
> > > > > > elasticsearch hard nofile 65535
> > > > > > 
> > > > > > Verify the file descriptor limit
> > > > > > 
> > > > > > sudo -u elasticsearch -s ulimit -Sn
> > > > > > 
> > > > > > Install the service
> > > > > > 
> > > > > > bin/service/elasticsearch install
> > > > > > 
> > > > > > Edit ‘/etc/init.d/elasticsearch’
> > > > > > 
> > > > > > # Java
> > > > > > 
> > > > > > JAVA\_HOME=/usr/local/jdk7  
> > > > > > export JAVA\_HOME  
> > > > > > PATH=$JAVA\_HOME/bin:$PATH  
> > > > > > RUN\_AS\_USER=elasticsearch  
> > > > > > ULIMIT\_N=65535
> > > > > > 
> > > > > > Run the service  
> > > > > > bin/service/elasticsearch start  
> > > > > > or  
> > > > > > service elasticsearch start -\> here the above error i am getting can you please help me  
> > > > > > please help me what wrong i have done  
> > > > > > On Thursday, March 20, 2014 8:10:22 PM UTC+5:30, David Pilato wrote:  
> > > > > > What did you download?
> > > > > > 
> > > > > > --  
> > > > > > David 😉  
> > > > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > > > 
> > > > > > Le 20 mars 2014 à 14:54, Anikessh Jain [anikess...@gmail.com](mailto:anikess...@gmail.com) a écrit :
> > > > > > 
> > > > > > nobody there to help me , help me please i am in need
> > > > > > 
> > > > > > > On Thursday, March 20, 2014 3:31:42 PM UTC+5:30, Anikessh Jain wrote:  
> > > > > > > Can anybody help me it is a bit urgent .
> > > > > > > 
> > > > > > > > On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:  
> > > > > > > > Hi All.
> > > > > > > > 
> > > > > > > > I am a newbie to Elastic search and I am configuring Kibana with Logstash and Redis and Elasticsearch in Centos 32 Bit and when i am trying to start the service of Elasticsearch i am getting the below error
> > > > > > > > 
> > > > > > > > WrapperSimpleApp Error: Unable  
> > > > > > > > to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF
> > > > > > > > 
> > > > > > > > How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.  
> > > > > > > > --  
> > > > > > > > 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).  
> > > > > > > > To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com).  
> > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).  
> > > > > > > > --  
> > > > > > > > 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).  
> > > > > > > > To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com).  
> > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).  
> > > > > > > > --  
> > > > > > > > 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).  
> > > > > > > > To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com).  
> > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/ee2db8f2-6c77-41f5-9596-c0aa836b7d85%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ee2db8f2-6c77-41f5-9596-c0aa836b7d85%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/03CA74FA-FD9E-412B-B41D-38A35F70E75C%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/03CA74FA-FD9E-412B-B41D-38A35F70E75C%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [March 21, 2014, 2:06am UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/13 "2014-03-21T02:06:06Z")

</div>

Include -Djava.net.preferIPv4Stack=true to your JAVA\_OPTS environment  
variable before starting Elasticsearch. Also read up on the network page  
that David referred to:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

If you want a control wrapper around Elasticsearch, you might be better off  
installing via rpm/yum and not use the service wrapper.

Cheers,

Ivan

On Thu, Mar 20, 2014 at 10:26 AM, Anikessh Jain [anikesshjain88@gmail.com](mailto:anikesshjain88@gmail.com)wrote:

> thnks for the info
> 
> how to run the service on ipv4 bcoz when i am starting ti is starting on  
> ipv6 instead on ipv4 ,how do i change that
> 
> On Thursday, March 20, 2014 10:30:35 PM UTC+5:30, David Pilato wrote:
> 
> > I don't know.
> > 
> > So let me help you for elasticsearch:
> > 
> > wget [https://download.elasticsearch.org/elasticsearch/elasticsearch/](https://download.elasticsearch.org/elasticsearch/elasticsearch/)  
> > elasticsearch-1.0.1.tar.gz  
> > tar xzf elasticsearch-1.0.1.tar.gz  
> > ./elasticsearch-1.0.1/bin/elasticsearch
> > 
> > And that's all!  
> > This is basically what is written here: [http://www](http://www).  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/guide/en/elasticsearch/reference/)  
> > current/setup.html#setup-installation
> > 
> > --  
> > _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 20 mars 2014 à 17:49:49, Anikessh Jain ([anikess...@gmail.com](mailto:anikess...@gmail.com)) a écrit:
> > 
> > Hi David,
> > 
> > But why do people download and install it through  
> > elasticsearch-servicewrapper ,does the leatest version supports it all bcoz  
> > i want to install kibana with logstash and redis with elasticsearch and i  
> > am a little bit confused will it work bcoz i have wasted my whole day on on  
> > error.please guide me what to do as i dont know what to do and doing it for  
> > first time
> > 
> > On Thursday, March 20, 2014 10:11:52 PM UTC+5:30, David Pilato wrote:
> > 
> > > First download a recent version. If you are starting with  
> > > elasticsearch, you don't need to start with a so old version.  
> > > 1.0.1 is fine.
> > > 
> > > Then read the documentation here: [http://www](http://www).  
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html)
> > > 
> > > No need to install so many pieces.
> > > 
> > > Unzip and launch. That's all.
> > > 
> > > ```
> > > --
> > > 
> > > ```
> > > 
> > > _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 20 mars 2014 à 17:06:12, Anikessh Jain ([anikess...@gmail.com](mailto:anikess...@gmail.com)) a  
> > > écrit:
> > > 
> > > please help on the above error
> > > 
> > > On Thursday, March 20, 2014 9:03:46 PM UTC+5:30, Anikessh Jain wrote:
> > > 
> > > > wget [https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz)  
> > > > tar xvf elasticsearch-0.20.2.tar.gz
> > > > 
> > > > mv elasticsearch-0.20.2 elasticsearch
> > > > 
> > > > wget [http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip](http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip)  
> > > > unzip master  
> > > > mv elasticsearch-servicewrapper-master/service/ elasticsearch/bin  
> > > > rm -rf master  
> > > > rm -rf elasticsearch-servicewrapper-master/
> > > > 
> > > > Configure 'elasticsearch.conf'
> > > > 
> > > > set.default.ES\_HOME=/usr/local/elasticsearch  
> > > > set.default.ES\_HEAP\_SIZE=4096  
> > > > wrapper.java.additional.10=-Des.max-open-files=true
> > > > 
> > > > wrapper.logfile.maxsize=5m  
> > > > wrapper.logfile.maxfiles=5
> > > > 
> > > > Add ES home to root user's '.bash\_profile'
> > > > 
> > > > # Elasticsearch
> > > > 
> > > > export ES\_HOME=/usr/local/elasticsearch
> > > > 
> > > > Create elasticsearch user
> > > > 
> > > > useradd -d /home/elasticsearch -s /bin/sh elasticsearch  
> > > > chown -R elasticsearch:elasticsearch $ES\_HOME  
> > > > chown -R elasticsearch:elasticsearch /mnt/storage/es-data
> > > > 
> > > > Edit elasticsearch user's '.bash\_profile'
> > > > 
> > > > # .bash\_profile
> > > > 
> > > > # Get the aliases and functions
> > > > 
> > > > if [-f ~/.bashrc]; then  
> > > > . ~/.bashrc  
> > > > fi
> > > > 
> > > > # User specific environment and startup programs
> > > > 
> > > > PATH=$PATH:$HOME/bin
> > > > 
> > > > export PATH
> > > > 
> > > > # JAVA\_HOME needs to be the latest 1.7 JDK on the system
> > > > 
> > > > JAVA\_HOME=/usr/local/jdk7  
> > > > export JAVA\_HOME
> > > > 
> > > > #Add JAVA\_HOME to the PATH  
> > > > PATH=$JAVA\_HOME/bin:$PATH
> > > > 
> > > > # Elasticsearch
> > > > 
> > > > export ES\_HOME=/usr/local/elasticsearch
> > > > 
> > > > unset USERNAME
> > > > 
> > > > Edit '/etc/security/limits.conf' (optional as this will be set in the service script, too)
> > > > 
> > > > elasticsearch soft nofile 65535  
> > > > elasticsearch hard nofile 65535
> > > > 
> > > > Verify the file descriptor limit
> > > > 
> > > > sudo -u elasticsearch -s ulimit -Sn
> > > > 
> > > > Install the service
> > > > 
> > > > bin/service/elasticsearch install
> > > > 
> > > > Edit '/etc/init.d/elasticsearch'
> > > > 
> > > > # Java
> > > > 
> > > > JAVA\_HOME=/usr/local/jdk7  
> > > > export JAVA\_HOME  
> > > > PATH=$JAVA\_HOME/bin:$PATH  
> > > > RUN\_AS\_USER=elasticsearch  
> > > > ULIMIT\_N=65535
> > > > 
> > > > Run the service
> > > > 
> > > > bin/service/elasticsearch start  
> > > > or  
> > > > service elasticsearch start -\> here the above error i am getting can you please help me
> > > > 
> > > > ```
> > > > please help me what wrong i have done
> > > > 
> > > > ```
> > > > 
> > > > On Thursday, March 20, 2014 8:10:22 PM UTC+5:30, David Pilato  
> > > > wrote:
> > > > 
> > > > > What did you download?
> > > > > 
> > > > > --  
> > > > > David 😉  
> > > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > > 
> > > > > Le 20 mars 2014 à 14:54, Anikessh Jain [anikess...@gmail.com](mailto:anikess...@gmail.com) a  
> > > > > écrit :
> > > > > 
> > > > > nobody there to help me , help me please i am in need
> > > > > 
> > > > > On Thursday, March 20, 2014 3:31:42 PM UTC+5:30, Anikessh Jain wrote:
> > > > > 
> > > > > > Can anybody help me it is a bit urgent .
> > > > > > 
> > > > > > On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote:
> > > > > > 
> > > > > > > Hi All.
> > > > > > > 
> > > > > > > I am a newbie to Elastic search and I am configuring Kibana with  
> > > > > > > Logstash and Redis and Elasticsearch in Centos 32 Bit and when i am  
> > > > > > > trying to start the service of Elasticsearch i am getting the below error
> > > > > > > 
> > > > > > > WrapperSimpleApp Error: Unable
> > > > > > > 
> > > > > > > to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF
> > > > > > > 
> > > > > > > How to solve the above error ,i tried many steps but no use but of no help, have anybody face the same issue please help me.
> > > > > > > 
> > > > > > > --  
> > > > > > > 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).  
> > > > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > > > msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%  
> > > > > > > [40googlegroups.com](http://40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > .  
> > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > 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).  
> > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%  
> > > > [40googlegroups.com](http://40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/221d4092-88ec-405d-a9b1-4cae1ce1d3cf%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > .  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > 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).  
> > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > msgid/elasticsearch/7519f960-95a4-459e-b8bc-bc73dd0130fd%  
> > > [40googlegroups.com](http://40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7519f960-95a4-459e-b8bc-bc73dd0130fd%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > 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/ee2db8f2-6c77-41f5-9596-c0aa836b7d85%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ee2db8f2-6c77-41f5-9596-c0aa836b7d85%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/ee2db8f2-6c77-41f5-9596-c0aa836b7d85%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ee2db8f2-6c77-41f5-9596-c0aa836b7d85%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CALY%3DcQB0S6mf0ebBUdr7gkk6j\_6TELvMkO9us0zMts3NBfA4-g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQB0S6mf0ebBUdr7gkk6j_6TELvMkO9us0zMts3NBfA4-g%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:41am UTC](https://discuss.elastic.co/t/elasticsearch-error-of-class-not-found/16490/14 "2017-07-06T01:41:44Z")

</div>


