# Logstash installation on older version

**URL:** <https://discuss.elastic.co/t/logstash-installation-on-older-version/199771>\
**Category:** Logstash\
**Created:** [September 17, 2019, 7:37am UTC](https://discuss.elastic.co/t/logstash-installation-on-older-version/199771 "2019-09-17T07:37:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![skyluke.1987](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@skyluke.1987](https://discuss.elastic.co/u/skyluke.1987)\
**Post date:** [September 17, 2019, 7:37am UTC](https://discuss.elastic.co/t/logstash-installation-on-older-version/199771/1 "2019-09-17T07:37:49Z")

</div>

Hi how can I install Logstash 7.1.1 on Centos 6.10 ? So far cant get any guide on this.

Reason, my other servers are using Kibana and ES version 7.1.1. Thanks

---

<div class="post-metadata">

**Author:** ![skyluke.1987](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@skyluke.1987](https://discuss.elastic.co/u/skyluke.1987)\
**Post date:** [September 17, 2019, 9:09am UTC](https://discuss.elastic.co/t/logstash-installation-on-older-version/199771/2 "2019-09-17T09:09:27Z")

</div>

When I do the installation steps, it prompt me with this:

```
sudo rpm --install logstash-7.1.1.rpm
        package logstash-1:7.1.1-1.noarch is already installed

```

How am I able to overcome this? Besides that, do I need to install the ES on the server for logstash to work? As I am planning for this logstash to collect data and send it over to other server to be stored on ES.

---

<div class="post-metadata">

**Author:** ![skyluke.1987](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@skyluke.1987](https://discuss.elastic.co/u/skyluke.1987)\
**Post date:** [October 14, 2019, 8:11am UTC](https://discuss.elastic.co/t/logstash-installation-on-older-version/199771/3 "2019-10-14T08:11:28Z")

</div>

```
/usr/share/logstash/conf.d# /usr/share/logstash/bin/logstash -f /usr/share/logstash/conf.d/logstash.conf
Picked up _JAVA_OPTIONS: -Xmx9g
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/usr/share/logstash/logstash-core/lib/jars/jruby-complete-9.2.7.0.jar) to field java.io.FileDescriptor.fd
WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Thread.exclusive is deprecated, use Thread::Mutex
WARNING: Could not find logstash.yml which is typically located in $LS_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console
[WARN] 2019-10-14 16:09:17.638 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified
[FATAL] 2019-10-14 16:09:17.656 [LogStash::Runner] runner - Logstash could not be started because there is already another instance using the configured data directory. If you wish to run multiple instances, you must change the "path.data" setting.
[ERROR] 2019-10-14 16:09:17.660 [LogStash::Runner] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

```

Dear all please advise. If I am executing the command from /usr/share/logstash folder, do I still need to use "/usr/share/logstash/bin/logstash -f /usr/share/logstash/conf.d/logstash.conf"

---

<div class="post-metadata">

**Author:** ![skyluke.1987](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@skyluke.1987](https://discuss.elastic.co/u/skyluke.1987)\
**Post date:** [October 21, 2019, 2:39am UTC](https://discuss.elastic.co/t/logstash-installation-on-older-version/199771/4 "2019-10-21T02:39:17Z")

</div>

Logstash Logs folder access rights, is it correct?

```
-rwxrw-r-- 1 logstash logstash 0 Oct 14 15:13 logstash-slowlog-plain.log
-rwxrw-r-- 1 logstash logstash 56753 Oct 14 15:53 logstash-plain.log
drwxr-xr-x 2 logstash logstash 4096 Oct 15 17:44 queue
drwxr-xr-x 2 logstash logstash 4096 Oct 15 17:44 dead_letter_queue
-rw-r--r-- 1 logstash logstash 36 Oct 15 17:44 uuid
```

---

<div class="post-metadata">

**Author:** ![skyluke.1987](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@skyluke.1987](https://discuss.elastic.co/u/skyluke.1987)\
**Post date:** [October 22, 2019, 3:38am UTC](https://discuss.elastic.co/t/logstash-installation-on-older-version/199771/5 "2019-10-22T03:38:11Z")

</div>

Does any expert can help to advise why my Logstash process keep restarting ?

---

<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:** [November 19, 2019, 3:38am UTC](https://discuss.elastic.co/t/logstash-installation-on-older-version/199771/6 "2019-11-19T03:38:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
