# Kibana on Arch Linux: "NetworkError when attempting to fetch resource."

**URL:** <https://discuss.elastic.co/t/kibana-on-arch-linux-networkerror-when-attempting-to-fetch-resource/280413>\
**Category:** Kibana\
**Created:** [August 4, 2021, 10:39am UTC](https://discuss.elastic.co/t/kibana-on-arch-linux-networkerror-when-attempting-to-fetch-resource/280413 "2021-08-04T10:39:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian.rene](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@brian.rene](https://discuss.elastic.co/u/brian.rene)\
**Post date:** [August 4, 2021, 10:39am UTC](https://discuss.elastic.co/t/kibana-on-arch-linux-networkerror-when-attempting-to-fetch-resource/280413/1 "2021-08-04T10:39:54Z")

</div>

Hello everyone,

I have been tasked with setting up a self-hosted instance of ELK in a KVM environment using Arch Linux. The root filesystem is write-protected (at runtime) and any directories or files that services need to write to must therefor be sym-linked to another partition (/srv/ in this case). This is standard practice where I work and works well for other servies such as web-based applications and databases etc.

My problem is that, despite having followed the [installation and configuration guides](https://www.elastic.co/guide/en/elastic-stack/7.x/installing-elastic-stack.html), I am getting the following error when attempting to access Kibana. Multiple browsers tested - same result:

 ![firefox](https://us1.discourse-cdn.com/elastic/original/3X/8/a/8a621141a869859d3cda038fe68c82e968663e24.png)

I suspect that the error I'm seeing is very likely related to the write-protected root fs that my VM is confined to and I was wondering if anyone could perhaps suggest other directories or files (besides the ones mentioned below) that I should keep in mind...

Here is an overview of the various sym-links crated for Elasticsearch and Kibana:

- [Elasticsearch sym-links](https://pastebin.com/KGxph664)
- [Kibana sym-links](https://pastebin.com/GUuma3c9)

Here is the contents of my kibana.yml and elasticsearch.yml files:

- [kibana.yml](https://pastebin.com/SDGEctGV)
- [elasticsearch.yml](https://pastebin.com/PHsdctdh)

Here is [the output](https://pastebin.com/LndL6Efu) of "netstat -tunpl", which seems fine to me.

I also don't see anything unusual in "[/srv/kibana/log/kibana.log](https://pastebin.com/xpjYM6TT)" immediately after trying to access the web page.

Also, nothing seemingly out of the ordinary in "[/srv/elasticsearch/log/hekseldaja.log](https://pastebin.com/WB0P4GaD)".

In terms of systemd (journalctl) output I also don't see anything particularly unusual.

- [journalctl -u kibana](https://pastebin.com/9aqSLe8J)
- [journalctl -u elasticsearch](https://pastebin.com/QrbjUus0)

[elasticsearch](https://archlinux.org/packages/community/x86_64/elasticsearch/), [kibana](https://archlinux.org/packages/community/any/kibana/) and [jre8](https://archlinux.org/packages/extra/x86_64/jre8-openjdk-headless/) versions:

```auto
pacman -Q |grep elasticsearch
elasticsearch 7.10.1-1

pacman -Q |grep kibana
kibana 7.10.1-1

pacman -Q |grep jre
jre8-openjdk-headless 8.u292-1

```

[Output from a variety of (possibly) relevant curl commands](https://pastebin.com/0eJvYr9W) on the VM.

Thanks in advance for any helpful comments!

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [August 4, 2021, 11:37pm UTC](https://discuss.elastic.co/t/kibana-on-arch-linux-networkerror-when-attempting-to-fetch-resource/280413/2 "2021-08-04T23:37:07Z")

</div>

Does this help?

> **[Install Kibana | Kibana Guide \[7.14\] | Elastic](https://www.elastic.co/guide/en/kibana/current/install.html)**

CC @jbudz

Thanks,  
bhavya

---

<div class="post-metadata">

**Author:** ![brian.rene](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@brian.rene](https://discuss.elastic.co/u/brian.rene)\
**Post date:** [August 5, 2021, 8:25am UTC](https://discuss.elastic.co/t/kibana-on-arch-linux-networkerror-when-attempting-to-fetch-resource/280413/3 "2021-08-05T08:25:04Z")

</div>

Unfortunately not. I've been spending the past week or so going over the official install guides with no success.

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [August 5, 2021, 2:37pm UTC](https://discuss.elastic.co/t/kibana-on-arch-linux-networkerror-when-attempting-to-fetch-resource/280413/4 "2021-08-05T14:37:36Z")

</div>

Ok I have pinged our ops team for help.

Thanks  
Bhavya

---

<div class="post-metadata">

**Author:** ![brian.rene](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@brian.rene](https://discuss.elastic.co/u/brian.rene)\
**Post date:** [August 6, 2021, 8:07am UTC](https://discuss.elastic.co/t/kibana-on-arch-linux-networkerror-when-attempting-to-fetch-resource/280413/5 "2021-08-06T08:07:26Z")

</div>

@bhavyarm Thank you very much!

---

<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:** [September 3, 2021, 8:07am UTC](https://discuss.elastic.co/t/kibana-on-arch-linux-networkerror-when-attempting-to-fetch-resource/280413/6 "2021-09-03T08:07:32Z")

</div>

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