# Problems while trying to run elastic 0.19.9 under Linux (CentOS) and Mac OS X

**URL:** <https://discuss.elastic.co/t/problems-while-trying-to-run-elastic-0-19-9-under-linux-centos-and-mac-os-x/9123>\
**Category:** Elasticsearch\
**Created:** [September 24, 2012, 7:57pm UTC](https://discuss.elastic.co/t/problems-while-trying-to-run-elastic-0-19-9-under-linux-centos-and-mac-os-x/9123 "2012-09-24T19:57:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mario\_Bittencourt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_bittencourt/32/2705_2.png) [@Mario\_Bittencourt](https://discuss.elastic.co/u/Mario_Bittencourt)\
**Post date:** [September 24, 2012, 7:57pm UTC](https://discuss.elastic.co/t/problems-while-trying-to-run-elastic-0-19-9-under-linux-centos-and-mac-os-x/9123/1 "2012-09-24T19:57:40Z")

</div>

Hi,

I am facing a strange problem : my elastic search server does not start up

- I've downloaded the 0.19.9 tar.gz under my VM (CentOS 6)
- I've edited the .yml to set the number of replicas to 0.
- I've set my var ES\_MIN and ES\_MAX

export ES\_MIN\_MEM=256m  
export ES\_MAX\_MEM=1024m

When I try to run

./elasticsearch -f  
{0.19.9}: Setup Failed ...

- ArrayIndexOutOfBoundsException[0]

--

---

<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:** [September 24, 2012, 8:48pm UTC](https://discuss.elastic.co/t/problems-while-trying-to-run-elastic-0-19-9-under-linux-centos-and-mac-os-x/9123/2 "2012-09-24T20:48:03Z")

</div>

Not really enough information here to help you. Perhaps you could gist you  
elasticsearch.yml file?

But, just check that you have at least one space character before

index.number\_of\_replicas: 1

As far as I remember I get errors when removing the space before index…

Not sure it will help you.

David.

De : [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com) [[mailto:elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)]  
De la part de Mario Bittencourt  
Envoyé : lundi 24 septembre 2012 21:58  
À : [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)  
Objet : Problems while trying to run elastic 0.19.9 under Linux (CentOS) and  
Mac OS X

Hi,

I am facing a strange problem : my elastic search server does not start up

- I've downloaded the 0.19.9 tar.gz under my VM (CentOS 6)

- I've edited the .yml to set the number of replicas to 0.

- I've set my var ES\_MIN and ES\_MAX

export ES\_MIN\_MEM=256m

export ES\_MAX\_MEM=1024m

When I try to run

./elasticsearch -f

{0.19.9}: Setup Failed ...

- ArrayIndexOutOfBoundsException[0]

--

--

---

<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, 3:11am UTC](https://discuss.elastic.co/t/problems-while-trying-to-run-elastic-0-19-9-under-linux-centos-and-mac-os-x/9123/3 "2017-07-06T03:11:40Z")

</div>

Closed on July 6, 2017, 3:11am UTC


