Metricbeat : cannot execute binary file in RHEL/Centos
You'll encounter this problem when trying run the metricbeat binary file for Operation.
-bash: ./metricbeat: cannot execute binary file
This means the binary file you are trying to execute in not supported to your system type. You have downloaded the wrong metricbeat file. If you are using RHEL/Centos then downloaded the following package and install it.
RHEL/CentOS
curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-6.6.0-x86_64.rpm
sudo rpm -vi metricbeat-6.6.0-x86_64.rpm
For MacOS
curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-6.6.0-darwin-x86_64.tar.gz
tar xzvf metricbeat-6.6.0-darwin-x86_64.tar.gz
For Debian:
curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-6.6.0-amd64.deb
sudo dpkg -i metricbeat-6.6.0-amd64.deb
0 Comments