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]
`