# Run ElasticSearch in background

**URL:** <https://discuss.elastic.co/t/run-elasticsearch-in-background/4909>\
**Category:** Elasticsearch\
**Created:** [July 20, 2011, 3:22pm UTC](https://discuss.elastic.co/t/run-elasticsearch-in-background/4909 "2011-07-20T15:22:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kartavya](https://avatars.discourse-cdn.com/v4/letter/k/65b543/32.png) [@Kartavya](https://discuss.elastic.co/u/Kartavya)\
**Post date:** [July 20, 2011, 3:22pm UTC](https://discuss.elastic.co/t/run-elasticsearch-in-background/4909/1 "2011-07-20T15:22:53Z")

</div>

Hi

How to run elastic search in background on unix platform.

I am not able to run the same as service.

Please help.

Regards,  
Pulkit Agrawal

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [July 20, 2011, 3:25pm UTC](https://discuss.elastic.co/t/run-elasticsearch-in-background/4909/2 "2011-07-20T15:25:19Z")

</div>

On Wed, 2011-07-20 at 20:52 +0530, Pulkit Agrawal wrote:

> Hi
> 
> How to run Elasticsearch in background on unix platform.
> 
> I am not able to run the same as service.

> **[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.

clint

---

<div class="post-metadata">

**Author:** ![Kartavya](https://avatars.discourse-cdn.com/v4/letter/k/65b543/32.png) [@Kartavya](https://discuss.elastic.co/u/Kartavya)\
**Post date:** [July 20, 2011, 3:34pm UTC](https://discuss.elastic.co/t/run-elasticsearch-in-background/4909/3 "2011-07-20T15:34:34Z")

</div>

wget  
[http://github.com/elasticsearch/elasticsearch-servicewrapper/zipball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/zipball/master)

But I am getting 502 bad request.  
Any idea.

Thanks

On Wed, Jul 20, 2011 at 8:55 PM, Clinton Gormley [clinton@iannounce.co.uk](mailto:clinton@iannounce.co.uk)wrote:

> On Wed, 2011-07-20 at 20:52 +0530, Pulkit Agrawal wrote:
> 
> > Hi
> > 
> > How to run Elasticsearch in background on unix platform.
> > 
> > I am not able to run the same as service.
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/2010/07/01/setting-up-elasticsearch.html)
> 
> clint

---

<div class="post-metadata">

**Author:** ![Paul\_Loy](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@Paul\_Loy](https://discuss.elastic.co/u/Paul_Loy)\
**Post date:** [July 20, 2011, 3:36pm UTC](https://discuss.elastic.co/t/run-elasticsearch-in-background/4909/4 "2011-07-20T15:36:06Z")

</div>

works fine in FF

On Wed, Jul 20, 2011 at 4:34 PM, Pulkit Agrawal [pulkitdotcom@gmail.com](mailto:pulkitdotcom@gmail.com)wrote:

> wget  
> [http://github.com/elasticsearch/elasticsearch-servicewrapper/zipball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/zipball/master)
> 
> But I am getting 502 bad request.  
> Any idea.
> 
> Thanks
> 
> On Wed, Jul 20, 2011 at 8:55 PM, Clinton Gormley [clinton@iannounce.co.uk](mailto:clinton@iannounce.co.uk)wrote:
> 
> > On Wed, 2011-07-20 at 20:52 +0530, Pulkit Agrawal wrote:
> > 
> > > Hi
> > > 
> > > How to run Elasticsearch in background on unix platform.
> > > 
> > > I am not able to run the same as service.
> > 
> > [Elastic — The Search AI Company | Elastic](http://www.elasticsearch.org/tutorials/2010/07/01/setting-up-elasticsearch.html)
> > 
> > clint

## --

Paul Loy  
[paul@keteracel.com](mailto:paul@keteracel.com)  
[http://uk.linkedin.com/in/paulloy](http://uk.linkedin.com/in/paulloy)

---

<div class="post-metadata">

**Author:** ![Kartavya](https://avatars.discourse-cdn.com/v4/letter/k/65b543/32.png) [@Kartavya](https://discuss.elastic.co/u/Kartavya)\
**Post date:** [July 20, 2011, 4:03pm UTC](https://discuss.elastic.co/t/run-elasticsearch-in-background/4909/5 "2011-07-20T16:03:26Z")

</div>

Tried again but still Bad request error ☹

Please help

Regards,  
Pulkit Agrawal

On Wed, Jul 20, 2011 at 9:06 PM, Paul Loy [keteracel@gmail.com](mailto:keteracel@gmail.com) wrote:

> works fine in FF
> 
> On Wed, Jul 20, 2011 at 4:34 PM, Pulkit Agrawal [pulkitdotcom@gmail.com](mailto:pulkitdotcom@gmail.com)wrote:
> 
> > wget  
> > [http://github.com/elasticsearch/elasticsearch-servicewrapper/zipball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/zipball/master)
> > 
> > But I am getting 502 bad request.  
> > Any idea.
> > 
> > Thanks
> > 
> > On Wed, Jul 20, 2011 at 8:55 PM, Clinton Gormley \<[clinton@iannounce.co.uk](mailto:clinton@iannounce.co.uk)
> > 
> > > wrote:
> > 
> > > On Wed, 2011-07-20 at 20:52 +0530, Pulkit Agrawal wrote:
> > > 
> > > > Hi
> > > > 
> > > > How to run Elasticsearch in background on unix platform.
> > > > 
> > > > I am not able to run the same as service.
> > > 
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/2010/07/01/setting-up-elasticsearch.html)
> > > 
> > > clint
> 
> ## --
> 
> Paul Loy  
> [paul@keteracel.com](mailto:paul@keteracel.com)  
> [http://uk.linkedin.com/in/paulloy](http://uk.linkedin.com/in/paulloy)

---

<div class="post-metadata">

**Author:** ![Paul\_Loy](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@Paul\_Loy](https://discuss.elastic.co/u/Paul_Loy)\
**Post date:** [July 20, 2011, 4:37pm UTC](https://discuss.elastic.co/t/run-elasticsearch-in-background/4909/6 "2011-07-20T16:37:19Z")

</div>

use something that follows the redirect correctly. like Firefox.

On Wed, Jul 20, 2011 at 5:03 PM, Pulkit Agrawal [pulkitdotcom@gmail.com](mailto:pulkitdotcom@gmail.com)wrote:

> Tried again but still Bad request error ☹
> 
> Please help
> 
> Regards,  
> Pulkit Agrawal
> 
> On Wed, Jul 20, 2011 at 9:06 PM, Paul Loy [keteracel@gmail.com](mailto:keteracel@gmail.com) wrote:
> 
> > works fine in FF
> > 
> > On Wed, Jul 20, 2011 at 4:34 PM, Pulkit Agrawal [pulkitdotcom@gmail.com](mailto:pulkitdotcom@gmail.com)wrote:
> > 
> > > wget  
> > > [http://github.com/elasticsearch/elasticsearch-servicewrapper/zipball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/zipball/master)
> > > 
> > > But I am getting 502 bad request.  
> > > Any idea.
> > > 
> > > Thanks
> > > 
> > > On Wed, Jul 20, 2011 at 8:55 PM, Clinton Gormley \<  
> > > [clinton@iannounce.co.uk](mailto:clinton@iannounce.co.uk)\> wrote:
> > > 
> > > > On Wed, 2011-07-20 at 20:52 +0530, Pulkit Agrawal wrote:
> > > > 
> > > > > Hi
> > > > > 
> > > > > How to run Elasticsearch in background on unix platform.
> > > > > 
> > > > > I am not able to run the same as service.
> > > > 
> > > > [Elastic — The Search AI Company | Elastic](http://www.elasticsearch.org/tutorials/2010/07/01/setting-up-elasticsearch.html)
> > > > 
> > > > clint
> > 
> > ## --
> > 
> > Paul Loy  
> > [paul@keteracel.com](mailto:paul@keteracel.com)  
> > [Paul Loy - Amihan Entertainment | LinkedIn](http://uk.linkedin.com/in/paulloy)

## --

Paul Loy  
[paul@keteracel.com](mailto:paul@keteracel.com)  
[http://uk.linkedin.com/in/paulloy](http://uk.linkedin.com/in/paulloy)

---

<div class="post-metadata">

**Author:** ![Kartavya](https://avatars.discourse-cdn.com/v4/letter/k/65b543/32.png) [@Kartavya](https://discuss.elastic.co/u/Kartavya)\
**Post date:** [July 20, 2011, 5:00pm UTC](https://discuss.elastic.co/t/run-elasticsearch-in-background/4909/7 "2011-07-20T17:00:30Z")

</div>

Thank you very much Paul.  
It works.

On Wed, Jul 20, 2011 at 10:07 PM, Paul Loy [keteracel@gmail.com](mailto:keteracel@gmail.com) wrote:

> use something that follows the redirect correctly. like Firefox.
> 
> On Wed, Jul 20, 2011 at 5:03 PM, Pulkit Agrawal [pulkitdotcom@gmail.com](mailto:pulkitdotcom@gmail.com)wrote:
> 
> > Tried again but still Bad request error ☹
> > 
> > Please help
> > 
> > Regards,  
> > Pulkit Agrawal
> > 
> > On Wed, Jul 20, 2011 at 9:06 PM, Paul Loy [keteracel@gmail.com](mailto:keteracel@gmail.com) wrote:
> > 
> > > works fine in FF
> > > 
> > > On Wed, Jul 20, 2011 at 4:34 PM, Pulkit Agrawal [pulkitdotcom@gmail.com](mailto:pulkitdotcom@gmail.com)wrote:
> > > 
> > > > wget  
> > > > [http://github.com/elasticsearch/elasticsearch-servicewrapper/zipball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/zipball/master)
> > > > 
> > > > But I am getting 502 bad request.  
> > > > Any idea.
> > > > 
> > > > Thanks
> > > > 
> > > > On Wed, Jul 20, 2011 at 8:55 PM, Clinton Gormley \<  
> > > > [clinton@iannounce.co.uk](mailto:clinton@iannounce.co.uk)\> wrote:
> > > > 
> > > > > On Wed, 2011-07-20 at 20:52 +0530, Pulkit Agrawal wrote:
> > > > > 
> > > > > > Hi
> > > > > > 
> > > > > > How to run Elasticsearch in background on unix platform.
> > > > > > 
> > > > > > I am not able to run the same as service.
> > > > > 
> > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/2010/07/01/setting-up-elasticsearch.html)
> > > > > 
> > > > > clint
> > > 
> > > ## --
> > > 
> > > Paul Loy  
> > > [paul@keteracel.com](mailto:paul@keteracel.com)  
> > > [http://uk.linkedin.com/in/paulloy](http://uk.linkedin.com/in/paulloy)
> 
> ## --
> 
> Paul Loy  
> [paul@keteracel.com](mailto:paul@keteracel.com)  
> [http://uk.linkedin.com/in/paulloy](http://uk.linkedin.com/in/paulloy)

---

<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, 4:00am UTC](https://discuss.elastic.co/t/run-elasticsearch-in-background/4909/8 "2017-07-06T04:00:00Z")

</div>


