Service start hangs

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.
For more options, visit https://groups.google.com/groups/opt_out.

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 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.
For more options, visit 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.
For more options, visit https://groups.google.com/groups/opt_out.