# Elasticsearch installation issues on RHEL6

**URL:** https://discuss.elastic.co/t/elasticsearch-installation-issues-on-rhel6/216374
**Category:** Elasticsearch
**Created:** [January 24, 2020, 7:09am UTC](https://discuss.elastic.co/t/elasticsearch-installation-issues-on-rhel6/216374 "2020-01-24T07:09:24Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Shreya](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@Shreya](https://discuss.elastic.co/u/Shreya)
#### Post date: [January 24, 2020, 7:09am UTC](https://discuss.elastic.co/t/elasticsearch-installation-issues-on-rhel6/216374/1 "2020-01-24T07:09:24Z")

</div>

I am facing the following issue while installing Elasticsearch. Kindly help.

`[root@abc log]# yum install -y elasticsearch  
Setting up Install Process  
Filebeat-7.x | 1.3 kB 00:00  
Filebeat-7.x/primary | 95 kB 00:00  
Filebeat-7.x 261/261  
Kibana-7.x | 1.3 kB 00:00  
Kibana-7.x/primary | 95 kB 00:00  
Kibana-7.x 261/261  
Logstash-7.x | 1.3 kB 00:00  
Logstash-7.x/primary | 95 kB 00:00  
Logstash-7.x 261/261  
elasticsearch-7.x | 1.3 kB 00:00  
elasticsearch-7.x/primary | 95 kB 00:00  
elasticsearch-7.x 261/261  
Resolving Dependencies  
--\> Running transaction check  
---\> Package elasticsearch.x86\_64 0:7.5.2-1 will be installed  
--\> Finished Dependency Resolution

Dependencies Resolved

# =============================================================================== Package Arch Version Repository Size

Installing:  
elasticsearch x86\_64 7.5.2-1 Filebeat-7.x 277 M

# Transaction Summary

Install 1 Package(s)

Total download size: 277 M  
Installed size: 468 M  
Downloading Packages:  
elasticsearch-7.5.2-x86\_64.rpm | 277 MB 00:20  
Running rpm\_check\_debug  
Running Transaction Test  
Transaction Test Succeeded  
Running Transaction  
Warning: RPMDB altered outside of yum.  
\*\* Found 40 pre-existing rpmdb problem(s), 'yum check' output follows:  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libGL.so.1()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libXi.so.6()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libXtst.so.6()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libXxf86vm.so.1()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libasound.so.2()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libasound.so.2(ALSA\_0.9)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libasound.so.2(ALSA\_0.9.0rc4)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libatk-1.0.so.0()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavcodec-ffmpeg.so.56()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavcodec-ffmpeg.so.56(LIBAVCODEC\_FFMPEG\_56)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavcodec.so.53()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavcodec.so.53(LIBAVCODEC\_53)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavcodec.so.54()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavcodec.so.54(LIBAVCODEC\_54)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavcodec.so.55()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavcodec.so.55(LIBAVCODEC\_55)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavcodec.so.56()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavcodec.so.56(LIBAVCODEC\_56)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavformat-ffmpeg.so.56()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavformat-ffmpeg.so.56(LIBAVFORMAT\_FFMPEG\_56)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavformat.so.53()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavformat.so.53(LIBAVFORMAT\_53)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavformat.so.54()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavformat.so.54(LIBAVFORMAT\_54)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavformat.so.55()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavformat.so.55(LIBAVFORMAT\_55)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavformat.so.56()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libavformat.so.56(LIBAVFORMAT\_56)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libcairo.so.2()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libgdk-x11-2.0.so.0()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libgdk\_pixbuf-2.0.so.0()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libgtk-x11-2.0.so.0()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libpango-1.0.so.0()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libpangocairo-1.0.so.0()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libpangoft2-1.0.so.0()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libxslt.so.1()(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libxslt.so.1(LIBXML2\_1.0.11)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libxslt.so.1(LIBXML2\_1.0.22)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libxslt.so.1(LIBXML2\_1.0.24)(64bit)  
casagent-6.0.el6-pkg.x86\_64 has missing requires of libxslt.so.1(LIBXML2\_1.1.9)(64bit)  
Creating elasticsearch group... OK  
Installing : elasticsearch-7.5.2-1.x86\_64 1/1

### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using chkconfig

sudo chkconfig --add elasticsearch

### You can start elasticsearch service by executing

sudo service elasticsearch start  
Created elasticsearch keystore in /etc/elasticsearch  
Verifying : elasticsearch-7.5.2-1.x86\_64 1/1

Installed:  
elasticsearch.x86\_64 0:7.5.2-1

Complete!  
[root@abc log]# sudo service elasticsearch start  
Starting elasticsearch: /usr/share/elasticsearch/bin/elasticsearch-env: line 75: /etc/sysconfig/elasticsearch: Permission denied  
[FAILED]  
`

---

<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: [January 27, 2020, 10:39am UTC](https://discuss.elastic.co/t/elasticsearch-installation-issues-on-rhel6/216374/2 "2020-01-27T10:39:42Z")

</div>

Can you share ther permissions of that file on your system?

Also what operating system are you trying to install Elasticsearch on?

---

<div class="post-metadata">

### Author: ![Shreya](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@Shreya](https://discuss.elastic.co/u/Shreya)
#### Post date: [January 28, 2020, 7:21am UTC](https://discuss.elastic.co/t/elasticsearch-installation-issues-on-rhel6/216374/3 "2020-01-28T07:21:38Z")

</div>

Hello. I changed the permissions of all the files that it wan't able to access. It then started running but then within a few seconds stopped and the message displayed was:

```
ERROR: [2] bootstrap checks failed
[1]: max number of threads [1024] for user [elasticsearch] is too low, increase to at least [4096]
[2]: system call filters failed to install; check the logs and fix your configuration or disable 
      system call filters at your own risk

```

My OS is RHEL6

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 28, 2020, 9:02am UTC](https://discuss.elastic.co/t/elasticsearch-installation-issues-on-rhel6/216374/4 "2020-01-28T09:02:17Z")

</div>

Please read [https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html)

---

<div class="post-metadata">

### Author: ![Shreya](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@Shreya](https://discuss.elastic.co/u/Shreya)
#### Post date: [January 30, 2020, 11:43am UTC](https://discuss.elastic.co/t/elasticsearch-installation-issues-on-rhel6/216374/5 "2020-01-30T11:43:37Z")

</div>

Hello @dadoonet, I tried it but didn't work out.

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 30, 2020, 11:56am UTC](https://discuss.elastic.co/t/elasticsearch-installation-issues-on-rhel6/216374/6 "2020-01-30T11:56:02Z")

</div>

I'm not expert on those settings but if you need more help, you need to explain what you did and what are the logs.

---

<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: [February 27, 2020, 11:56am UTC](https://discuss.elastic.co/t/elasticsearch-installation-issues-on-rhel6/216374/7 "2020-02-27T11:56:06Z")

</div>

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