# Service start hangs

**URL:** <https://discuss.elastic.co/t/service-start-hangs/11910>\
**Category:** Elasticsearch\
**Created:** [May 10, 2013, 2:15am UTC](https://discuss.elastic.co/t/service-start-hangs/11910 "2013-05-10T02:15:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dongsheng\_Wang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dongsheng_wang/32/2338_2.png) [@Dongsheng\_Wang](https://discuss.elastic.co/u/Dongsheng_Wang)\
**Post date:** [May 10, 2013, 2:15am UTC](https://discuss.elastic.co/t/service-start-hangs/11910/1 "2013-05-10T02:15:43Z")

</div>

It is a weired problem. I can start elasticsearch with

```
sudo service elasticsearch console

```

And everything works, but when I use

```
sudo service elasticsearch start

```

Sometime it fail without much information or it just hangs. Any suggestions  
how to debug this? There is also no logs information in the system and  
application logs. Very strange.

ds

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [May 10, 2013, 7:32am UTC](https://discuss.elastic.co/t/service-start-hangs/11910/2 "2013-05-10T07:32:24Z")

</div>

Hey,

adding 'set -x' to your service wrapper shell script prints out every  
command executed, so you might be able to see, where the script hangs.  
Maybe if you can find out, where it hangs, we might be able to help a bit  
better.

--Alex

On Fri, May 10, 2013 at 4:15 AM, Dongsheng Wang [dongsheng@gmail.com](mailto:dongsheng@gmail.com) wrote:

> It is a weired problem. I can start elasticsearch with
> 
> ```
> sudo service elasticsearch console
> 
> ```
> 
> And everything works, but when I use
> 
> ```
> sudo service elasticsearch start
> 
> ```
> 
> Sometime it fail without much information or it just hangs. Any  
> suggestions how to debug this? There is also no logs information in the  
> system and application logs. Very strange.
> 
> ds
> 
> --  
> 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).  
> 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).  
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, 2:37am UTC](https://discuss.elastic.co/t/service-start-hangs/11910/3 "2017-07-06T02:37:13Z")

</div>

Closed on July 6, 2017, 2:37am UTC


