Logstash as service on red hat 5 error?

I am trying to run logstash 1.4.1 as a service on my red hat 5.3. So I do
the following

rpm -ivh logstash-1.4.1-1_bd507eb.
noarch.rpm

when I run *service logstash start *it gives logstash started and when I
check *service logstash status *it gives logstash is not running.

I check /var/log/logstash/logstash.err and it has:

chroot: invalid option -- -Try `chroot --help' for more information.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4d46241f-ba73-44ee-a993-cb88b23b474a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You'd better ask on logstash mailing list IMO.
https://groups.google.com/forum/m/#!forum/logstash-users

Best.

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

Le 4 janv. 2015 à 16:19, Siddharth Trikha siddharthtrikha9@gmail.com a écrit :

I am trying to run logstash 1.4.1 as a service on my red hat 5.3. So I do the following

rpm -ivh logstash-1.4.1-1_bd507eb.
noarch.rpm

when I run service logstash start it gives logstash started and when I check service logstash status it gives logstash is not running.

I check /var/log/logstash/logstash.err and it has:

chroot: invalid option -- -
Try `chroot --help' for more information.

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4d46241f-ba73-44ee-a993-cb88b23b474a%40googlegroups.com.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/074EA0FB-6D6C-481A-A2D3-A9262E70F3F7%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

chroot on RHEL5 does not support --userspec.

For a solution, see

Jörg

On Sun, Jan 4, 2015 at 4:19 PM, Siddharth Trikha <siddharthtrikha9@gmail.com

wrote:

I am trying to run logstash 1.4.1 as a service on my red hat 5.3. So I do
the following

rpm -ivh logstash-1.4.1-1_bd507eb.
noarch.rpm

when I run *service logstash start *it gives logstash started and when I
check *service logstash status *it gives logstash is not running.

I check /var/log/logstash/logstash.err and it has:

chroot: invalid option -- -Try `chroot --help' for more information.

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/4d46241f-ba73-44ee-a993-cb88b23b474a%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/4d46241f-ba73-44ee-a993-cb88b23b474a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGxygGRvPw8bXAkmW7zskOypaN3utN8PanTtNXBhb0L%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.