# Cant start Filebeat after installing newer version

**URL:** <https://discuss.elastic.co/t/cant-start-filebeat-after-installing-newer-version/231374>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 6, 2020, 3:36pm UTC](https://discuss.elastic.co/t/cant-start-filebeat-after-installing-newer-version/231374 "2020-05-06T15:36:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deny7](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Deny7](https://discuss.elastic.co/u/Deny7)\
**Post date:** [May 6, 2020, 3:36pm UTC](https://discuss.elastic.co/t/cant-start-filebeat-after-installing-newer-version/231374/1 "2020-05-06T15:36:50Z")

</div>

**OS: Centos 7**

Hi, I just uninstalled Filebeat 6.6.2 and installed newest version 7.6.2 - filebeat- **oss** -7.6.2-i686.rpm. Starting service gives me error which will log only to **/etc/log/messages** not to **/etc/log/filebeat** - this log is empty. I did **systemctl daemon-reload** and tried to reinstall multiple times using **yum remove** and **rpm --install**. Error:

```
May 6 15:06:36 H-BE-KRAM systemd: Started Filebeat sends log files to Logstash or directly to Elasticsearch..
May 6 15:06:36 H-BE-KRAM systemd: Failed at step EXEC spawning /usr/share/filebeat/bin/filebeat: No such file or directory
May 6 15:06:36 H-BE-KRAM systemd: filebeat.service: main process exited, code=exited, status=203/EXEC.

```

The file **/usr/share/filebeat/bin/filebeat exists**. Can somebody help me?

My filebeat.service:

```
[Unit]
Description=Filebeat sends log files to Logstash or directly to Elasticsearch.
Documentation=https://www.elastic.co/products/beats/filebeat
Wants=network-online.target
After=network-online.target
[Service]
Environment="BEAT_LOG_OPTS=-e"
Environment="BEAT_CONFIG_OPTS=-c /etc/filebeat/filebeat.yml"
Environment="BEAT_PATH_OPTS=-path.home /usr/share/filebeat -path.config /etc/filebeat -path.data /var/lib/filebeat -path.logs /var/log/filebeat"
ExecStart=/usr/share/filebeat/bin/filebeat $BEAT_LOG_OPTS $BEAT_CONFIG_OPTS $BEAT_PATH_OPTS
Restart=always
[Install]
WantedBy=multi-user.target
```

---

<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:** [June 3, 2020, 3:36pm UTC](https://discuss.elastic.co/t/cant-start-filebeat-after-installing-newer-version/231374/2 "2020-06-03T15:36:50Z")

</div>

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