# Ubuntu Sidecar installer problems

**URL:** <https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910>\
**Category:** Graylog Central (peer support)\
**Tags:** sidecar, filebeat-linux, nosendlogfblx\
**Created:** [October 24, 2017, 5:33pm UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910 "2017-10-24T17:33:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgingerich](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@dgingerich](https://community.graylog.org/u/dgingerich)\
**Post date:** [October 24, 2017, 5:33pm UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910/1 "2017-10-24T17:33:02Z")

</div>

I have a fresh built VM running Ubuntu 16.04.2, and then installed the Sidecar collector v0.1.4-1. the sidecar collector service refuses to run, stating “[filebeat] Backend finished unexpectedly, trying to restart” three times, and then quitting.

Is there something I can do to fix this?

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [October 24, 2017, 9:00pm UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910/2 "2017-10-24T21:00:37Z")

</div>

Please post the complete contents of the logs of the Collector Sidecar.  
Additionally you should post the configuration of the Collector Sidecar and the _generated_ configuration for Filebeat.

---

<div class="post-metadata">

**Author:** ![dgingerich](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@dgingerich](https://community.graylog.org/u/dgingerich)\
**Post date:** [October 24, 2017, 9:55pm UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910/3 "2017-10-24T21:55:20Z")

</div>

Sidecar config:

```auto
server_url: http://10.10.21.37:9000/api/
update_interval: 10
tls_skip_verify: false
send_status: true
list_log_files:
node_id: graylog-collector-sidecar
collector_id: file:/etc/graylog/collector-sidecar/collector-id
cache_path: /var/cache/graylog/collector-sidecar
log_path: /var/log/graylog/collector-sidecar
log_rotation_time: 86400
log_max_age: 604800
tags:
    - linux
backends:
    - name: nxlog
      enabled: false
      binary_path: /usr/bin/nxlog
      configuration_path: /etc/graylog/collector-sidecar/generated/nxlog.conf
    - name: filebeat
      enabled: true
      binary_path: /usr/bin/filebeat
      configuration_path: /etc/graylog/collector-sidecar/generated/filebeat.yml

```

Sidecar logs:

```auto
time="2017-10-24T10:08:11-06:00" level=info msg="Starting signal distributor"
time="2017-10-24T10:08:11-06:00" level=info msg="[filebeat] Starting (exec driver)"
time="2017-10-24T10:08:12-06:00" level=error msg="[filebeat] Backend finished unexpectedly, trying to restart 1/3."
time="2017-10-24T10:08:12-06:00" level=info msg="[filebeat] Stopping"
time="2017-10-24T10:08:14-06:00" level=info msg="[filebeat] Starting (exec driver)"
time="2017-10-24T10:08:15-06:00" level=error msg="[filebeat] Backend finished unexpectedly, trying to restart 2/3."
time="2017-10-24T10:08:15-06:00" level=info msg="[filebeat] Stopping"
time="2017-10-24T10:08:17-06:00" level=info msg="[filebeat] Starting (exec driver)"
time="2017-10-24T10:08:18-06:00" level=error msg="[filebeat] Backend finished unexpectedly, trying to restart 3/3."
time="2017-10-24T10:08:18-06:00" level=info msg="[filebeat] Stopping"
time="2017-10-24T10:08:20-06:00" level=info msg="[filebeat] Starting (exec driver)"
time="2017-10-24T10:08:21-06:00" level=info msg="[RequestConfiguration] No configuration found for configured tags!"
time="2017-10-24T10:08:21-06:00" level=error msg="[filebeat] Unable to start collector after 3 tries, giving up!"

```

I’m not sure where to find the config for Filebeat. Still looking.

---

<div class="post-metadata">

**Author:** ![dgingerich](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@dgingerich](https://community.graylog.org/u/dgingerich)\
**Post date:** [October 24, 2017, 10:14pm UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910/4 "2017-10-24T22:14:13Z")

</div>

There does not appear to be a filebeat configuration file. There is no filebeat folder in /etc.

---

<div class="post-metadata">

**Author:** ![dgingerich](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@dgingerich](https://community.graylog.org/u/dgingerich)\
**Post date:** [October 24, 2017, 10:26pm UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910/5 "2017-10-24T22:26:08Z")

</div>

I’ve done a search of the whole hard drive. There is no filebeat.yml file at all. This is probably why it isn’t working. Is there something extra I can to do to fix this?

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [October 25, 2017, 6:49am UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910/6 "2017-10-25T06:49:15Z")

</div>

> [@dgingerich](#):
>
> There does not appear to be a filebeat configuration file. There is no filebeat folder in /etc.

The Filebeat configuration file should be located at `/etc/graylog/collector-sidecar/generated/filebeat.yml` (as you can read in your Collector Sidecar configuration).  
If that file doesn’t exist, make sure that the Collector Sidecar is allowed to write into the given directory (`/etc/graylog/collector-sidecar/generated`).

---

<div class="post-metadata">

**Author:** ![dgingerich](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@dgingerich](https://community.graylog.org/u/dgingerich)\
**Post date:** [October 25, 2017, 1:54pm UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910/7 "2017-10-25T13:54:53Z")

</div>

Yeah, that folder is there and is writable, and the file isn’t there. Even trying on a full new VM, installing Ubuntu 16.04.2 and then the sidecar app, I get the same results: folder exists, filebeat.yml not there.

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [October 25, 2017, 2:37pm UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910/8 "2017-10-25T14:37:59Z")

</div>

> [@dgingerich](#):
>
> Yeah, that folder is there and is writable

What’s the output of the following command?

```plaintext
namei -l /etc/graylog/collector-sidecar/generated

```

> [@dgingerich](#):
>
> Even trying on a full new VM, installing Ubuntu 16.04.2 and then the sidecar app, I get the same results: folder exists, filebeat.yml not there.

Have you created a configuration with the tag “linux” in the Graylog web interface?  
[http://docs.graylog.org/en/2.3/pages/collector\_sidecar.html#step-by-step-guide](http://docs.graylog.org/en/2.3/pages/collector_sidecar.html#step-by-step-guide)

---

<div class="post-metadata">

**Author:** ![dgingerich](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@dgingerich](https://community.graylog.org/u/dgingerich)\
**Post date:** [October 25, 2017, 2:48pm UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910/9 "2017-10-25T14:48:25Z")

</div>

1. Here’s the response I get from that command:  
f: /etc/graylog/collector-sidecar/generated  
drwxr-xr-x root root /  
drwxr-xr-x root root etc  
drwxrwxr-x root root graylog  
drwxrwxr-x root root collector-sidecar  
drwxrwxr-x root root generated

2. No, I had not. I hadn’t been able to get the sidecar collector daemon to run, so I hadn’t moved on. Are you saying that it gets some of this local config from the server? That seems a bit counter-intuitive to me. I’ve created it now. We’ll see how it works.

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [October 25, 2017, 3:18pm UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910/10 "2017-10-25T15:18:03Z")

</div>

> [@dgingerich](#):
>
> Are you saying that it gets some of this local config from the server?

That’s the whole point of the Collector Sidecar: Enabling users to configure the log shippers on remote systems in the Graylog web interface.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [November 8, 2017, 3:18pm UTC](https://community.graylog.org/t/ubuntu-sidecar-installer-problems/2910/11 "2017-11-08T15:18:09Z")

</div>

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